Use the baseName when referring to header parameters.

This commit is contained in:
Laurent Van der Linden 2015-09-18 08:05:13 +02:00
parent 781458b0d1
commit c83c564a19

View File

@ -49,7 +49,7 @@ module {{package}} {
{{/queryParams}}
{{#headerParams}}
headerParams['{{paramName}}'] = {{paramName}};
headerParams['{{baseName}}'] = {{paramName}};
{{/headerParams}}
var httpRequestParams: any = {