swagger-api/swagger-codegen

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

オープン

#6,120 opened on 2017/07/19

 (3 件のコメント) (0 件のリアクション) (0 人の担当者)HTML (5,474 件のフォーク)batch import
Client: PythonEnhancement: FeatureGeneral: Questionhelp wanted

Repository metrics

Stars
 (12,701 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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

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