APIDevTools / json-schema-ref-parser

Parse, Resolve, and Dereference JSON Schema $ref pointers in Node and browsers
https://apitools.dev/json-schema-ref-parser
MIT License
942 stars 226 forks source link

not enough timeout to request a large schema #353

Closed aylarionov closed 4 weeks ago

aylarionov commented 1 month ago

When loading a schema from swagger there is a fixed timeout of 5000 milliseconds, is there any way to increase this or add the ability to reset the value? I have a large schema and it takes about 8 seconds to load, and now I have to change the timeout value myself to get it to work.

jonluca commented 4 weeks ago

Changed to 60s in v11.7.0