Skip to content

Allow anyOf with an enum (to indicate "a value in this enum or a plain string") to still render the enum #2412

Description

@jamietanna

i.e.

      anyOf:
        - type: string
        - type: string
          enum:
            - rootly
            - manual
            - api
            - heartbeat
            # ...

Will resolve as only being a string.

Ideally we would keep this being a string, but still generate enums

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