-
-
Notifications
You must be signed in to change notification settings - Fork 238
Closed
Labels
✨ enhancementNew feature or improvementNew feature or improvement🍭 OpenAPI ComplianceSupporting a new bit of the OpenAPI specSupporting a new bit of the OpenAPI spec
Description
Is your feature request related to a problem? Please describe.
When an endpoint returns oneOf
several different classes, currently it returns an empty object. Sample component snippet:
ReturnedObject:
oneOf:
- $ref: '#/components/schemas/PolymorphicType'
- $ref: '#/components/schemas/AnotherPolymorphicType'
Describe the solution you'd like
Support discriminators to be able to deserialize polymorphic types.
bodikp and mtovts
Metadata
Metadata
Assignees
Labels
✨ enhancementNew feature or improvementNew feature or improvement🍭 OpenAPI ComplianceSupporting a new bit of the OpenAPI specSupporting a new bit of the OpenAPI spec