3.30.1 breaks path tags (endpoints don’t expand)
See original GitHub issueQ&A (please complete the following information)
- OS: macOS
- Browser: Chrome
- Version: 84.0.4147.89
- Method of installation: SwaggerUIBundle from unpkg
- Swagger-UI version: 3.30.1
- Swagger/OpenAPI version: OpenAPI 3.0.2
Content & configuration
Example Swagger/OpenAPI definition: example.yml
Swagger-UI configuration options:
SwaggerUIBundle({
url: "openapi",
dom_id: "#api-explorer",
presets: [
SwaggerUIBundle.presets.apis,
SwaggerUIBundle.SwaggerUIStandalonePreset
],
})
Describe the bug you’re encountering
When opening a path that is in a tag “group”, it disappears and then reappears underneath the default
tag.
This is a regression in 3.30.1; I temporarily set my unpkg URL to 3.30.0
(https://unpkg.com/swagger-ui-dist@3.30.0/swagger-ui-bundle.js) and the behavior no longer happens. I set it back to 3
to get the latest version and it started happening again.
To reproduce…
Steps to reproduce the behavior:
- Go to a path in a tag “group”
- Click on the path item
- See error: the path item will disappear and reappear further down the page under a new
default
tag group. - The path item under the
default
tag will sit and spin.
Expected behavior
The path item should open in place.
Screenshots
Issue Analytics
- State:
- Created 3 years ago
- Reactions:58
- Comments:11 (2 by maintainers)
Top Results From Across the Web
SwaggerUI Bug recently popped up - TMS XData - TMS Support ...
3.30.1 breaks path tags (endpoints don't expand) ... Swagger-UI version: 3.30.1 Swagger/OpenAPI version: OpenAPI 3.0.2 Content & configuration Example.
Read more >Step 7: The tags object (OpenAPI tutorial) | Documenting APIs
The tags object allows you to arrange the paths (endpoints) into named groups in the Swagger UI display. Defining tags at the root...
Read more >Container vulnerability scanning - trivy - Sourcegraph handbook
It breaks down a container image into components and alerts on components with CVEs. We scan our container images for Critical and High...
Read more >ns-3 Tutorial
We don't want this tutorial to devolve into a C++ tutorial, though, so we do expect a basic command of the language.
Read more >Bug listing with status RESOLVED with resolution TEST ...
... for Gimp don't get loaded" status:RESOLVED resolution:TEST-REQUEST severity:major · Bug:20607 - "Using ipv6 USE flag with ucspi-tcp-0.88-r5 breaks ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
New release to resolve this issue, v3.30.2
@tim-lai, jsDelivr appears to still be serving 3.30.1 for version 3. Is this going to update automatically or does it require action on Swagger’s part?