josdejong/jsoneditor

Autocompletion: supporting self references

Open

#1.450 aberto em 7 de jul. de 2022

Ver no GitHub
 (1 comment) (0 reactions) (0 assignees)JavaScript (2.034 forks)batch import
bughelp wanted

Métricas do repositório

Stars
 (10.781 stars)
Métricas de merge de PR
 (Mesclagem média 15h 36m) (3 fundiu PRs em 30d)

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
    }

Guia do colaborador