Hi Ron,

Yes I am asking about swagger-ui.
Our API calls are hosted at example.com but our server can't access 
example.com directly, it has to access through proxy
by using swaggerUi.api.setHost(...) I can change the API call host i.e 
example.com right?
If yes my question is how to tell swagger UI to use proxy to make API call 
hosted at example.com through proxy(proxy host and proxy port)..!


Thanks


On Friday, July 15, 2016 at 10:52:51 PM UTC+5:30, Ron wrote:
>
> Assuming you’re asking about swagger-ui, you can use 
> swaggerUi.api.setHost(...) to change the host of the API calls.
>
>  
>
>  
>
>  
>
> *From: *<[email protected] <javascript:>> on behalf of One 
> Solution <[email protected] <javascript:>>
> *Reply-To: *"[email protected] <javascript:>" <
> [email protected] <javascript:>>
> *Date: *Friday, 15 July 2016 at 09:37
> *To: *Swagger <[email protected] <javascript:>>
> *Subject: *How to add Proxy host and port to make Swagger Calls
>
>  
>
> Hello, 
>
>  
>
> Our server is not accessing direct internet thus using a proxy host/IP and 
> port to access API.
>
>  
>
> Please help me to add proxy host and port for every swagger try it out 
> calls...
>
>  
>
> Thanks
>
> -- 
> 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] <javascript:>.
> For more options, visit https://groups.google.com/d/optout.
>

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