swagger-api/swagger-codegen

is there an option to specify proxy in the request api?

Open

#6,120 opened on 2017年7月19日

GitHub で見る
 (3 comments) (0 reactions) (0 assignees)HTML (12,701 stars) (5,474 forks)batch import
Client: PythonEnhancement: FeatureGeneral: Questionhelp wanted

説明

Description

I'm looking for a way to specify proxy server address in the request api thru the api_client. for example i use below option to call the request api.

requests.get(url,headers=headers,proxies='proxy-wsa.esl.cico.com:80')

is there a similar option in the api_client to add this ?

Swagger-codegen version

2.2.2

-l python.

Steps to reproduce

happens when you'r host is behind a proxy server and you need to pass on the proxy server address

コントリビューターガイド

is there an option to specify proxy in the request api? · swagger-api/swagger-codegen#6120 | Good First Issue