Skip to content

Support 3.1 vocabulary for applying subschemas #25

Description

@charjr

Vocabulary can be found here: https://json-schema.org/draft/2020-12/json-schema-core#section-10

Keywords such as if, which are not present in the 3.0 vocabulary, are left untouched as arrays.

To support 3.1 these keywords should be turned into Schema objects.

Since OpenAPI 3.0 only supports custom keywords that are prefixed with "x-" I think it should be safe to support these keywords without breaking backwards compatibility.

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