diff --git a/aws_lambda_powertools/event_handler/api_gateway.py b/aws_lambda_powertools/event_handler/api_gateway.py index 88ba6ec8f8f..4c8204bdc5c 100644 --- a/aws_lambda_powertools/event_handler/api_gateway.py +++ b/aws_lambda_powertools/event_handler/api_gateway.py @@ -1827,7 +1827,7 @@ def get_openapi_schema( The title of the application. version: str The version of the OpenAPI document (which is distinct from the OpenAPI Specification version or the API - openapi_version: str, default = "3.0.0" + openapi_version: str, default = "3.1.0" The version of the OpenAPI Specification (which the document uses). summary: str, optional A short summary of what the application does. @@ -2041,7 +2041,7 @@ def get_openapi_json_schema( The title of the application. version: str The version of the OpenAPI document (which is distinct from the OpenAPI Specification version or the API - openapi_version: str, default = "3.0.0" + openapi_version: str, default = "3.1.0" The version of the OpenAPI Specification (which the document uses). summary: str, optional A short summary of what the application does. @@ -2124,7 +2124,7 @@ def configure_openapi( The title of the application. version: str The version of the OpenAPI document (which is distinct from the OpenAPI Specification version or the API - openapi_version: str, default = "3.0.0" + openapi_version: str, default = "3.1.0" The version of the OpenAPI Specification (which the document uses). summary: str, optional A short summary of what the application does. @@ -2218,7 +2218,7 @@ def enable_swagger( The title of the application. version: str The version of the OpenAPI document (which is distinct from the OpenAPI Specification version or the API - openapi_version: str, default = "3.0.0" + openapi_version: str, default = "3.1.0" The version of the OpenAPI Specification (which the document uses). summary: str, optional A short summary of what the application does. diff --git a/aws_lambda_powertools/event_handler/openapi/config.py b/aws_lambda_powertools/event_handler/openapi/config.py index 83fe2156a57..387388a88d2 100644 --- a/aws_lambda_powertools/event_handler/openapi/config.py +++ b/aws_lambda_powertools/event_handler/openapi/config.py @@ -32,7 +32,7 @@ class OpenAPIConfig: The title of the application. version: str The version of the OpenAPI document (which is distinct from the OpenAPI Specification version or the API - openapi_version: str, default = "3.0.0" + openapi_version: str, default = "3.1.0" The version of the OpenAPI Specification (which the document uses). summary: str, optional A short summary of what the application does.