swagger-api/swagger-codegen

[Ruby] Add support for Faraday (HTTP lib)

Open

#3 270 ouverte le 1 juil. 2016

Voir sur GitHub
 (1 commentaire) (0 réactions) (0 assignés)HTML (5 474 forks)batch import
Client: RubyEnhancement: Featurehelp wanted

Métriques du dépôt

Stars
 (12 701 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

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

Guide contributeur