Skip to content

fix(openapi/spec): convert allOf, oneOf and anyOf to slices#116

Open
jharrisonSV wants to merge 1 commit intowI2L:masterfrom
jharrisonSV:master
Open

fix(openapi/spec): convert allOf, oneOf and anyOf to slices#116
jharrisonSV wants to merge 1 commit intowI2L:masterfrom
jharrisonSV:master

Conversation

@jharrisonSV
Copy link

As per the spec https://json-schema.org/draft/2020-12/json-schema-core#section-10.2.1.1, allOf, oneOf and anyOf must be non-empty arrays.

Closes #109.

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.

Are Schema's anyOf/allOf/oneOf incorrectly typed?

1 participant