We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3580821 commit 88528d5Copy full SHA for 88528d5
aws_lambda_powertools/event_handler/api_gateway.py
@@ -680,7 +680,7 @@ def _get_openapi_path( # noqa PLR0912
680
model_name_map=model_name_map,
681
field_mapping=field_mapping,
682
)
683
-
+
684
# Preserve existing fields like examples, encoding, etc.
685
new_payload = {**payload} # Copy all existing fields
686
new_payload.update(model_payload) # Add/override with model schema
aws_lambda_powertools/event_handler/openapi/types.py
@@ -65,6 +65,7 @@
65
66
class OpenAPIResponseHeader(TypedDict, total=False):
67
"""OpenAPI Response Header Object"""
68
69
description: NotRequired[str]
70
schema: NotRequired[dict[str, Any]]
71
examples: NotRequired[dict[str, Any]]
0 commit comments