-
Notifications
You must be signed in to change notification settings - Fork 172
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
No subschema in "anyOf" matched #223
Comments
+1 |
Running into this problem as well. |
Sorry to hear. I tried a bit to sort this out, but was having a little trouble reproducing. Could you share the full schema and command you are using so I can have that to work from? Thanks! |
I created a very simple repository to reproduce the issue: https://github.com/smoak/prmd-test |
@smoak thanks, hopefully I'll be able to pin it down a bit easier from that. |
That did, indeed, make it easier. That fix should do what you need (at least it seems to work with your test setup). Let me know if that looks good for you and I can cut a release. Thanks! |
Yep! That seems to fix it. Thanks! |
Thanks for confirming. Released in 0.7.4 |
Just updated to prmd 0.7.1 from 0.7.0 and getting this error with no changes to my schema:
docs/schema/schema.json: #/definitions/email/definitions/identity: failed schema #/definitions/resource/dependencies/properties/definitions/properties/identity: No subschema in "anyOf" matched.
My email definition is like so:
Reverting back to 0.7.0 fixes the problem. The problem also occurs with 0.7.2 and 0.7.3.
The text was updated successfully, but these errors were encountered: