-
Notifications
You must be signed in to change notification settings - Fork 45
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
schema.expand_references! doesn't support external URI's #46
Comments
Hey, i also have problems with $ref. Not sure if the same but i will describe it there instead of opening new issue. I have big hyper-schema JSON generated from few smaller with PRMD gem (thx. @geemus).
expand_references! will throw me errors about it cant find my pointers URI. Great gem btw! |
Hey guys, thanks for the comments! First of all, would you mind checking out #22 and see if it helps your problem at all? The basic idea here is that the gem doesn't try to dereference complex |
Liking this gem a lot for testing, and possibility client api support but .... only supporting schema-relative URI's in $ref's seems to a limitation not defined by the spec. Since my schema passes validation with external URI's then I guess its valid to use them?
Anyway, would be great if json_schema wasn't so restrictive in its $ref dereferencing.
The text was updated successfully, but these errors were encountered: