File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
aws_lambda_powertools/event_handler/openapi Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 3
3
from dataclasses import dataclass
4
4
from typing import TYPE_CHECKING , Any
5
5
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
+ )
7
11
8
12
if TYPE_CHECKING :
9
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
65
69
version : str = DEFAULT_API_VERSION
66
70
openapi_version : str = DEFAULT_OPENAPI_VERSION
67
71
summary : str | None = None
You can’t perform that action at this time.
0 commit comments