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