swagger-api / swagger-api/swagger-ui

Swagger editor is not rendering the full YAML

Open
#10,634 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
29k
Forks
9.3k
Avg merge
2d 23h
Merged PRs (30d)
25

Description

I cant see beyond line number 812 in edge browser.

Q&A (please complete the following information)
  • OS: Windows 11 Enterprise
  • Browser: Edge
  • Version: 142.0.3595.53
  • Method of installation: Online - browser
  • Swagger-UI version: Swagger@5
  • Swagger/OpenAPI version: OpenAPI 3.0.4
Content & configuration

Nothing

Example Swagger/OpenAPI definition:
https://petstore3.swagger.io/api/v3/openapi.json

Describe the bug you're encountering

I copied the above content to editor & collapsed security schema section. then i unable to view the full content of the spec.

To reproduce...

Steps to reproduce the behavior:

  1. copy & paste the swagger 3.0 json file in the edito
  2. Collapse line number 815
  3. Try to scroll down
  4. You can go beyond line number 812
Expected behavior

I should be able to scroll down,till end of the file.

Screenshots
Image
Additional context or thoughts

Please check ctrl+a behavior.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source file or test is named. Reproduce the issue in Edge using the linked Petstore OpenAPI JSON, collapse the security schema around line 815, and test scrolling past line 812 and Ctrl+A; done means the full document remains reachable after collapsing sections.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.