Skip to content

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

Open
jgroth wants to merge 1 commit intofuhrysteve:masterfrom
Lundalogik:handle-any-of
Open

feat(validation): add anyOf validator for ContainsOnly#96
jgroth wants to merge 1 commit intofuhrysteve:masterfrom
Lundalogik:handle-any-of

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