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

Generated OpenAPI has version 3.0.1 even though internally we use 3.1 #459

Open
lukashornych opened this issue Feb 7, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@lukashornych
Copy link
Collaborator

Generated OpenAPI YAML/JSON has version 3.0.1 even though we use 3.1 for building io.evitadb.externalApi.rest.api.builder.RestBuildingContext#buildOpenApi. We also use 3.1 for serializing into YAML/JSON io.evitadb.externalApi.rest.api.resolver.endpoint.OpenApiSpecificationHandler.

There is no mention of 3.0.1 in the code. We need to either switch to 3.0.1 (maybe more desirable, not many tools support 3.1 apparently), or fix the correct version propagation into final documents.

@lukashornych lukashornych self-assigned this Feb 7, 2024
@lukashornych lukashornych added the bug Something isn't working label Feb 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant