Forum Discussion

ap_32003's avatar
New Member
3 years ago

Regarding Swagger api timeout

Hello Community,


Our Api are not timing out even after not receiving response from another api for long time.

Is there any way to set time out for open api generated rest apis using swagger?

Can some one please help?


Best Regards,


1 Reply

  • Hi ap_32003 


    There isn't a standard way of adding timeout information to OpenAPI or Swagger tooling that I'm aware of.

    Which projects are you using in Swagger? There are a few, including swagger-codegen (and the different generators), swagger-editor, swagger-core, swagger-parser, etc.