openapi-typescript-codegen icon indicating copy to clipboard operation
openapi-typescript-codegen copied to clipboard

Support for a `timeout` option in the config

Open pattrickrice opened this issue 2 years ago • 0 comments

Describe the solution you'd like Hi! First off, the library is awesome!

I'd generally like the ability to specify a default timeout for the generated client similar to what axios provides as mentioned in https://github.com/ferdikoomen/openapi-typescript-codegen/issues/942. IMO I like that this library uses fetch not axios, so it would be nice to make this available without the additional dependency.

pattrickrice avatar May 02 '22 19:05 pattrickrice