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 helper #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

travisbrown
Copy link
Member

This is a demonstration of a helper function that takes a collection of schemas and resolves $refs in them to produce a single Json value representing a fully-resolved schema. It's likely to need some refinement but shows the basic approach.

(Note that much of the logic is just dealing with resource paths.)

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

Successfully merging this pull request may close these issues.

1 participant