josdejong/jsoneditor

Autocompletion: supporting self references

Open

#1,450 opened on 2022年7月7日

GitHub で見る
 (1 comment) (0 reactions) (0 assignees)JavaScript (2,034 forks)batch import
bughelp wanted

Repository metrics

Stars
 (10,781 stars)
PR merge metrics
 (平均マージ 15h 36m) (30d で 3 merged PRs)

説明

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
    }

コントリビューターガイド