biocad / openapi3

OpenAPI 3.0 data model
BSD 3-Clause "New" or "Revised" License
39 stars 54 forks source link

add anyOf case to validateSchemaType #87

Open paolino opened 10 months ago

paolino commented 10 months ago

I added a new case to the validating function so that anyOf is supported which is a simpler case of oneOf where any positive number of branches should validate to validate (and solved the issues from previous PR I deleted by mistake, https://github.com/biocad/openapi3/pull/46)

paolino commented 9 months ago

I wonder if you had chance to take a look on this PR @maksbotan ? Thanks!