Skip to content

Endpoint returning a JsonSchema makes the UI unresponsive #8046

@r00ta

Description

@r00ta

Q&A (please complete the following information)

  • OS: Linux **** 4.18.0-348.7.1.el8_5.x86_64 1 SMP Wed Dec 8 21:51:17 EST 2021 x86_64 x86_64 x86_64 GNU/Linux
  • Browser: chrome
  • Version: 97.0.4692.71 (Official Build) (64-bit)
  • Swagger-UI version: [e.g. 3.10.0]
  • Swagger/OpenAPI version: [e.g. Swagger 2.0, OpenAPI 3.0]

Content & configuration

The endpoint that cause the crash is /api/v1/schemas/api/v1/schemas/sources/{name}:

Example Swagger/OpenAPI definition:
https://pastebin.com/S6XXjeD3

Swagger-UI configuration options:

SwaggerUI({
  // your config options here
})
?yourQueryStringConfig

Describe the bug you're encountering

The UI becomes unresponsive

To reproduce...

Steps to reproduce the behavior:

  1. Go to the swagger ui
  2. Click on /api/v1/schemas/actions/{name}

Expected behavior

The options are loaded

Screenshots

Additional context or thoughts

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions