Closed fjd-anh closed 6 months ago
We use the Parser to bundle a JSON Schema. In this process references to definitions in $defs get encoded to %24defs.
$defs
%24defs
Example: before bundling
"signature": { "$ref": "#/$defs/signature" },
after bundling
"signature": { "$ref": "#/properties/contentStructure/%24defs/signature" },
Unfortunately, the code generator won't eat the %24, so we have to uneconde it manually.
%24
Is there a chance to avoid the encoding?
Note the notice in the readme file. https://github.com/APIDevTools/json-schema-ref-parser/issues/285
I dont believe this is happening anymore on latest - let me know with an example if it is
We use the Parser to bundle a JSON Schema. In this process references to definitions in
$defs
get encoded to%24defs
.Example: before bundling
after bundling
Unfortunately, the code generator won't eat the
%24
, so we have to uneconde it manually.Is there a chance to avoid the encoding?