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

Switch to OpenAPI #12

Open
qwerty01 opened this issue Jul 29, 2023 · 1 comment
Open

Switch to OpenAPI #12

qwerty01 opened this issue Jul 29, 2023 · 1 comment

Comments

@qwerty01
Copy link
Owner

The new beatsaver has an OpenAPI specification. I've tried it out a little already and it's mostly correct but needs a few changes, such as removing the Tag enum, and a lot of required fields are marked as optional, such as map version, map version hash, etc.

The rust openapi generator generates all the api calls too, so this would limit us to tokio as a runtime instead of supporting async-std too.

@qwerty01
Copy link
Owner Author

qwerty01 commented Aug 3, 2023

I'm not 100% sure when I'll get around to writing a user-friendly wrapper around the openapi interface, but I set up a generated openapi repository at beatsaver-openapi

@qwerty01 qwerty01 closed this as completed Aug 3, 2023
@qwerty01 qwerty01 reopened this Aug 3, 2023
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

No branches or pull requests

1 participant