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

register gen schemas #316

Merged
merged 5 commits into from
Mar 11, 2022
Merged

register gen schemas #316

merged 5 commits into from
Mar 11, 2022

Conversation

ryanatkn
Copy link
Owner

@ryanatkn ryanatkn commented Mar 11, 2022

Currently, schema generation uses the default file resolution and tries to read from disk. We currently use schema refs with absolute paths like /schemas/Thing.json to ease composition as dependencies in other projects. This changes the default schema resolution to look through the schemas in memory, allowing schemas to reference each other with $ref: '/schemas/Thing.json'.

@ryanatkn ryanatkn merged commit c8e7910 into main Mar 11, 2022
@ryanatkn ryanatkn deleted the register-gen-schemas branch March 11, 2022 04:41
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