@@ -62,6 +62,10 @@ public static function resolverAugmentCases(): iterable
6262 'reflectionvalue ' => '{ "example": true, "nullable": true, "property": "reflectionValue" } ' ,
6363 'legacy:intersectionvar ' => '{ "property": "intersectionVar" } ' ,
6464 'type-info:intersectionvar ' => '{ "allOf": [ { "$ref": "#/components/schemas/FirstInterface" }, { "$ref": "#/components/schemas/SecondInterface" } ], "property": "intersectionVar" } ' ,
65+ 'legacy:nestedoneof ' => '{ "property": "nestedOneOf" } ' ,
66+ 'type-info:nestedoneof ' => '{ "oneOf": [ { "type": "array", "items": { "$ref": "#/components/schemas/DocblockAndTypehintTypes" } }, { "type": "array", "items": { "type": "string" } } ], "property": "nestedOneOf" } ' ,
67+ 'legacy:nestedoneofwithitems ' => '{ "type": "array", "items": { "oneOf": [ { "$ref": "#/components/schemas/DocblockAndTypehintTypes" }, { "type": "string" } ] }, "property": "nestedOneOfWithItems" } ' ,
68+ 'type-info:nestedoneofwithitems ' => '{ "type": "array", "items": { "oneOf": [ { "$ref": "#/components/schemas/DocblockAndTypehintTypes" }, { "type": "string" } ] }, "property": "nestedOneOfWithItems" } ' ,
6569 ],
6670 OA \OpenApi::VERSION_3_1_0 => [
6771 'nothing ' => '{ "property": "nothing" } ' ,
@@ -104,6 +108,10 @@ public static function resolverAugmentCases(): iterable
104108 'type-info:reflectionvalue ' => '{ "type": [ "boolean", "integer", "null" ], "example": true, "property": "reflectionValue" } ' ,
105109 'legacy:intersectionvar ' => '{ "property": "intersectionVar" } ' ,
106110 'type-info:intersectionvar ' => '{ "allOf": [ { "$ref": "#/components/schemas/FirstInterface" }, { "$ref": "#/components/schemas/SecondInterface" } ], "property": "intersectionVar" } ' ,
111+ 'legacy:nestedoneof ' => '{ "property": "nestedOneOf" } ' ,
112+ 'type-info:nestedoneof ' => '{ "oneOf": [ { "type": "array", "items": { "$ref": "#/components/schemas/DocblockAndTypehintTypes" } }, { "type": "array", "items": { "type": "string" } } ], "property": "nestedOneOf" } ' ,
113+ 'legacy:nestedoneofwithitems ' => '{ "type": "array", "items": { "oneOf": [ { "$ref": "#/components/schemas/DocblockAndTypehintTypes" }, { "type": "string" } ] }, "property": "nestedOneOfWithItems" } ' ,
114+ 'type-info:nestedoneofwithitems ' => '{ "type": "array", "items": { "oneOf": [ { "$ref": "#/components/schemas/DocblockAndTypehintTypes" }, { "type": "string" } ] }, "property": "nestedOneOfWithItems" } ' ,
107115 ],
108116 ];
109117
0 commit comments