Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

JsonPointer fragment doesn't work for subfragments #196

Open
VisualBean opened this issue Oct 21, 2024 · 0 comments
Open

JsonPointer fragment doesn't work for subfragments #196

VisualBean opened this issue Oct 21, 2024 · 0 comments

Comments

@VisualBean
Copy link
Collaborator

Given a components of

messages:
  MyMessage:
    payload:
      type: object
      properties:
        id:
          type: string

A reference to #/components/messsage/MyMessage/payload should find the right fragment, according to the json-pointer RFC.
However this was never implemented, as we only look up components directly, not sub fragments. (mainly due to the typed nature and the amount of maps that would have to exists to make this possible)

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

No branches or pull requests

1 participant