Skip to content

Add support for $anchor #222

@lordpixel23

Description

@lordpixel23

JSON Schema now includes a mechanism to simplify references as described in Section 9.2 of 2020-12 draft.

https://json-schema.org/draft/2020-12/json-schema-core.html#rfc.section.9.2

Basically defining named anchors and referring to them rather than using JSON pointer.

Currently this does not work, returning (in Swagger CLI at least) printing
Invalid $ref pointer "fn". Pointers must begin with "#/"

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