We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ecc7c23 commit 7484916Copy full SHA for 7484916
templates/ruby/base/requests/api.twig
@@ -5,7 +5,7 @@
5
params: api_params,
6
{%~ if method.type == "webAuth" %}
7
response_type: "location"
8
- {%~ elseif method.responseModel is defined and method.responseModel != 'any' %}
+ {%~ elseif method.responseModel and method.responseModel != 'any' %}
9
response_type: Models::{{ method.responseModel | caseUcfirst }}
10
{%~ endif %}
11
)
0 commit comments