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 9686d54 commit 7279f5eCopy full SHA for 7279f5e
templates/swift/base/params.twig
@@ -13,5 +13,13 @@
13
"{{ parameter.name }}": {{ parameter.name | caseCamel | escapeKeyword }}{% if not loop.last %},{% endif %}
14
15
{%~ endfor %}
16
+ {%~ if method.auth | length > 0 %}
17
+ {%~ for node in method.auth %}
18
+ {%~ for key,header in node | keys %}
19
+ "{{ header | caseLower }}" to client.config["{{ header | caseLower }}"]{% if not loop.last %},{% endif %}
20
+
21
+ {%~ endfor %}
22
23
+ {%~ endif %}
24
]
25
{%~ endif %}
0 commit comments