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

Move to OpenAPI 3.1 #3772

Open
karol-kokoszka opened this issue Mar 28, 2024 · 2 comments
Open

Move to OpenAPI 3.1 #3772

karol-kokoszka opened this issue Mar 28, 2024 · 2 comments

Comments

@karol-kokoszka
Copy link
Collaborator

Scylla manager uses code generators to create scylla , scylla-manager-agent, scylla-manager Go clients.
The code is generated out of https://github.com/scylladb/scylla-manager/tree/master/swagger

Specification that is defined here is in Swagger 2.0

"swagger": "2.0",

Clients are generated here https://github.com/scylladb/scylla-manager/blob/master/swagger/Makefile

The reason for that change is the default encoding that happens on parameters.
Alternator allows to use special characters in column names - current client is escaping these characters.

#3754

Goal
Update specifications to use OpenAPI 3.1.
Validate the tools that can be used to generate clients out of OpenAPI 3.1.
Generate new clients.
Update references in Scylla-Manager to use new clients.

@karol-kokoszka
Copy link
Collaborator Author

This issue is triggered by the following problem #3754

@tzach
Copy link
Collaborator

tzach commented Apr 5, 2024

Similar issue on Scylla Core scylladb/scylladb#18028

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants