-
Notifications
You must be signed in to change notification settings - Fork 1.7k
IllegalArgumentException while resolving reference to reference with # #793
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
Comments
Does the basic_types.json that is alongside test.json have a property called |
No it is not a JSON Schema property but a JSON property, i.e:
By reading the docs that seems to be a valid alternative for structuring complex schemas. |
My minimal example generates valid code though. The |
the same happens when trying to generate the schemas from oci: https://github.com/tianon/oci-runtime-spec/tree/master/schema |
A simplified reproducible case would be:
Referencing schema:
Looks like #322 would fix this (though given PR does not conform to contribution rules) |
Thanks for the minimal example @unkish, that helped a lot 😃 |
Hi,
I am having troubles to generate POJOS for a JSON schema that contains a reference with pound (#). E.g.
I am using recently installed CLI with Brew under Mac OS X.
Here is the complete trace:
Thanks!
The text was updated successfully, but these errors were encountered: