Skip to content
This repository was archived by the owner on Mar 23, 2026. It is now read-only.

Commit 2b405dc

Browse files
authored
Handle null value in SES OpenAPI spec (#11954)
1 parent be61d50 commit 2b405dc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

localstack-core/localstack/openapi.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ components:
158158
additionalProperties: false
159159
properties:
160160
html_part:
161-
type: string
161+
type: [string, 'null']
162162
text_part:
163163
type: string
164164
required:

localstack-core/localstack/services/ses/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55

66
class SentEmailBody(TypedDict):
7-
html_part: str
7+
html_part: str | None
88
text_part: str
99

1010

0 commit comments

Comments
 (0)