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

Add $ref resolution to JSON schemas #347

Open
naz opened this issue Sep 30, 2020 · 0 comments
Open

Add $ref resolution to JSON schemas #347

naz opened this issue Sep 30, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@naz
Copy link
Member

naz commented Sep 30, 2020

Problem

admin-api-schema's get() method returns raw json schemas without resolving definitions used in $ref. This makes get method hardly usable if somebody needs to see whole schema (for example when used in documentation). More on this read this comment.

Solution

One of possible solutions could be adding $ref resolution through package like ref-parser. But more research should be done into use-cases and other solutions first

@naz naz added the enhancement New feature or request label Sep 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant