How to use Proxy server for Swagger-UI Try it out calls

634 views
Skip to first unread message

Vijay

unread,
Jul 26, 2016, 5:26:38 AM7/26/16
to Swagger
Hi,

Using Swagger-UI, We need to make calls to APIs that are hosted on different servers.
Based on certain actions, we change the host name dynamically using swaggerUi.api.setHost() method.

But my server is not having direct internet connectivity to access other servers where APIs are hosted.
We need to use Proxy server to connect to internet.

Can someone please let me know how to use Proxy server in Swagger-UI calls?

Thanks,
Vijay

tony tam

unread,
Jul 28, 2016, 1:22:52 AM7/28/16
to swagger-sw...@googlegroups.com
Isn’t that something that is configured on the browser directly?

--
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 swagger-swaggers...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Vijay

unread,
Aug 3, 2016, 9:31:36 AM8/3/16
to Swagger
You are right. I missed the simple logic that browser uses its own proxy and not the server's proxy.

Thanks,
Vijay
To unsubscribe from this group and stop receiving emails from it, send an email to swagger-swaggersocket+unsub...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages