Skip to content

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

@haringsrob

Description

@haringsrob

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions