josdejong/jsoneditor

Autocompletion: supporting self references

Open

#1 450 ouverte le 7 juil. 2022

Voir sur GitHub
 (1 commentaire) (0 réactions) (0 assignés)JavaScript (10 781 stars) (2 034 forks)batch import
bughelp wanted

Description

Hi,

Look like self references are not supported by the schema autocompletion feature. For example, on self key in the example below:

   {
        "type": "object",
        "properties": {
            "self": {
                "$ref": "#"
            },
            "bar": {
                "type": "string",
                "enum": [
                    "A",
                    "B"
                ]
            }
        },
        "additionalProperties": false
    }

Guide contributeur