Discriminator with AllOf without Mapping
GET/discriminator-allof
Schema:
type: object
discriminator:
propertyName: type
properties:
type:
type: string
allOf:
- oneOf:
- $ref: '#/components/schemas/TypeA'
- $ref: '#/components/schemas/TypeB'
- type: object
properties:
sharedProp:
type: string
Responses
- 200
Successful response