Skip to content

Validate that oneOf/anyOf has a discriminator defined #806

@frederikstonge

Description

@frederikstonge

Add a rule to force oneOf and anyOf to define a discriminator.

https://swagger.io/docs/specification/v3_0/data-models/inheritance-and-polymorphism/

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