Skip to content

Commit 519f329

Browse files
Adjusts oneOf_array test to ensure that it is generated as an interface instead of being simplified
1 parent 99f63e8 commit 519f329

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

modules/openapi-generator/src/test/resources/3_0/oneOf_array.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ paths:
1515
- type: array
1616
items:
1717
"$ref": "#/components/schemas/OneOf1"
18+
- type: object
19+
schema:
20+
"$ref": "#/components/schemas/OneOf1"
1821
components:
1922
schemas:
2023
OneOf1:

0 commit comments

Comments
 (0)