typescript-json-schema icon indicating copy to clipboard operation
typescript-json-schema copied to clipboard

Definition URIs should be URI Encoded

Open shellscape opened this issue 3 years ago • 1 comments

As can be seen here; https://github.com/everit-org/json-schema/issues/386 The # symbol in the key values in a schema such like:

                "params": {
                    "$ref": "#/definitions/Record<string,string|string[]>"
                },

should be URI Encoded, as should the rest of the string.

shellscape avatar Aug 15 '22 18:08 shellscape

you can try add option aliasRef:true

JerrysShan avatar Apr 03 '23 09:04 JerrysShan