The document for the auto-generated java client 
(https://github.com/swagger-api/swagger-codegen/tree/master/samples/client/petstore/java/retrofit2rx)
 
mentions:
"It's recommended to create an instance of ApiClient per thread in a 
multithreaded environment to avoid any potential issue"

Does this mean there will be one thread and one dedicated tcp connection 
per request?
Won't this make the client in-efficient? Also this means there is no 
advantage of using http/2 protocol in the client.
Appreciate any inputs regarding this.

Thanks
Suri

-- 
You received this message because you are subscribed to the Google Groups 
"Swagger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to