forked from loafle/openapi-generator-original
set follow_location default to true
This commit is contained in:
parent
7b1795a159
commit
2abdd3acb7
@ -49,7 +49,7 @@
|
|||||||
header_params = @default_headers.merge(opts[:header_params] || {})
|
header_params = @default_headers.merge(opts[:header_params] || {})
|
||||||
query_params = opts[:query_params] || {}
|
query_params = opts[:query_params] || {}
|
||||||
form_params = opts[:form_params] || {}
|
form_params = opts[:form_params] || {}
|
||||||
follow_location = opts[:follow_location] || false
|
follow_location = opts[:follow_location] || true
|
||||||
|
|
||||||
{{#hasAuthMethods}}
|
{{#hasAuthMethods}}
|
||||||
update_params_for_auth! header_params, query_params, opts[:auth_names]
|
update_params_for_auth! header_params, query_params, opts[:auth_names]
|
||||||
|
@ -93,7 +93,7 @@ module Petstore
|
|||||||
header_params = @default_headers.merge(opts[:header_params] || {})
|
header_params = @default_headers.merge(opts[:header_params] || {})
|
||||||
query_params = opts[:query_params] || {}
|
query_params = opts[:query_params] || {}
|
||||||
form_params = opts[:form_params] || {}
|
form_params = opts[:form_params] || {}
|
||||||
follow_location = opts[:follow_location] || false
|
follow_location = opts[:follow_location] || true
|
||||||
|
|
||||||
update_params_for_auth! header_params, query_params, opts[:auth_names]
|
update_params_for_auth! header_params, query_params, opts[:auth_names]
|
||||||
|
|
||||||
|
@ -93,7 +93,7 @@ module XAuthIDAlias
|
|||||||
header_params = @default_headers.merge(opts[:header_params] || {})
|
header_params = @default_headers.merge(opts[:header_params] || {})
|
||||||
query_params = opts[:query_params] || {}
|
query_params = opts[:query_params] || {}
|
||||||
form_params = opts[:form_params] || {}
|
form_params = opts[:form_params] || {}
|
||||||
follow_location = opts[:follow_location] || false
|
follow_location = opts[:follow_location] || true
|
||||||
|
|
||||||
update_params_for_auth! header_params, query_params, opts[:auth_names]
|
update_params_for_auth! header_params, query_params, opts[:auth_names]
|
||||||
|
|
||||||
|
@ -93,7 +93,7 @@ module DynamicServers
|
|||||||
header_params = @default_headers.merge(opts[:header_params] || {})
|
header_params = @default_headers.merge(opts[:header_params] || {})
|
||||||
query_params = opts[:query_params] || {}
|
query_params = opts[:query_params] || {}
|
||||||
form_params = opts[:form_params] || {}
|
form_params = opts[:form_params] || {}
|
||||||
follow_location = opts[:follow_location] || false
|
follow_location = opts[:follow_location] || true
|
||||||
|
|
||||||
|
|
||||||
# set ssl_verifyhosts option based on @config.verify_ssl_host (true/false)
|
# set ssl_verifyhosts option based on @config.verify_ssl_host (true/false)
|
||||||
|
@ -93,7 +93,7 @@ module Petstore
|
|||||||
header_params = @default_headers.merge(opts[:header_params] || {})
|
header_params = @default_headers.merge(opts[:header_params] || {})
|
||||||
query_params = opts[:query_params] || {}
|
query_params = opts[:query_params] || {}
|
||||||
form_params = opts[:form_params] || {}
|
form_params = opts[:form_params] || {}
|
||||||
follow_location = opts[:follow_location] || false
|
follow_location = opts[:follow_location] || true
|
||||||
|
|
||||||
|
|
||||||
# set ssl_verifyhosts option based on @config.verify_ssl_host (true/false)
|
# set ssl_verifyhosts option based on @config.verify_ssl_host (true/false)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user