mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-08 05:26:08 +00:00
rename debugging variables (#7422)
This commit is contained in:
@@ -173,13 +173,13 @@ module {{moduleName}}
|
||||
{{/formParams}}
|
||||
|
||||
# http body (model)
|
||||
post_body = opts[:body] {{#bodyParam}}|| @api_client.object_to_http_body({{#required}}{{{paramName}}}{{/required}}{{^required}}opts[:'{{{paramName}}}']{{/required}}) {{/bodyParam}}
|
||||
post_body = opts[:debug_body]{{#bodyParam}} || @api_client.object_to_http_body({{#required}}{{{paramName}}}{{/required}}{{^required}}opts[:'{{{paramName}}}']{{/required}}){{/bodyParam}}
|
||||
|
||||
# return_type
|
||||
return_type = opts[:return_type] {{#returnType}}|| '{{{returnType}}}' {{/returnType}}
|
||||
return_type = opts[:debug_return_type]{{#returnType}} || '{{{returnType}}}'{{/returnType}}
|
||||
|
||||
# auth_names
|
||||
auth_names = opts[:auth_names] || [{{#authMethods}}'{{name}}'{{#hasMore}}, {{/hasMore}}{{/authMethods}}]
|
||||
auth_names = opts[:debug_auth_names] || [{{#authMethods}}'{{name}}'{{#hasMore}}, {{/hasMore}}{{/authMethods}}]
|
||||
|
||||
new_options = opts.merge(
|
||||
:header_params => header_params,
|
||||
|
||||
Reference in New Issue
Block a user