Skip to content

Commit acdd3d1

Browse files
committed
Add test model to baseline OpenAPI specs
1 parent 5cfe4e1 commit acdd3d1

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
@@ -2549,6 +2549,15 @@
25492549
}
25502550
}
25512551
},
2552+
"AModelWithOptionalPropertyRefAndDefaultValue": {
2553+
"type": "object",
2554+
"properties": {
2555+
"enum_property_ref": {
2556+
"$ref": "#/components/schemas/AnEnum",
2557+
"default": "FIRST_VALUE"
2558+
}
2559+
}
2560+
},
25522561
"ModelWithDateTimeProperty": {
25532562
"type": "object",
25542563
"properties": {

end_to_end_tests/baseline_openapi_3.1.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2541,6 +2541,15 @@ info:
25412541
}
25422542
}
25432543
},
2544+
"AModelWithOptionalPropertyRefAndDefaultValue": {
2545+
"type": "object",
2546+
"properties": {
2547+
"enum_property_ref": {
2548+
"$ref": "#/components/schemas/AnEnum",
2549+
"default": "FIRST_VALUE"
2550+
}
2551+
}
2552+
},
25442553
"ModelWithDateTimeProperty": {
25452554
"type": "object",
25462555
"properties": {

0 commit comments

Comments
 (0)