Skip to content

Commit

Permalink
Fix package name in the localVar types (#2378)
Browse files Browse the repository at this point in the history
  • Loading branch information
etherealjoy authored and wing328 committed Mar 13, 2019
1 parent fcfe687 commit 7ba973c
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -249,10 +249,10 @@ namespace {{packageName}}.{{apiPackage}}
{{/produces}}
};

var localVarConentType = Org.OpenAPITools.Client.ClientUtils.SelectHeaderContentType(@contentTypes);
if (localVarConentType != null) requestOptions.HeaderParameters.Add("Content-Type", localVarConentType);
var localVarContentType = {{packageName}}.Client.ClientUtils.SelectHeaderContentType(@contentTypes);
if (localVarContentType != null) requestOptions.HeaderParameters.Add("Content-Type", localVarContentType);

var localVarAccept = Org.OpenAPITools.Client.ClientUtils.SelectHeaderAccept(@accepts);
var localVarAccept = {{packageName}}.Client.ClientUtils.SelectHeaderAccept(@accepts);
if (localVarAccept != null) requestOptions.HeaderParameters.Add("Accept", localVarAccept);

{{#pathParams}}
Expand Down

0 comments on commit 7ba973c

Please sign in to comment.