Skip to content

Commit 1b65c5d

Browse files
committed
Add test model to baseline OpenAPI specs
1 parent 1c36f88 commit 1b65c5d

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

end_to_end_tests/baseline_openapi_3.0.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2563,6 +2563,15 @@
25632563
}
25642564
}
25652565
},
2566+
"AModelWithOptionalPropertyRefAndDefaultValue": {
2567+
"type": "object",
2568+
"properties": {
2569+
"enum_property_ref": {
2570+
"$ref": "#/components/schemas/AnEnum",
2571+
"default": "FIRST_VALUE"
2572+
}
2573+
}
2574+
},
25662575
"ModelWithDateTimeProperty": {
25672576
"type": "object",
25682577
"properties": {

end_to_end_tests/baseline_openapi_3.1.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2555,6 +2555,15 @@ info:
25552555
}
25562556
}
25572557
},
2558+
"AModelWithOptionalPropertyRefAndDefaultValue": {
2559+
"type": "object",
2560+
"properties": {
2561+
"enum_property_ref": {
2562+
"$ref": "#/components/schemas/AnEnum",
2563+
"default": "FIRST_VALUE"
2564+
}
2565+
}
2566+
},
25582567
"ModelWithDateTimeProperty": {
25592568
"type": "object",
25602569
"properties": {

0 commit comments

Comments
 (0)