Skip to content

Commit 9203aff

Browse files
committed
Add a nullable date property
1 parent 3ca219c commit 9203aff

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

end_to_end_tests/openapi.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -622,7 +622,7 @@
622622
"schemas": {
623623
"AModel": {
624624
"title": "AModel",
625-
"required": ["an_enum_value", "aCamelDateTime", "a_date", "required_nullable", "required_not_nullable"],
625+
"required": ["an_enum_value", "aCamelDateTime", "a_date", "a_nullable_date", "required_nullable", "required_not_nullable"],
626626
"type": "object",
627627
"properties": {
628628
"an_enum_value": {
@@ -657,6 +657,12 @@
657657
"type": "string",
658658
"format": "date"
659659
},
660+
"a_nullable_date": {
661+
"title": "A Nullable Date",
662+
"type": "string",
663+
"format": "date",
664+
"nullable": true
665+
},
660666
"1_leading_digit": {
661667
"title": "Leading Digit",
662668
"type": "string"

0 commit comments

Comments
 (0)