APIDevTools / swagger-parser

Swagger 2.0 and OpenAPI 3.0 parser/validator
https://apitools.dev/swagger-parser
MIT License
1.08k stars 153 forks source link

Online validator is becoming unresponsive #221

Closed ashishsanodia-harness closed 11 months ago

ashishsanodia-harness commented 2 years ago

Hi , I was trying to online validate openapi specification downloaded from here https://harness.io/docs/api/ . But online swagger-parser is becoming unresponsive forever.

255kb commented 1 year ago

I noticed this too using the dereference methods of the library, with some OAS files, two examples:

Everything was working fine with v10.0.3, but since v10.1.0 it's taking forever (like 30mn or even hours for Stripe).

sarike commented 1 year ago

@255kb

If you are using yarn, add below code in your package.json can resolve this issue.

  "resolutions": {
    "@apidevtools/json-schema-ref-parser": "9.0.7"
  },