swagger-api / swagger-api/swagger-ui
Swagger UI hangs when dealing with stripe OAS3 spec
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 29k
- Forks
- 9.3k
- Avg merge
- 2d 23h
- Merged PRs (30d)
- 25
Description
Q&A (please complete the following information)
- OS: macOS
- Browser: chrome, firefox
- Method of installation: dist and tryswagger online
- Swagger-UI version: v3.25.4
- Swagger/OpenAPI version: OpenAPI 3.0
Content & configuration
spec:
https://github.com/stripe/openapi/blob/master/openapi/spec3.yaml
Describe the bug you're encountering
Spec loads in doc collapsed mode, but clicking on any method, causes swagger ui to hang. In firefox a out of memory error is present in the console.
To reproduce...
Load linked spec
Expected behavior
Spec loads and works
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
Start by loading Stripe's linked OpenAPI 3 spec in Swagger UI v3.25.4 using the dist build or Try Swagger, then expand a method in Chrome or Firefox and inspect the resulting hang or out-of-memory error. No source file or test is named in the issue; done means the linked spec can be expanded and used without hanging or exhausting memory.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100