diff --git a/modules/swagger-codegen/src/main/resources/csharp/RestSharp.dll b/modules/swagger-codegen/src/main/resources/csharp/RestSharp.dll index c1da1b588cd..a7331ed6e23 100644 Binary files a/modules/swagger-codegen/src/main/resources/csharp/RestSharp.dll and b/modules/swagger-codegen/src/main/resources/csharp/RestSharp.dll differ diff --git a/samples/client/petstore/csharp/bin/RestSharp.dll b/samples/client/petstore/csharp/bin/RestSharp.dll index c1da1b588cd..a7331ed6e23 100644 Binary files a/samples/client/petstore/csharp/bin/RestSharp.dll and b/samples/client/petstore/csharp/bin/RestSharp.dll differ diff --git a/samples/client/petstore/csharp/src/main/csharp/io/swagger/Api/PetApi.cs b/samples/client/petstore/csharp/src/main/csharp/io/swagger/Api/PetApi.cs index 44cd63d4fc7..5fdb38f2da9 100644 --- a/samples/client/petstore/csharp/src/main/csharp/io/swagger/Api/PetApi.cs +++ b/samples/client/petstore/csharp/src/main/csharp/io/swagger/Api/PetApi.cs @@ -500,7 +500,7 @@ namespace IO.Swagger.Api { // authentication setting, if any - String[] authSettings = new String[] { "petstore_auth", "api_key" }; + String[] authSettings = new String[] { "api_key", "petstore_auth" }; // make the HTTP request IRestResponse response = (IRestResponse) apiClient.CallApi(path, Method.GET, queryParams, postBody, headerParams, formParams, fileParams, authSettings); @@ -540,7 +540,7 @@ namespace IO.Swagger.Api { // authentication setting, if any - String[] authSettings = new String[] { "petstore_auth", "api_key" }; + String[] authSettings = new String[] { "api_key", "petstore_auth" }; // make the HTTP request IRestResponse response = (IRestResponse) await apiClient.CallApiAsync(path, Method.GET, queryParams, postBody, headerParams, formParams, fileParams, authSettings);