Skip to content

Commit 8ab4f38

Browse files
committed
Rollback touched file
1 parent fcecfdc commit 8ab4f38

1 file changed

Lines changed: 15 additions & 1 deletion

File tree

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

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,20 @@ components:
209209
properties:
210210
length:
211211
type: integer
212+
Animal:
213+
oneOf:
214+
- $ref: '#/components/schemas/Dog'
215+
- $ref: '#/components/schemas/Cat'
216+
Cat:
217+
type: object
218+
properties:
219+
declawed:
220+
type: boolean
221+
Dog:
222+
type: object
223+
properties:
224+
bark:
225+
type: boolean
212226

213227
requestBodies:
214228
Foo:
@@ -235,4 +249,4 @@ components:
235249
schema:
236250
type: array
237251
items:
238-
$ref: '#/components/schemas/FooRefOrValue'
252+
$ref: '#/components/schemas/FooRefOrValue'

0 commit comments

Comments
 (0)