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

[Bug]: Generated openapi schema has validation errors #2329

Open
haringsrob opened this issue Feb 20, 2025 · 1 comment
Open

[Bug]: Generated openapi schema has validation errors #2329

haringsrob opened this issue Feb 20, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@haringsrob
Copy link
Contributor

Steps to reproduce

On the server head to /openapi.json on the host path.

Actual behaviour

There is a v3.1.0 openapi schema. But when building an sdk with https://github.com/OpenAPITools/openapi-generator the resulting code (in my case rust) various validation errors occur.

Also opening it in https://editor-next.swagger.io/ shows various validation issues.

Image

Expected behaviour

The api should validate without issues so that sdk's can be generated.

dstack version

0.18.42

Server logs

Additional information

No response

@haringsrob haringsrob added the bug Something isn't working label Feb 20, 2025
@haringsrob
Copy link
Contributor Author

You can also see errors on the https://dstack.ai/docs/reference/api/rest/ page when you open up the following for example:

(scroll up after opening)

Image

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