Forum Discussion

ap_32003's avatar
ap_32003
New Member
4 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,

AP

  • 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.