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

Add example instead of new schemas #327

Merged
merged 1 commit into from
Apr 8, 2024

Conversation

tors42
Copy link
Contributor

@tors42 tors42 commented Apr 7, 2024

Schemas User.yaml and Title.yaml already allows for bot values,
so adding BotUser.yaml and BotTitle.yaml is "duplication".

This Pull Request reuses existing schemas,
and adds an example which uses the BOT title,
to be shown as the example for the "Get online bots" endpoint,
(and can possibly be reused in other places where a bot user is desired)

Relates: #326

@fitztrev fitztrev merged commit 404b73b into lichess-org:master Apr 8, 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