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 1212 {%~ endfor %}
1313 };
1414
15- var headers = new Dictionary<string , string >()
15+ var apiHeaders = new Dictionary<string , string >()
1616 {
1717 {%~ for key , header in method .headers %}
1818 { "{{ key }}", "{{ header }}" }{% if not loop .last %},{% endif %}
Original file line number Diff line number Diff line change 22 return _client.Call{% if method .type != ' webAuth' %}< {{ utils.resultType (spec .title , method ) }}>{% endif %}(
33 method: "{{ method .method | caseUpper }}",
44 path: apiPath,
5- headers: headers ,
5+ headers: apiHeaders ,
66 {%~ if not method .responseModel %}
77 parameters: parameters.Where(it => it.Value != null).ToDictionary(it => it.Key, it => it.Value)!);
88 {%~ else %}
Original file line number Diff line number Diff line change 88
99 return _client.ChunkedUpload(
1010 apiPath,
11- headers ,
11+ apiHeaders ,
1212 parameters,
1313 {%~ if method .responseModel %}
1414 Convert,
Original file line number Diff line number Diff line change 11 return _client.Call<byte []>(
22 method: "{{ method .method | caseUpper }}",
33 path: apiPath,
4- headers: headers ,
4+ headers: apiHeaders ,
55 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