forked from loafle/openapi-generator-original
upgrade restsharp to 105.1.0
This commit is contained in:
Binary file not shown.
Binary file not shown.
@@ -500,7 +500,7 @@ namespace IO.Swagger.Api {
|
|||||||
|
|
||||||
|
|
||||||
// authentication setting, if any
|
// authentication setting, if any
|
||||||
String[] authSettings = new String[] { "petstore_auth", "api_key" };
|
String[] authSettings = new String[] { "api_key", "petstore_auth" };
|
||||||
|
|
||||||
// make the HTTP request
|
// make the HTTP request
|
||||||
IRestResponse response = (IRestResponse) apiClient.CallApi(path, Method.GET, queryParams, postBody, headerParams, formParams, fileParams, authSettings);
|
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
|
// authentication setting, if any
|
||||||
String[] authSettings = new String[] { "petstore_auth", "api_key" };
|
String[] authSettings = new String[] { "api_key", "petstore_auth" };
|
||||||
|
|
||||||
// make the HTTP request
|
// make the HTTP request
|
||||||
IRestResponse response = (IRestResponse) await apiClient.CallApiAsync(path, Method.GET, queryParams, postBody, headerParams, formParams, fileParams, authSettings);
|
IRestResponse response = (IRestResponse) await apiClient.CallApiAsync(path, Method.GET, queryParams, postBody, headerParams, formParams, fileParams, authSettings);
|
||||||
|
|||||||
Reference in New Issue
Block a user