vertx-starter
vertx-starter copied to clipboard
Types modelled with inheritance are not generated with inheritance
Example OpenAPI YAML:
components:
schemas:
EventBase:
type: object
discriminator:
propertyName: eventType
properties:
eventType:
type: string
name:
type: string
id:
format: int32
type: integer
FlightEvent:
allOf:
- $ref: '#/components/schemas/EventBase'
- type: object
properties:
mission:
type: string
I would expect that EventBase would be a POJO class and that FlightEvent would extend that class.
I'd assigned @slinkydeveloper as he's the OpenAPI expert :wink: