We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c62eab2 commit 6a30901Copy full SHA for 6a30901
aws_lambda_powertools/event_handler/openapi/config.py
@@ -3,7 +3,11 @@
3
from dataclasses import dataclass
4
from typing import TYPE_CHECKING, Any
5
6
-from aws_lambda_powertools.event_handler.openapi.constants import DEFAULT_API_VERSION, DEFAULT_OPENAPI_VERSION
+from aws_lambda_powertools.event_handler.openapi.constants import (
7
+ DEFAULT_API_VERSION,
8
+ DEFAULT_OPENAPI_TITLE,
9
+ DEFAULT_OPENAPI_VERSION,
10
+)
11
12
if TYPE_CHECKING:
13
from aws_lambda_powertools.event_handler.openapi.models import (
@@ -61,7 +65,7 @@ class OpenAPIConfig:
61
65
... )
62
66
"""
63
67
64
- title: str = "Powertools for AWS Lambda (Python) API"
68
+ title: str = DEFAULT_OPENAPI_TITLE
69
version: str = DEFAULT_API_VERSION
70
openapi_version: str = DEFAULT_OPENAPI_VERSION
71
summary: str | None = None
0 commit comments