-
-
Notifications
You must be signed in to change notification settings - Fork 136
Open
Labels
area/schemaIndicates an issue on schema areaIndicates an issue on schema areakind/enhancementkind/missing-implementation
Description
Is the 'anyOf' keyword supported? It doesn't appear to work.
See here for the full spec example.
Following is an excerpt of the relevant part. Notice that the healthSigns and animalType objects do not appear in the final parse result.
PetCreatePartTwo:
type: object
x-model: PetCreatePartTwo
properties:
position:
$ref: "#/components/schemas/Position"
healthy:
type: boolean
healthSigns:
type: array
items:
anyOf:
- $ref: '#/components/schemas/FreshBreath'
- $ref: '#/components/schemas/ShinyCoat'
- $ref: '#/components/schemas/EyesBright'
animalType:
oneOf:
- $ref: '#/components/schemas/MammalDetails'
- $ref: '#/components/schemas/AvianDetails'
pbasista and sarangsbabu367
Metadata
Metadata
Assignees
Labels
area/schemaIndicates an issue on schema areaIndicates an issue on schema areakind/enhancementkind/missing-implementation