-
Notifications
You must be signed in to change notification settings - Fork 150
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
$ref does not work recursively #155
Labels
Comments
the following log was created:
So only one unresolved reference was logged (which is correct) |
MatthiasPichler
pushed a commit
to MatthiasPichler/jsonschema2md
that referenced
this issue
Jul 26, 2019
…nce within an object A $ref is not correctly resolved when nested within objects deeper than depth 2. Go recursively over any object properties that are themselves objects to look for a $ref. fix adobe#155
MatthiasPichler
pushed a commit
to MatthiasPichler/jsonschema2md
that referenced
this issue
Jul 26, 2019
I just opened #156 to fix this |
trieloff
pushed a commit
that referenced
this issue
Jul 29, 2019
## [3.0.1](v3.0.0...v3.0.1) (2019-07-29) ### Bug Fixes * **schema.js:** fix $ref not being resolved when nested deeper than once within an object ([6eb73c3](6eb73c3)), closes [#155](#155)
🎉 This issue has been resolved in version 3.0.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What did you do
I tried to generate markdown files for the schemata below by running
npx jsonschema2md -d ./schemas -o ./out
What did you expect to happen
That all references were resolved to the second schema.
What happened
Only references on the first and second level were resolved.
What's your environment
Do you have example files:
For these schemata:
./schemas/core.schema.json
./schemas/ext.schema.json
I'm getting following Markdown
# Schema
https://example.org/core
The text was updated successfully, but these errors were encountered: