Skip to content

Commit 1ec44b6

Browse files
committed
chore: add param descriptions
1 parent 6e603a8 commit 1ec44b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/web/src/services/template.ts.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export class {{ service.name | caseUcfirst }} {
3232
{%~ endif %}
3333
*
3434
{%~ for parameter in method.parameters.all %}
35-
* @param {{ '{' }}{{ parameter | getPropertyType(method) | raw }}{{ '}' }} {{ parameter.name | caseCamel | escapeKeyword }}
35+
* @param {{ '{' }}{{ parameter | getPropertyType(method) | raw }}{{ '}' }} {{ parameter.name | caseCamel | escapeKeyword }} - {{ parameter.description }}
3636
{%~ endfor %}
3737
* @throws {{ '{' }}{{ spec.title | caseUcfirst}}Exception}
3838
* @returns {{ '{' }}{{ method | getReturn(spec) | raw }}{{ '}' }}

0 commit comments

Comments
 (0)