File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 12
12
{%~ endfor %}
13
13
};
14
14
15
- var headers = new Dictionary<string , string >()
15
+ var apiHeaders = new Dictionary<string , string >()
16
16
{
17
17
{%~ for key , header in method .headers %}
18
18
{ "{{ key }}", "{{ header }}" }{% if not loop .last %},{% endif %}
Original file line number Diff line number Diff line change 2
2
return _client.Call{% if method .type != ' webAuth' %}< {{ utils.resultType (spec .title , method ) }}>{% endif %}(
3
3
method: "{{ method .method | caseUpper }}",
4
4
path: apiPath,
5
- headers: headers ,
5
+ headers: apiHeaders ,
6
6
{%~ if not method .responseModel %}
7
7
parameters: parameters.Where(it => it.Value != null).ToDictionary(it => it.Key, it => it.Value)!);
8
8
{%~ else %}
Original file line number Diff line number Diff line change 8
8
9
9
return _client.ChunkedUpload(
10
10
apiPath,
11
- headers ,
11
+ apiHeaders ,
12
12
parameters,
13
13
{%~ if method .responseModel %}
14
14
Convert,
Original file line number Diff line number Diff line change 1
1
return _client.Call<byte []>(
2
2
method: "{{ method .method | caseUpper }}",
3
3
path: apiPath,
4
- headers: headers ,
4
+ headers: apiHeaders ,
5
5
parameters: parameters.Where(it => it.Value != null).ToDictionary(it => it.Key, it => it.Value)!);
You can’t perform that action at this time.
0 commit comments