Skip to content

Commit

Permalink
Add support for gzip decompressing in Ruby gem
Browse files Browse the repository at this point in the history
  • Loading branch information
dhughes committed Mar 25, 2023
1 parent f6bc606 commit 3982c5b
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ module {{moduleName}}
@host = "{{{basePath}}}"
@user_agent = "{{#httpUserAgent}}{{{.}}}{{/httpUserAgent}}{{^httpUserAgent}}Swagger-Codegen/#{VERSION}/ruby{{/httpUserAgent}}"
set_config(config)
Excon.defaults[:middlewares].push(Excon::Middleware::Decompress)
end

def self.default
Expand Down

0 comments on commit 3982c5b

Please sign in to comment.