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

support anyOf in json schema #687

Merged
merged 1 commit into from
Nov 21, 2024
Merged

support anyOf in json schema #687

merged 1 commit into from
Nov 21, 2024

Conversation

petar-cvit
Copy link
Collaborator

Add support for anyOf in JSON schema. Since there are multiple options for an anyOf, Cyclops looks for the one that has a type boolean because it's the easiest input form. If there are multiple boolean options, Cyclops takes the first one. If there are none, Cyclops takes the first definition from the anyOf

@petar-cvit petar-cvit self-assigned this Nov 20, 2024
@petar-cvit petar-cvit requested a review from a team as a code owner November 20, 2024 19:46
@petar-cvit petar-cvit merged commit 782b7a8 into main Nov 21, 2024
1 check passed
@petar-cvit petar-cvit deleted the json-schema-any-of branch November 21, 2024 10:59
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.

1 participant