From 3b05e0d8d4354215ff1b6020cc2e0c73a3353053 Mon Sep 17 00:00:00 2001 From: victorperezpiqueras <47613476+victorperezpiqueras@users.noreply.github.com> Date: Wed, 12 Nov 2025 11:40:32 +0100 Subject: [PATCH 1/2] docs(openapi): Update docstring's default openapi version Signed-off-by: victorperezpiqueras <47613476+victorperezpiqueras@users.noreply.github.com> --- aws_lambda_powertools/event_handler/api_gateway.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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. From 162b1628036388b03706f21e59ac8a38f7a9cf70 Mon Sep 17 00:00:00 2001 From: victorperezpiqueras <47613476+victorperezpiqueras@users.noreply.github.com> Date: Wed, 12 Nov 2025 11:41:09 +0100 Subject: [PATCH 2/2] docs(openapi): Update docstring's default openapi version Signed-off-by: victorperezpiqueras <47613476+victorperezpiqueras@users.noreply.github.com> --- aws_lambda_powertools/event_handler/openapi/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.