swagger-api/swagger-codegen

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

开放

#6,120 创建于 2017年7月19日

 (3 条评论) (0 个反应) (0 位负责人)HTML (5,474 个派生)batch import
Client: PythonEnhancement: FeatureGeneral: Questionhelp wanted

仓库指标

星标
 (12,701 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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

贡献者指南