Skip to content

Commit bf2b9c9

Browse files
author
Constantinos Symeonides
committed
test: allOf should work without "type": "object"
1 parent b719316 commit bf2b9c9

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

end_to_end_tests/openapi.json

-4
Original file line numberDiff line numberDiff line change
@@ -874,7 +874,6 @@
874874
"nullable": true
875875
},
876876
"model": {
877-
"type": "object",
878877
"allOf": [
879878
{
880879
"ref": "#/components/schemas/ModelWithUnionProperty"
@@ -883,7 +882,6 @@
883882
"nullable": false
884883
},
885884
"nullable_model": {
886-
"type": "object",
887885
"allOf": [
888886
{
889887
"ref": "#/components/schemas/ModelWithUnionProperty"
@@ -892,7 +890,6 @@
892890
"nullable": true
893891
},
894892
"not_required_model": {
895-
"type": "object",
896893
"allOf": [
897894
{
898895
"ref": "#/components/schemas/ModelWithUnionProperty"
@@ -901,7 +898,6 @@
901898
"nullable": false
902899
},
903900
"not_required_nullable_model": {
904-
"type": "object",
905901
"allOf": [
906902
{
907903
"ref": "#/components/schemas/ModelWithUnionProperty"

0 commit comments

Comments
 (0)