Ask a Question

Regarding Swagger api timeout

ap_32003
New Member

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

1 REPLY 1
ponelat
Staff

Re: Regarding Swagger api timeout

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.

cancel
Showing results for 
Search instead for 
Did you mean: