issues
search
tlivings
/
enjoi
Converts a JSON schema to a Joi schema.
Apache License 2.0
282
stars
57
forks
source link
allow allOf/anyOf/oneOf to be combined with a base schema
#104
Closed
nlundquist
closed
3 years ago
nlundquist
commented
3 years ago
build schemas for allOf/anyOf/oneOf and combine with base schema if present. resolves #102
during allOf handling use
alternatives.match('all')
instead of
concat
matches against all schemas instead of merging the schemas
.match('all')
matches the behavior of JSONSchema allOf.
update additionalProperties handling to match JSONSchema spec. resolves #103
update related tests, add a new test.
alternatives.match('all')
instead ofconcat
.match('all')
matches the behavior of JSONSchema allOf.