Skip to content

Commit adc9961

Browse files
committed
Fix forced string parameters
1 parent 0df8d70 commit adc9961

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

templates/http/docs/example.md.twig

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@ Host: {{ spec.host }}
1818
{% if method.parameters.body %}
1919
{
2020
{% for parameter in method.parameters.body %}
21-
"{{ parameter.name }}": "{{ parameter | paramExample }}"{% if not loop.last %},{% endif %}
22-
21+
"{{ parameter.name }}": {{ parameter | paramExample }}{% if not loop.last %},{% endif ~%}
2322
{% endfor %}
2423
}
2524
{% endif %}

0 commit comments

Comments
 (0)