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

Use oneOf for Broadcast Round form schema mutually exclusive properties #389

Merged
merged 1 commit into from
Oct 13, 2024

Conversation

fitztrev
Copy link
Member

Only one of syncUrl, syncUrls, or syncIds can be used so this updates the OpenAPI schema to represent that.

Rendered in redocly as:

image

@fitztrev fitztrev changed the title Use oneOf for Broadcast form schema mutually exclusive properties Use oneOf for Broadcast Round form schema mutually exclusive properties Oct 13, 2024
@ornicar ornicar merged commit dff33ae into lichess-org:master Oct 13, 2024
1 check passed
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