Skip to content

[Bug]: REST API Documentation Page Hangs and Shows Resolver Errors #2430

@movchan74

Description

@movchan74

Steps to reproduce

When accessing the run endpoints in the API reference documentation, the page takes an unusually long time to load and, upon scrolling, displays a resolver error related to the JSON schema.

  1. Navigate to the REST API Documentation.
  2. Click on the /api/runs/list endpoint.
  3. Wait for the page to load (it eventually loads, but very slowly).
  4. Scroll up on the page.
  5. Notice the error messages like this:
    Resolver error at responses.200.content.application/json.schema.items.$ref

Actual behaviour

  • The page hangs and loads very slowly.
  • Upon scrolling up, the following error messages appear:
    Resolver error at responses.200.content.application/json.schema.items.$ref

Expected behaviour

  • The documentation should load promptly.
  • The endpoint details should render correctly without any errors.

dstack version

Server logs

Additional information

Browser: Firefox 136

Metadata

Metadata

Assignees

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