swagger-api/swagger-codegen

[Ruby] Add support for Faraday (HTTP lib)

开放

#3,270 创建于 2016年7月1日

 (1 条评论) (0 个反应) (0 位负责人)HTML (5,474 个派生)batch import
Client: RubyEnhancement: Featurehelp wanted

仓库指标

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

描述

Description

Currently, Ruby API client has a dependency on Typhoeus (HTTP lib).

We want to add support for Faraday to provide more flexibility in choosing what HTTP lib to use in the Ruby API client.

Swagger-Codegen version

Current master (Jul 1, 2016)

Suggest a solution

Similar to Java, we can use the -l/--library option to specify faraday and implement the api_client.rb with faraday so that users can choose which one they want to use.

If anyone from the community wants to contribute on this, please reply to let us know. Thanks

贡献者指南