Skip to content

type can be an array #2

@not-my-profile

Description

@not-my-profile

See https://datatracker.ietf.org/doc/html/draft-bhutton-json-schema-01#name-assertions-and-instance-pri.

E.g. the following is a valid OpenAPI 3.1 schema object:

{
    "type": ["string", "null"],
    "maxLength": 255
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions