Skip to content
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

feat(validation): add anyOf validator for ContainsOnly #96

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jgroth
Copy link

@jgroth jgroth commented Oct 9, 2019

Just like the OneOf validator, the ContainsOnly validator can be used to generate a JSON schema that validates a list of items. This PR adds the anyOf property to the schema if it is using the ContainsOnly validator on a list of items

@coveralls
Copy link

coveralls commented Oct 9, 2019

Coverage Status

Coverage increased (+0.04%) to 99.187% when pulling 5f6cc1f on Lundalogik:handle-any-of into c032d1a on fuhrysteve:master.

@jgroth
Copy link
Author

jgroth commented Feb 22, 2021

Ping @fuhrysteve
I have rebased this on master, it would be great to get this merged it's been a PR for a while now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants