Skip to content

Commit 8def535

Browse files
docs(openapi): Update docstring's openapi default version to match current default version (#7669)
* docs(openapi): Update docstring's default openapi version Signed-off-by: victorperezpiqueras <47613476+victorperezpiqueras@users.noreply.github.com> * docs(openapi): Update docstring's default openapi version Signed-off-by: victorperezpiqueras <47613476+victorperezpiqueras@users.noreply.github.com> --------- Signed-off-by: victorperezpiqueras <47613476+victorperezpiqueras@users.noreply.github.com>
1 parent cb7bc2b commit 8def535

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

aws_lambda_powertools/event_handler/api_gateway.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1827,7 +1827,7 @@ def get_openapi_schema(
18271827
The title of the application.
18281828
version: str
18291829
The version of the OpenAPI document (which is distinct from the OpenAPI Specification version or the API
1830-
openapi_version: str, default = "3.0.0"
1830+
openapi_version: str, default = "3.1.0"
18311831
The version of the OpenAPI Specification (which the document uses).
18321832
summary: str, optional
18331833
A short summary of what the application does.
@@ -2041,7 +2041,7 @@ def get_openapi_json_schema(
20412041
The title of the application.
20422042
version: str
20432043
The version of the OpenAPI document (which is distinct from the OpenAPI Specification version or the API
2044-
openapi_version: str, default = "3.0.0"
2044+
openapi_version: str, default = "3.1.0"
20452045
The version of the OpenAPI Specification (which the document uses).
20462046
summary: str, optional
20472047
A short summary of what the application does.
@@ -2124,7 +2124,7 @@ def configure_openapi(
21242124
The title of the application.
21252125
version: str
21262126
The version of the OpenAPI document (which is distinct from the OpenAPI Specification version or the API
2127-
openapi_version: str, default = "3.0.0"
2127+
openapi_version: str, default = "3.1.0"
21282128
The version of the OpenAPI Specification (which the document uses).
21292129
summary: str, optional
21302130
A short summary of what the application does.
@@ -2218,7 +2218,7 @@ def enable_swagger(
22182218
The title of the application.
22192219
version: str
22202220
The version of the OpenAPI document (which is distinct from the OpenAPI Specification version or the API
2221-
openapi_version: str, default = "3.0.0"
2221+
openapi_version: str, default = "3.1.0"
22222222
The version of the OpenAPI Specification (which the document uses).
22232223
summary: str, optional
22242224
A short summary of what the application does.

aws_lambda_powertools/event_handler/openapi/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class OpenAPIConfig:
3232
The title of the application.
3333
version: str
3434
The version of the OpenAPI document (which is distinct from the OpenAPI Specification version or the API
35-
openapi_version: str, default = "3.0.0"
35+
openapi_version: str, default = "3.1.0"
3636
The version of the OpenAPI Specification (which the document uses).
3737
summary: str, optional
3838
A short summary of what the application does.

0 commit comments

Comments
 (0)