Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Urlencoding of $defs #262

Closed
fjd-anh opened this issue May 18, 2022 · 2 comments
Closed

Urlencoding of $defs #262

fjd-anh opened this issue May 18, 2022 · 2 comments

Comments

@fjd-anh
Copy link

fjd-anh commented May 18, 2022

We use the Parser to bundle a JSON Schema. In this process references to definitions in $defs get encoded to %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.

Is there a chance to avoid the encoding?

@JonasGroeger
Copy link

Note the notice in the readme file. #285

@jonluca
Copy link
Collaborator

jonluca commented Mar 6, 2024

I dont believe this is happening anymore on latest - let me know with an example if it is

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants