Skip to content

Migrating doesn't change definitions in references #112

@mikethecalamity

Description

@mikethecalamity

The migration changes definitions to $def at the top, but it does not change the references.

draft-04

{
    "type": "array",
    "items": { "$ref": "#/definitions/positiveInteger" },
    "definitions": {
        "positiveInteger": {
            "type": "integer",
            "exclusiveMinimum": 0
        }
    }
}

migration to draft-2019-09

{
    "type": "array",
    "items": { "$ref": "#/definitions/positiveInteger" },  #wrong
    "$defs": {
        "positiveInteger": {
            "type": "integer",
            "exclusiveMinimum": 0
        }
    }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions