From @ayuda-yves on February 3, 2016 16:21
Some generated methods have the line:
var headerParams = new Dictionary<String, String>();
instead of
var headerParams = new Dictionary<String, String>(Configuration.DefaultHeader);
Because of this, the default headers are missing when calling those methods.
Not sure why some methods have the correct code and why others don't, but it seems to be based on the method's signature as all methods with the same signature will either all include headers or none do.
Copied from original issue: swagger-api/swagger-editor#808
From @ayuda-yves on February 3, 2016 16:21
Some generated methods have the line:
var headerParams = new Dictionary<String, String>();instead of
var headerParams = new Dictionary<String, String>(Configuration.DefaultHeader);Because of this, the default headers are missing when calling those methods.
Not sure why some methods have the correct code and why others don't, but it seems to be based on the method's signature as all methods with the same signature will either all include headers or none do.
Copied from original issue: swagger-api/swagger-editor#808