diff --git a/modules/swagger-codegen/src/main/resources/csharp/ApiClient.mustache b/modules/swagger-codegen/src/main/resources/csharp/ApiClient.mustache
index 870bf849561..f4ffee145ed 100644
--- a/modules/swagger-codegen/src/main/resources/csharp/ApiClient.mustache
+++ b/modules/swagger-codegen/src/main/resources/csharp/ApiClient.mustache
@@ -36,47 +36,47 @@ namespace {{packageName}}.Client {
/// The RestClient.
public RestClient RestClient { get; set; }
- private Dictionary defaultHeaderMap = new Dictionary();
+ private Dictionary DefaultHeaderMap = new Dictionary();
- public Object CallApi(String Path, RestSharp.Method Method, Dictionary QueryParams, String PostBody,
- Dictionary HeaderParams, Dictionary FormParams, Dictionary FileParams, String[] AuthSettings) {
+ public Object CallApi(String path, RestSharp.Method method, Dictionary queryParams, String postBody,
+ Dictionary headerParams, Dictionary formParams, Dictionary fileParams, String[] authSettings) {
var response = Task.Run(async () => {
- var resp = await CallApiAsync(Path, Method, QueryParams, PostBody, HeaderParams, FormParams, FileParams, AuthSettings);
+ var resp = await CallApiAsync(path, method, queryParams, postBody, headerParams, formParams, fileParams, authSettings);
return resp;
});
return response.Result;
}
- public async Task