We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Faraday 2.x is released: lostisland/faraday#1358
Based on the UPGRADING guide, we need to make changes to the following files:
Relax Faraday dependency and add s.add_runtime_dependency 'faraday-multipart'
s.add_runtime_dependency 'faraday-multipart'
openapi-generator/modules/openapi-generator/src/main/resources/ruby-client/gemspec.mustache
Lines 22 to 24 in 510f799
Add require 'faraday/multipart' if Gem::Version.new(Faraday::VERSION) >= Gem::Version.new('2.0')
require 'faraday/multipart' if Gem::Version.new(Faraday::VERSION) >= Gem::Version.new('2.0')
openapi-generator/modules/openapi-generator/src/main/resources/ruby-client/api_client.mustache
Lines 13 to 15 in 510f799
Handle basic_auth like this to support both Faraday 1.x and 2.x.
openapi-generator/modules/openapi-generator/src/main/resources/ruby-client/api_client_faraday_partial.mustache
Line 16 in 510f799
I'm going to work on this if no one has already started.
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Is your feature request related to a problem? Please describe.
Faraday 2.x is released: lostisland/faraday#1358
Describe the solution you'd like
Based on the UPGRADING guide, we need to make changes to the following files:
gemspec.mustache
Relax Faraday dependency and add
s.add_runtime_dependency 'faraday-multipart'
openapi-generator/modules/openapi-generator/src/main/resources/ruby-client/gemspec.mustache
Lines 22 to 24 in 510f799
api_client.mustache
Add
require 'faraday/multipart' if Gem::Version.new(Faraday::VERSION) >= Gem::Version.new('2.0')
openapi-generator/modules/openapi-generator/src/main/resources/ruby-client/api_client.mustache
Lines 13 to 15 in 510f799
api_client_faraday_partial.mustache
Handle basic_auth like this to support both Faraday 1.x and 2.x.
openapi-generator/modules/openapi-generator/src/main/resources/ruby-client/api_client_faraday_partial.mustache
Line 16 in 510f799
I'm going to work on this if no one has already started.
The text was updated successfully, but these errors were encountered: