You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
nested sibling references causes error Path not present: definitions only on https://www.jsonschema2pojo.org/, local is fine #1237
I have a json schema that has nested references in the "definitions" property. What I mean is that I have one property defined say "PropertyA" then a second property is defined called "PropertyB" which references "PropertyA"
I saw a few posts online about using an absolute path but this is in the exact same file so nothing I could do there. Also I opened a stackoverflow question. https://stackoverflow.com/posts/67050796/edit
changed the title [-]nested sibling references causes error `Path not present: definitions`[/-][+]nested sibling references causes error `Path not present: definitions` only on https://www.jsonschema2pojo.org/, local is fine[/+]on Apr 12, 2021
Thanks for reporting this. This is very similar to #793 but from the website we use a way of providing the schema as a string and refs are resolved a little differently.
We will have to release 1.1.1 and update the website to use it, but this should be fixed on the website soon.
Activity
[-]nested sibling references causes error `Path not present: definitions`[/-][+]nested sibling references causes error `Path not present: definitions` only on https://www.jsonschema2pojo.org/, local is fine[/+]joelittlejohn commentedon Apr 12, 2021
Thanks for reporting this. This is very similar to #793 but from the website we use a way of providing the schema as a string and refs are resolved a little differently.
We will have to release 1.1.1 and update the website to use it, but this should be fixed on the website soon.
Ensure outermost document is used when resolving refs within a string…