Skip to content

Feature Request: support Open API's discriminator for discriminated union types #3702

Open
@mbylstra

Description

@mbylstra

Open API supports discriminated union types (like oneOf, but the types narrow depending on the discriminator, which is usually a set of strings or an enum)

This is really helpful for generating type safe polymorphic APIs.

more info: https://apidog.com/blog/openapi-discriminator-guide/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions