Skip to content

Commit 6a30901

Browse files
Addressing Andrea's feedback
1 parent c62eab2 commit 6a30901

File tree

1 file changed

+6
-2
lines changed
  • aws_lambda_powertools/event_handler/openapi

1 file changed

+6
-2
lines changed

aws_lambda_powertools/event_handler/openapi/config.py

+6-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,11 @@
33
from dataclasses import dataclass
44
from typing import TYPE_CHECKING, Any
55

6-
from aws_lambda_powertools.event_handler.openapi.constants import DEFAULT_API_VERSION, DEFAULT_OPENAPI_VERSION
6+
from aws_lambda_powertools.event_handler.openapi.constants import (
7+
DEFAULT_API_VERSION,
8+
DEFAULT_OPENAPI_TITLE,
9+
DEFAULT_OPENAPI_VERSION,
10+
)
711

812
if TYPE_CHECKING:
913
from aws_lambda_powertools.event_handler.openapi.models import (
@@ -61,7 +65,7 @@ class OpenAPIConfig:
6165
... )
6266
"""
6367

64-
title: str = "Powertools for AWS Lambda (Python) API"
68+
title: str = DEFAULT_OPENAPI_TITLE
6569
version: str = DEFAULT_API_VERSION
6670
openapi_version: str = DEFAULT_OPENAPI_VERSION
6771
summary: str | None = None

0 commit comments

Comments
 (0)