rename debugging variables (#7422)

This commit is contained in:
William Cheng
2020-09-15 21:25:52 +08:00
committed by GitHub
parent c44865279a
commit c04d9cd59a
15 changed files with 237 additions and 237 deletions

View File

@@ -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,