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 f914f26 commit 94ceb50Copy full SHA for 94ceb50
samples/server-generator/node/templates/api.mustache
@@ -24,7 +24,7 @@ exports.{{nickname}} = {
24
"notes" : "{{{notes}}}",
25
"summary" : "{{{summary}}}",
26
"method": "{{httpMethod}}",
27
- "params" : [{{#queryParams}}
+ "parameters" : [{{#queryParams}}
28
params.query("{{paramName}}", "{{description}}", "{{swaggerDataType}}", {{required}}, {{allowMultiple}}, "{{{allowableValues}}}"{{#defaultValue}}, {{{defaultValue}}}{{/defaultValue}}){{#hasMore}},{{/hasMore}}
29
{{/queryParams}}].concat([{{#pathParams}}
30
params.path("{{paramName}}", "{{description}}"){{#hasMore}},{{/hasMore}}
0 commit comments