swagger-api / swagger-api/swagger-ui
Swagger editor is not rendering the full YAML
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:
- copy & paste the swagger 3.0 json file in the edito
- Collapse line number 815
- Try to scroll down
- You can go beyond line number 812
Expected behavior
I should be able to scroll down,till end of the file.
Screenshots
Additional context or thoughts
Please check ctrl+a behavior.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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