swagger-api / swagger-api/swagger-ui

Swagger UI hangs when dealing with stripe OAS3 spec

Open
#6,035 2 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

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

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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.