Skip to content

Commit 8f31d40

Browse files
committed
Implement changes from PR reviews
1 parent f96ce3e commit 8f31d40

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

templates/swift/base/params.twig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,13 @@
1515
{% endif %}
1616
{% for parameter in method.parameters.query | merge(method.parameters.body) %}
1717
"{{ parameter.name }}": {% if parameter.isGlobal %}self.{% endif %}{{ parameter.name | caseCamel | escapeKeyword }}{% if not loop.last or _self.methodNeedsSecurityParameters(method) %},{% endif %}
18+
1819
{% endfor %}
1920
{% if _self.methodNeedsSecurityParameters(method) %}
2021
{% for node in method.security %}
2122
{% for key,header in node|keys %}
2223
"{{header|caseLower}}": client.config["{{header|caseLower}}"]{% if not loop.last %},{% endif %}
24+
2325
{% endfor %}
2426
{% endfor %}
2527
{% endif %}

0 commit comments

Comments
 (0)