diff --git a/modules/openapi-generator/src/main/resources/csharp-netcore/api.mustache b/modules/openapi-generator/src/main/resources/csharp-netcore/api.mustache
index 59a65d9d963..ce3229d145c 100644
--- a/modules/openapi-generator/src/main/resources/csharp-netcore/api.mustache
+++ b/modules/openapi-generator/src/main/resources/csharp-netcore/api.mustache
@@ -76,7 +76,7 @@ namespace {{packageName}}.{{apiPackage}}
{{#allParams}}/// {{description}}{{^required}} (optional{{#defaultValue}}, default to {{.}}{{/defaultValue}}){{/required}}
/// Cancellation Token to cancel the request.
{{/allParams}}/// Task of ApiResponse{{#returnType}} ({{returnType}}){{/returnType}}
- System.Threading.Tasks.Task> {{operationId}}AsyncWithHttpInfo ({{#allParams}}{{{dataType}}} {{paramName}}{{^required}}{{#optionalMethodArgument}} = default({{{dataType}}}){{/optionalMethodArgument}}{{/required}}{{#hasMore}}, {{/hasMore}}{{/allParams}}{{#allParams.0}}, {{/allParams.0}}System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
+ System.Threading.Tasks.Task> {{operationId}}WithHttpInfoAsync ({{#allParams}}{{{dataType}}} {{paramName}}{{^required}}{{#optionalMethodArgument}} = default({{{dataType}}}){{/optionalMethodArgument}}{{/required}}{{#hasMore}}, {{/hasMore}}{{/allParams}}{{#allParams.0}}, {{/allParams.0}}System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
{{/operation}}
#endregion Asynchronous Operations
}
@@ -383,9 +383,8 @@ namespace {{packageName}}.{{apiPackage}}
{{/allParams}}/// Task of {{#returnType}}{{returnType}}{{/returnType}}{{^returnType}}void{{/returnType}}
{{#returnType}}public async System.Threading.Tasks.Task<{{{returnType}}}>{{/returnType}}{{^returnType}}public async System.Threading.Tasks.Task{{/returnType}} {{operationId}}Async ({{#allParams}}{{{dataType}}} {{paramName}}{{^required}}{{#optionalMethodArgument}} = default({{{dataType}}}){{/optionalMethodArgument}}{{/required}}{{#hasMore}}, {{/hasMore}}{{/allParams}}{{#allParams.0}}, {{/allParams.0}}System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{
- {{#returnType}}{{packageName}}.Client.ApiResponse<{{{returnType}}}> localVarResponse = await {{operationId}}AsyncWithHttpInfo({{#allParams}}{{paramName}}{{#hasMore}}, {{/hasMore}}{{/allParams}}{{#allParams.0}}, {{/allParams.0}}cancellationToken);
- return localVarResponse.Data;{{/returnType}}{{^returnType}}await {{operationId}}AsyncWithHttpInfo({{#allParams}}{{paramName}}{{#hasMore}}, {{/hasMore}}{{/allParams}}{{#allParams.0}}, {{/allParams.0}}cancellationToken);{{/returnType}}
-
+ {{#returnType}}{{packageName}}.Client.ApiResponse<{{{returnType}}}> localVarResponse = await {{operationId}}WithHttpInfoAsync({{#allParams}}{{paramName}}{{#hasMore}}, {{/hasMore}}{{/allParams}}{{#allParams.0}}, {{/allParams.0}}cancellationToken);
+ return localVarResponse.Data;{{/returnType}}{{^returnType}}await {{operationId}}WithHttpInfoAsync({{#allParams}}{{paramName}}{{#hasMore}}, {{/hasMore}}{{/allParams}}{{#allParams.0}}, {{/allParams.0}}cancellationToken);{{/returnType}}
}
///
@@ -395,7 +394,7 @@ namespace {{packageName}}.{{apiPackage}}
{{#allParams}}/// {{description}}{{^required}} (optional{{#defaultValue}}, default to {{.}}{{/defaultValue}}){{/required}}
/// Cancellation Token to cancel the request.
{{/allParams}}/// Task of ApiResponse{{#returnType}} ({{returnType}}){{/returnType}}
- public async System.Threading.Tasks.Task<{{packageName}}.Client.ApiResponse<{{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}Object{{/returnType}}>> {{operationId}}AsyncWithHttpInfo ({{#allParams}}{{{dataType}}} {{paramName}}{{^required}}{{#optionalMethodArgument}} = default({{{dataType}}}){{/optionalMethodArgument}}{{/required}}{{#hasMore}}, {{/hasMore}}{{/allParams}}{{#allParams.0}}, {{/allParams.0}}System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
+ public async System.Threading.Tasks.Task<{{packageName}}.Client.ApiResponse<{{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}Object{{/returnType}}>> {{operationId}}WithHttpInfoAsync ({{#allParams}}{{{dataType}}} {{paramName}}{{^required}}{{#optionalMethodArgument}} = default({{{dataType}}}){{/optionalMethodArgument}}{{/required}}{{#hasMore}}, {{/hasMore}}{{/allParams}}{{#allParams.0}}, {{/allParams.0}}System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{
{{#allParams}}
{{#required}}
diff --git a/modules/openapi-generator/src/main/resources/csharp/api.mustache b/modules/openapi-generator/src/main/resources/csharp/api.mustache
index fb05647632e..f57926ade1d 100644
--- a/modules/openapi-generator/src/main/resources/csharp/api.mustache
+++ b/modules/openapi-generator/src/main/resources/csharp/api.mustache
@@ -72,7 +72,7 @@ namespace {{packageName}}.{{apiPackage}}
{{#allParams}}/// {{description}}{{^required}} (optional{{#defaultValue}}, default to {{.}}{{/defaultValue}}){{/required}}
{{/allParams}}/// Cancellation Token to cancel request (optional)
/// Task of ApiResponse{{#returnType}} ({{returnType}}){{/returnType}}
- System.Threading.Tasks.Task> {{operationId}}AsyncWithHttpInfo ({{#allParams}}{{{dataType}}} {{paramName}}{{^required}}{{#optionalMethodArgument}} = default({{{dataType}}}){{/optionalMethodArgument}}{{/required}}{{#hasMore}}, {{/hasMore}}{{/allParams}}{{#allParams.0}}, {{/allParams.0}}CancellationToken cancellationToken = default(CancellationToken));
+ System.Threading.Tasks.Task> {{operationId}}WithHttpInfoAsync ({{#allParams}}{{{dataType}}} {{paramName}}{{^required}}{{#optionalMethodArgument}} = default({{{dataType}}}){{/optionalMethodArgument}}{{/required}}{{#hasMore}}, {{/hasMore}}{{/allParams}}{{#allParams.0}}, {{/allParams.0}}CancellationToken cancellationToken = default(CancellationToken));
{{/operation}}
#endregion Asynchronous Operations
{{/supportsAsync}}
@@ -340,8 +340,8 @@ namespace {{packageName}}.{{apiPackage}}
/// Task of {{#returnType}}{{returnType}}{{/returnType}}{{^returnType}}void{{/returnType}}
{{#returnType}}public async System.Threading.Tasks.Task<{{{returnType}}}>{{/returnType}}{{^returnType}}public async System.Threading.Tasks.Task{{/returnType}} {{operationId}}Async ({{#allParams}}{{{dataType}}} {{paramName}}{{^required}}{{#optionalMethodArgument}} = default({{{dataType}}}){{/optionalMethodArgument}}{{/required}}{{#hasMore}}, {{/hasMore}}{{/allParams}}{{#allParams.0}}, {{/allParams.0}}CancellationToken cancellationToken = default(CancellationToken))
{
- {{#returnType}}ApiResponse<{{{returnType}}}> localVarResponse = await {{operationId}}AsyncWithHttpInfo({{#allParams}}{{paramName}}{{#hasMore}}, {{/hasMore}}{{/allParams}}{{#allParams.0}}, {{/allParams.0}}cancellationToken);
- return localVarResponse.Data;{{/returnType}}{{^returnType}}await {{operationId}}AsyncWithHttpInfo({{#allParams}}{{paramName}}{{#hasMore}}, {{/hasMore}}{{/allParams}}{{#allParams.0}}, {{/allParams.0}}cancellationToken);{{/returnType}}
+ {{#returnType}}ApiResponse<{{{returnType}}}> localVarResponse = await {{operationId}}WithHttpInfoAsync({{#allParams}}{{paramName}}{{#hasMore}}, {{/hasMore}}{{/allParams}}{{#allParams.0}}, {{/allParams.0}}cancellationToken);
+ return localVarResponse.Data;{{/returnType}}{{^returnType}}await {{operationId}}WithHttpInfoAsync({{#allParams}}{{paramName}}{{#hasMore}}, {{/hasMore}}{{/allParams}}{{#allParams.0}}, {{/allParams.0}}cancellationToken);{{/returnType}}
}
@@ -352,7 +352,7 @@ namespace {{packageName}}.{{apiPackage}}
{{#allParams}}/// {{description}}{{^required}} (optional{{#defaultValue}}, default to {{.}}{{/defaultValue}}){{/required}}
{{/allParams}}/// Cancellation Token to cancel request (optional)
/// Task of ApiResponse{{#returnType}} ({{returnType}}){{/returnType}}
- public async System.Threading.Tasks.Task> {{operationId}}AsyncWithHttpInfo ({{#allParams}}{{{dataType}}} {{paramName}}{{^required}}{{#optionalMethodArgument}} = default({{{dataType}}}){{/optionalMethodArgument}}{{/required}}{{#hasMore}}, {{/hasMore}}{{/allParams}}{{#allParams.0}}, {{/allParams.0}}CancellationToken cancellationToken = default(CancellationToken))
+ public async System.Threading.Tasks.Task> {{operationId}}WithHttpInfoAsync ({{#allParams}}{{{dataType}}} {{paramName}}{{^required}}{{#optionalMethodArgument}} = default({{{dataType}}}){{/optionalMethodArgument}}{{/required}}{{#hasMore}}, {{/hasMore}}{{/allParams}}{{#allParams.0}}, {{/allParams.0}}CancellationToken cancellationToken = default(CancellationToken))
{
{{#allParams}}
{{#required}}
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools.Test/Api/PetApiTests.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools.Test/Api/PetApiTests.cs
index 19b7a6c81ba..cff914445f5 100644
--- a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools.Test/Api/PetApiTests.cs
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools.Test/Api/PetApiTests.cs
@@ -200,13 +200,13 @@ namespace Org.OpenAPITools.Test
}
///
- /// Test GetPetByIdAsyncWithHttpInfo
+ /// Test GetPetByIdWithHttpInfoAsync
///
[Fact]
- public void TestGetPetByIdAsyncWithHttpInfo()
+ public void TestGetPetByIdWithHttpInfoAsync()
{
PetApi petApi = new PetApi();
- var task = petApi.GetPetByIdAsyncWithHttpInfo(petId);
+ var task = petApi.GetPetByIdWithHttpInfoAsync(petId);
Assert.Equal(200, (int)task.Result.StatusCode);
Assert.True(task.Result.Headers.ContainsKey("Content-Type"));
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Api/AnotherFakeApi.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Api/AnotherFakeApi.cs
index 8d9b36ddfc5..42e8dbae5b7 100644
--- a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Api/AnotherFakeApi.cs
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Api/AnotherFakeApi.cs
@@ -79,7 +79,7 @@ namespace Org.OpenAPITools.Api
/// client model
/// Cancellation Token to cancel the request.
/// Task of ApiResponse (ModelClient)
- System.Threading.Tasks.Task> Call123TestSpecialTagsAsyncWithHttpInfo (ModelClient body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
+ System.Threading.Tasks.Task> Call123TestSpecialTagsWithHttpInfoAsync (ModelClient body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
#endregion Asynchronous Operations
}
@@ -265,9 +265,8 @@ namespace Org.OpenAPITools.Api
/// Task of ModelClient
public async System.Threading.Tasks.Task Call123TestSpecialTagsAsync (ModelClient body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{
- Org.OpenAPITools.Client.ApiResponse localVarResponse = await Call123TestSpecialTagsAsyncWithHttpInfo(body, cancellationToken);
+ Org.OpenAPITools.Client.ApiResponse localVarResponse = await Call123TestSpecialTagsWithHttpInfoAsync(body, cancellationToken);
return localVarResponse.Data;
-
}
///
@@ -277,7 +276,7 @@ namespace Org.OpenAPITools.Api
/// client model
/// Cancellation Token to cancel the request.
/// Task of ApiResponse (ModelClient)
- public async System.Threading.Tasks.Task> Call123TestSpecialTagsAsyncWithHttpInfo (ModelClient body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
+ public async System.Threading.Tasks.Task> Call123TestSpecialTagsWithHttpInfoAsync (ModelClient body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{
// verify the required parameter 'body' is set
if (body == null)
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Api/FakeApi.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Api/FakeApi.cs
index e510f1f6926..63febb7a220 100644
--- a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Api/FakeApi.cs
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Api/FakeApi.cs
@@ -414,7 +414,7 @@ namespace Org.OpenAPITools.Api
/// XmlItem Body
/// Cancellation Token to cancel the request.
/// Task of ApiResponse
- System.Threading.Tasks.Task> CreateXmlItemAsyncWithHttpInfo (XmlItem xmlItem, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
+ System.Threading.Tasks.Task> CreateXmlItemWithHttpInfoAsync (XmlItem xmlItem, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
///
///
///
@@ -437,7 +437,7 @@ namespace Org.OpenAPITools.Api
/// Input boolean as post body (optional)
/// Cancellation Token to cancel the request.
/// Task of ApiResponse (bool)
- System.Threading.Tasks.Task> FakeOuterBooleanSerializeAsyncWithHttpInfo (bool? body = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
+ System.Threading.Tasks.Task> FakeOuterBooleanSerializeWithHttpInfoAsync (bool? body = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
///
///
///
@@ -460,7 +460,7 @@ namespace Org.OpenAPITools.Api
/// Input composite as post body (optional)
/// Cancellation Token to cancel the request.
/// Task of ApiResponse (OuterComposite)
- System.Threading.Tasks.Task> FakeOuterCompositeSerializeAsyncWithHttpInfo (OuterComposite body = default(OuterComposite), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
+ System.Threading.Tasks.Task> FakeOuterCompositeSerializeWithHttpInfoAsync (OuterComposite body = default(OuterComposite), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
///
///
///
@@ -483,7 +483,7 @@ namespace Org.OpenAPITools.Api
/// Input number as post body (optional)
/// Cancellation Token to cancel the request.
/// Task of ApiResponse (decimal)
- System.Threading.Tasks.Task> FakeOuterNumberSerializeAsyncWithHttpInfo (decimal? body = default(decimal?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
+ System.Threading.Tasks.Task> FakeOuterNumberSerializeWithHttpInfoAsync (decimal? body = default(decimal?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
///
///
///
@@ -506,7 +506,7 @@ namespace Org.OpenAPITools.Api
/// Input string as post body (optional)
/// Cancellation Token to cancel the request.
/// Task of ApiResponse (string)
- System.Threading.Tasks.Task> FakeOuterStringSerializeAsyncWithHttpInfo (string body = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
+ System.Threading.Tasks.Task> FakeOuterStringSerializeWithHttpInfoAsync (string body = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
///
///
///
@@ -529,7 +529,7 @@ namespace Org.OpenAPITools.Api
///
/// Cancellation Token to cancel the request.
/// Task of ApiResponse
- System.Threading.Tasks.Task> TestBodyWithFileSchemaAsyncWithHttpInfo (FileSchemaTestClass body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
+ System.Threading.Tasks.Task> TestBodyWithFileSchemaWithHttpInfoAsync (FileSchemaTestClass body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
///
///
///
@@ -556,7 +556,7 @@ namespace Org.OpenAPITools.Api
///
/// Cancellation Token to cancel the request.
/// Task of ApiResponse
- System.Threading.Tasks.Task> TestBodyWithQueryParamsAsyncWithHttpInfo (string query, User body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
+ System.Threading.Tasks.Task> TestBodyWithQueryParamsWithHttpInfoAsync (string query, User body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
///
/// To test \"client\" model
///
@@ -579,7 +579,7 @@ namespace Org.OpenAPITools.Api
/// client model
/// Cancellation Token to cancel the request.
/// Task of ApiResponse (ModelClient)
- System.Threading.Tasks.Task> TestClientModelAsyncWithHttpInfo (ModelClient body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
+ System.Threading.Tasks.Task> TestClientModelWithHttpInfoAsync (ModelClient body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
///
/// Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
///
@@ -654,7 +654,7 @@ namespace Org.OpenAPITools.Api
/// None (optional)
/// Cancellation Token to cancel the request.
/// Task of ApiResponse
- System.Threading.Tasks.Task> TestEndpointParametersAsyncWithHttpInfo (decimal number, double _double, string patternWithoutDelimiter, byte[] _byte, int? integer = default(int?), int? int32 = default(int?), long? int64 = default(long?), float? _float = default(float?), string _string = default(string), System.IO.Stream binary = default(System.IO.Stream), DateTime? date = default(DateTime?), DateTime? dateTime = default(DateTime?), string password = default(string), string callback = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
+ System.Threading.Tasks.Task> TestEndpointParametersWithHttpInfoAsync (decimal number, double _double, string patternWithoutDelimiter, byte[] _byte, int? integer = default(int?), int? int32 = default(int?), long? int64 = default(long?), float? _float = default(float?), string _string = default(string), System.IO.Stream binary = default(System.IO.Stream), DateTime? date = default(DateTime?), DateTime? dateTime = default(DateTime?), string password = default(string), string callback = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
///
/// To test enum parameters
///
@@ -705,7 +705,7 @@ namespace Org.OpenAPITools.Api
/// Form parameter enum test (string) (optional, default to -efg)
/// Cancellation Token to cancel the request.
/// Task of ApiResponse
- System.Threading.Tasks.Task> TestEnumParametersAsyncWithHttpInfo (List enumHeaderStringArray = default(List), string enumHeaderString = default(string), List enumQueryStringArray = default(List), string enumQueryString = default(string), int? enumQueryInteger = default(int?), double? enumQueryDouble = default(double?), List enumFormStringArray = default(List), string enumFormString = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
+ System.Threading.Tasks.Task> TestEnumParametersWithHttpInfoAsync (List enumHeaderStringArray = default(List), string enumHeaderString = default(string), List enumQueryStringArray = default(List), string enumQueryString = default(string), int? enumQueryInteger = default(int?), double? enumQueryDouble = default(double?), List enumFormStringArray = default(List), string enumFormString = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
///
/// Fake endpoint to test group parameters (optional)
///
@@ -748,7 +748,7 @@ namespace Org.OpenAPITools.Api
/// Integer in group parameters (optional)
/// Cancellation Token to cancel the request.
/// Task of ApiResponse
- System.Threading.Tasks.Task> TestGroupParametersAsyncWithHttpInfo (int requiredStringGroup, bool requiredBooleanGroup, long requiredInt64Group, int? stringGroup = default(int?), bool? booleanGroup = default(bool?), long? int64Group = default(long?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
+ System.Threading.Tasks.Task> TestGroupParametersWithHttpInfoAsync (int requiredStringGroup, bool requiredBooleanGroup, long requiredInt64Group, int? stringGroup = default(int?), bool? booleanGroup = default(bool?), long? int64Group = default(long?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
///
/// test inline additionalProperties
///
@@ -771,7 +771,7 @@ namespace Org.OpenAPITools.Api
/// request body
/// Cancellation Token to cancel the request.
/// Task of ApiResponse
- System.Threading.Tasks.Task> TestInlineAdditionalPropertiesAsyncWithHttpInfo (Dictionary param, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
+ System.Threading.Tasks.Task> TestInlineAdditionalPropertiesWithHttpInfoAsync (Dictionary param, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
///
/// test json serialization of form data
///
@@ -798,7 +798,7 @@ namespace Org.OpenAPITools.Api
/// field2
/// Cancellation Token to cancel the request.
/// Task of ApiResponse
- System.Threading.Tasks.Task> TestJsonFormDataAsyncWithHttpInfo (string param, string param2, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
+ System.Threading.Tasks.Task> TestJsonFormDataWithHttpInfoAsync (string param, string param2, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
///
///
///
@@ -837,7 +837,7 @@ namespace Org.OpenAPITools.Api
///
/// Cancellation Token to cancel the request.
/// Task of ApiResponse
- System.Threading.Tasks.Task> TestQueryParameterCollectionFormatAsyncWithHttpInfo (List pipe, List ioutil, List http, List url, List context, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
+ System.Threading.Tasks.Task> TestQueryParameterCollectionFormatWithHttpInfoAsync (List pipe, List ioutil, List http, List url, List context, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
#endregion Asynchronous Operations
}
@@ -1026,8 +1026,7 @@ namespace Org.OpenAPITools.Api
/// Task of void
public async System.Threading.Tasks.Task CreateXmlItemAsync (XmlItem xmlItem, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{
- await CreateXmlItemAsyncWithHttpInfo(xmlItem, cancellationToken);
-
+ await CreateXmlItemWithHttpInfoAsync(xmlItem, cancellationToken);
}
///
@@ -1037,7 +1036,7 @@ namespace Org.OpenAPITools.Api
/// XmlItem Body
/// Cancellation Token to cancel the request.
/// Task of ApiResponse
- public async System.Threading.Tasks.Task> CreateXmlItemAsyncWithHttpInfo (XmlItem xmlItem, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
+ public async System.Threading.Tasks.Task> CreateXmlItemWithHttpInfoAsync (XmlItem xmlItem, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{
// verify the required parameter 'xmlItem' is set
if (xmlItem == null)
@@ -1142,9 +1141,8 @@ namespace Org.OpenAPITools.Api
/// Task of bool
public async System.Threading.Tasks.Task FakeOuterBooleanSerializeAsync (bool? body = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{
- Org.OpenAPITools.Client.ApiResponse localVarResponse = await FakeOuterBooleanSerializeAsyncWithHttpInfo(body, cancellationToken);
+ Org.OpenAPITools.Client.ApiResponse localVarResponse = await FakeOuterBooleanSerializeWithHttpInfoAsync(body, cancellationToken);
return localVarResponse.Data;
-
}
///
@@ -1154,7 +1152,7 @@ namespace Org.OpenAPITools.Api
/// Input boolean as post body (optional)
/// Cancellation Token to cancel the request.
/// Task of ApiResponse (bool)
- public async System.Threading.Tasks.Task> FakeOuterBooleanSerializeAsyncWithHttpInfo (bool? body = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
+ public async System.Threading.Tasks.Task> FakeOuterBooleanSerializeWithHttpInfoAsync (bool? body = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{
Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions();
@@ -1250,9 +1248,8 @@ namespace Org.OpenAPITools.Api
/// Task of OuterComposite
public async System.Threading.Tasks.Task FakeOuterCompositeSerializeAsync (OuterComposite body = default(OuterComposite), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{
- Org.OpenAPITools.Client.ApiResponse localVarResponse = await FakeOuterCompositeSerializeAsyncWithHttpInfo(body, cancellationToken);
+ Org.OpenAPITools.Client.ApiResponse localVarResponse = await FakeOuterCompositeSerializeWithHttpInfoAsync(body, cancellationToken);
return localVarResponse.Data;
-
}
///
@@ -1262,7 +1259,7 @@ namespace Org.OpenAPITools.Api
/// Input composite as post body (optional)
/// Cancellation Token to cancel the request.
/// Task of ApiResponse (OuterComposite)
- public async System.Threading.Tasks.Task> FakeOuterCompositeSerializeAsyncWithHttpInfo (OuterComposite body = default(OuterComposite), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
+ public async System.Threading.Tasks.Task> FakeOuterCompositeSerializeWithHttpInfoAsync (OuterComposite body = default(OuterComposite), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{
Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions();
@@ -1358,9 +1355,8 @@ namespace Org.OpenAPITools.Api
/// Task of decimal
public async System.Threading.Tasks.Task FakeOuterNumberSerializeAsync (decimal? body = default(decimal?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{
- Org.OpenAPITools.Client.ApiResponse localVarResponse = await FakeOuterNumberSerializeAsyncWithHttpInfo(body, cancellationToken);
+ Org.OpenAPITools.Client.ApiResponse localVarResponse = await FakeOuterNumberSerializeWithHttpInfoAsync(body, cancellationToken);
return localVarResponse.Data;
-
}
///
@@ -1370,7 +1366,7 @@ namespace Org.OpenAPITools.Api
/// Input number as post body (optional)
/// Cancellation Token to cancel the request.
/// Task of ApiResponse (decimal)
- public async System.Threading.Tasks.Task> FakeOuterNumberSerializeAsyncWithHttpInfo (decimal? body = default(decimal?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
+ public async System.Threading.Tasks.Task> FakeOuterNumberSerializeWithHttpInfoAsync (decimal? body = default(decimal?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{
Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions();
@@ -1466,9 +1462,8 @@ namespace Org.OpenAPITools.Api
/// Task of string
public async System.Threading.Tasks.Task FakeOuterStringSerializeAsync (string body = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{
- Org.OpenAPITools.Client.ApiResponse localVarResponse = await FakeOuterStringSerializeAsyncWithHttpInfo(body, cancellationToken);
+ Org.OpenAPITools.Client.ApiResponse localVarResponse = await FakeOuterStringSerializeWithHttpInfoAsync(body, cancellationToken);
return localVarResponse.Data;
-
}
///
@@ -1478,7 +1473,7 @@ namespace Org.OpenAPITools.Api
/// Input string as post body (optional)
/// Cancellation Token to cancel the request.
/// Task of ApiResponse (string)
- public async System.Threading.Tasks.Task> FakeOuterStringSerializeAsyncWithHttpInfo (string body = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
+ public async System.Threading.Tasks.Task> FakeOuterStringSerializeWithHttpInfoAsync (string body = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{
Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions();
@@ -1577,8 +1572,7 @@ namespace Org.OpenAPITools.Api
/// Task of void
public async System.Threading.Tasks.Task TestBodyWithFileSchemaAsync (FileSchemaTestClass body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{
- await TestBodyWithFileSchemaAsyncWithHttpInfo(body, cancellationToken);
-
+ await TestBodyWithFileSchemaWithHttpInfoAsync(body, cancellationToken);
}
///
@@ -1588,7 +1582,7 @@ namespace Org.OpenAPITools.Api
///
/// Cancellation Token to cancel the request.
/// Task of ApiResponse
- public async System.Threading.Tasks.Task> TestBodyWithFileSchemaAsyncWithHttpInfo (FileSchemaTestClass body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
+ public async System.Threading.Tasks.Task> TestBodyWithFileSchemaWithHttpInfoAsync (FileSchemaTestClass body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{
// verify the required parameter 'body' is set
if (body == null)
@@ -1700,8 +1694,7 @@ namespace Org.OpenAPITools.Api
/// Task of void
public async System.Threading.Tasks.Task TestBodyWithQueryParamsAsync (string query, User body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{
- await TestBodyWithQueryParamsAsyncWithHttpInfo(query, body, cancellationToken);
-
+ await TestBodyWithQueryParamsWithHttpInfoAsync(query, body, cancellationToken);
}
///
@@ -1713,7 +1706,7 @@ namespace Org.OpenAPITools.Api
///
/// Cancellation Token to cancel the request.
/// Task of ApiResponse
- public async System.Threading.Tasks.Task> TestBodyWithQueryParamsAsyncWithHttpInfo (string query, User body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
+ public async System.Threading.Tasks.Task> TestBodyWithQueryParamsWithHttpInfoAsync (string query, User body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{
// verify the required parameter 'query' is set
if (query == null)
@@ -1823,9 +1816,8 @@ namespace Org.OpenAPITools.Api
/// Task of ModelClient
public async System.Threading.Tasks.Task TestClientModelAsync (ModelClient body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{
- Org.OpenAPITools.Client.ApiResponse localVarResponse = await TestClientModelAsyncWithHttpInfo(body, cancellationToken);
+ Org.OpenAPITools.Client.ApiResponse localVarResponse = await TestClientModelWithHttpInfoAsync(body, cancellationToken);
return localVarResponse.Data;
-
}
///
@@ -1835,7 +1827,7 @@ namespace Org.OpenAPITools.Api
/// client model
/// Cancellation Token to cancel the request.
/// Task of ApiResponse (ModelClient)
- public async System.Threading.Tasks.Task> TestClientModelAsyncWithHttpInfo (ModelClient body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
+ public async System.Threading.Tasks.Task> TestClientModelWithHttpInfoAsync (ModelClient body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{
// verify the required parameter 'body' is set
if (body == null)
@@ -2044,8 +2036,7 @@ namespace Org.OpenAPITools.Api
/// Task of void
public async System.Threading.Tasks.Task TestEndpointParametersAsync (decimal number, double _double, string patternWithoutDelimiter, byte[] _byte, int? integer = default(int?), int? int32 = default(int?), long? int64 = default(long?), float? _float = default(float?), string _string = default(string), System.IO.Stream binary = default(System.IO.Stream), DateTime? date = default(DateTime?), DateTime? dateTime = default(DateTime?), string password = default(string), string callback = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{
- await TestEndpointParametersAsyncWithHttpInfo(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, _string, binary, date, dateTime, password, callback, cancellationToken);
-
+ await TestEndpointParametersWithHttpInfoAsync(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, _string, binary, date, dateTime, password, callback, cancellationToken);
}
///
@@ -2081,7 +2072,7 @@ namespace Org.OpenAPITools.Api
/// None (optional)
/// Cancellation Token to cancel the request.
/// Task of ApiResponse
- public async System.Threading.Tasks.Task> TestEndpointParametersAsyncWithHttpInfo (decimal number, double _double, string patternWithoutDelimiter, byte[] _byte, int? integer = default(int?), int? int32 = default(int?), long? int64 = default(long?), float? _float = default(float?), string _string = default(string), System.IO.Stream binary = default(System.IO.Stream), DateTime? date = default(DateTime?), DateTime? dateTime = default(DateTime?), string password = default(string), string callback = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
+ public async System.Threading.Tasks.Task> TestEndpointParametersWithHttpInfoAsync (decimal number, double _double, string patternWithoutDelimiter, byte[] _byte, int? integer = default(int?), int? int32 = default(int?), long? int64 = default(long?), float? _float = default(float?), string _string = default(string), System.IO.Stream binary = default(System.IO.Stream), DateTime? date = default(DateTime?), DateTime? dateTime = default(DateTime?), string password = default(string), string callback = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{
// verify the required parameter 'patternWithoutDelimiter' is set
if (patternWithoutDelimiter == null)
@@ -2292,8 +2283,7 @@ namespace Org.OpenAPITools.Api
/// Task of void
public async System.Threading.Tasks.Task TestEnumParametersAsync (List enumHeaderStringArray = default(List), string enumHeaderString = default(string), List enumQueryStringArray = default(List), string enumQueryString = default(string), int? enumQueryInteger = default(int?), double? enumQueryDouble = default(double?), List enumFormStringArray = default(List), string enumFormString = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{
- await TestEnumParametersAsyncWithHttpInfo(enumHeaderStringArray, enumHeaderString, enumQueryStringArray, enumQueryString, enumQueryInteger, enumQueryDouble, enumFormStringArray, enumFormString, cancellationToken);
-
+ await TestEnumParametersWithHttpInfoAsync(enumHeaderStringArray, enumHeaderString, enumQueryStringArray, enumQueryString, enumQueryInteger, enumQueryDouble, enumFormStringArray, enumFormString, cancellationToken);
}
///
@@ -2317,7 +2307,7 @@ namespace Org.OpenAPITools.Api
/// Form parameter enum test (string) (optional, default to -efg)
/// Cancellation Token to cancel the request.
/// Task of ApiResponse
- public async System.Threading.Tasks.Task> TestEnumParametersAsyncWithHttpInfo (List enumHeaderStringArray = default(List), string enumHeaderString = default(string), List enumQueryStringArray = default(List), string enumQueryString = default(string), int? enumQueryInteger = default(int?), double? enumQueryDouble = default(double?), List enumFormStringArray = default(List), string enumFormString = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
+ public async System.Threading.Tasks.Task> TestEnumParametersWithHttpInfoAsync (List enumHeaderStringArray = default(List), string enumHeaderString = default(string), List enumQueryStringArray = default(List), string enumQueryString = default(string), int? enumQueryInteger = default(int?), double? enumQueryDouble = default(double?), List enumFormStringArray = default(List), string enumFormString = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{
Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions();
@@ -2476,8 +2466,7 @@ namespace Org.OpenAPITools.Api
/// Task of void
public async System.Threading.Tasks.Task TestGroupParametersAsync (int requiredStringGroup, bool requiredBooleanGroup, long requiredInt64Group, int? stringGroup = default(int?), bool? booleanGroup = default(bool?), long? int64Group = default(long?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{
- await TestGroupParametersAsyncWithHttpInfo(requiredStringGroup, requiredBooleanGroup, requiredInt64Group, stringGroup, booleanGroup, int64Group, cancellationToken);
-
+ await TestGroupParametersWithHttpInfoAsync(requiredStringGroup, requiredBooleanGroup, requiredInt64Group, stringGroup, booleanGroup, int64Group, cancellationToken);
}
///
@@ -2497,7 +2486,7 @@ namespace Org.OpenAPITools.Api
/// Integer in group parameters (optional)
/// Cancellation Token to cancel the request.
/// Task of ApiResponse
- public async System.Threading.Tasks.Task> TestGroupParametersAsyncWithHttpInfo (int requiredStringGroup, bool requiredBooleanGroup, long requiredInt64Group, int? stringGroup = default(int?), bool? booleanGroup = default(bool?), long? int64Group = default(long?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
+ public async System.Threading.Tasks.Task> TestGroupParametersWithHttpInfoAsync (int requiredStringGroup, bool requiredBooleanGroup, long requiredInt64Group, int? stringGroup = default(int?), bool? booleanGroup = default(bool?), long? int64Group = default(long?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{
Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions();
@@ -2609,8 +2598,7 @@ namespace Org.OpenAPITools.Api
/// Task of void
public async System.Threading.Tasks.Task TestInlineAdditionalPropertiesAsync (Dictionary param, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{
- await TestInlineAdditionalPropertiesAsyncWithHttpInfo(param, cancellationToken);
-
+ await TestInlineAdditionalPropertiesWithHttpInfoAsync(param, cancellationToken);
}
///
@@ -2620,7 +2608,7 @@ namespace Org.OpenAPITools.Api
/// request body
/// Cancellation Token to cancel the request.
/// Task of ApiResponse
- public async System.Threading.Tasks.Task> TestInlineAdditionalPropertiesAsyncWithHttpInfo (Dictionary param, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
+ public async System.Threading.Tasks.Task> TestInlineAdditionalPropertiesWithHttpInfoAsync (Dictionary param, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{
// verify the required parameter 'param' is set
if (param == null)
@@ -2732,8 +2720,7 @@ namespace Org.OpenAPITools.Api
/// Task of void
public async System.Threading.Tasks.Task TestJsonFormDataAsync (string param, string param2, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{
- await TestJsonFormDataAsyncWithHttpInfo(param, param2, cancellationToken);
-
+ await TestJsonFormDataWithHttpInfoAsync(param, param2, cancellationToken);
}
///
@@ -2745,7 +2732,7 @@ namespace Org.OpenAPITools.Api
/// field2
/// Cancellation Token to cancel the request.
/// Task of ApiResponse
- public async System.Threading.Tasks.Task> TestJsonFormDataAsyncWithHttpInfo (string param, string param2, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
+ public async System.Threading.Tasks.Task> TestJsonFormDataWithHttpInfoAsync (string param, string param2, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{
// verify the required parameter 'param' is set
if (param == null)
@@ -2888,8 +2875,7 @@ namespace Org.OpenAPITools.Api
/// Task of void
public async System.Threading.Tasks.Task TestQueryParameterCollectionFormatAsync (List pipe, List ioutil, List http, List url, List context, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{
- await TestQueryParameterCollectionFormatAsyncWithHttpInfo(pipe, ioutil, http, url, context, cancellationToken);
-
+ await TestQueryParameterCollectionFormatWithHttpInfoAsync(pipe, ioutil, http, url, context, cancellationToken);
}
///
@@ -2907,7 +2893,7 @@ namespace Org.OpenAPITools.Api
///
/// Cancellation Token to cancel the request.
/// Task of ApiResponse
- public async System.Threading.Tasks.Task> TestQueryParameterCollectionFormatAsyncWithHttpInfo (List pipe, List ioutil, List http, List url, List context, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
+ public async System.Threading.Tasks.Task> TestQueryParameterCollectionFormatWithHttpInfoAsync (List pipe, List ioutil, List http, List url, List context, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{
// verify the required parameter 'pipe' is set
if (pipe == null)
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Api/FakeClassnameTags123Api.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Api/FakeClassnameTags123Api.cs
index ca7fecd46a3..25643763614 100644
--- a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Api/FakeClassnameTags123Api.cs
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Api/FakeClassnameTags123Api.cs
@@ -79,7 +79,7 @@ namespace Org.OpenAPITools.Api
/// client model
/// Cancellation Token to cancel the request.
/// Task of ApiResponse (ModelClient)
- System.Threading.Tasks.Task> TestClassnameAsyncWithHttpInfo (ModelClient body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
+ System.Threading.Tasks.Task> TestClassnameWithHttpInfoAsync (ModelClient body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
#endregion Asynchronous Operations
}
@@ -270,9 +270,8 @@ namespace Org.OpenAPITools.Api
/// Task of ModelClient
public async System.Threading.Tasks.Task TestClassnameAsync (ModelClient body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{
- Org.OpenAPITools.Client.ApiResponse localVarResponse = await TestClassnameAsyncWithHttpInfo(body, cancellationToken);
+ Org.OpenAPITools.Client.ApiResponse localVarResponse = await TestClassnameWithHttpInfoAsync(body, cancellationToken);
return localVarResponse.Data;
-
}
///
@@ -282,7 +281,7 @@ namespace Org.OpenAPITools.Api
/// client model
/// Cancellation Token to cancel the request.
/// Task of ApiResponse (ModelClient)
- public async System.Threading.Tasks.Task> TestClassnameAsyncWithHttpInfo (ModelClient body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
+ public async System.Threading.Tasks.Task> TestClassnameWithHttpInfoAsync (ModelClient body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{
// verify the required parameter 'body' is set
if (body == null)
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Api/PetApi.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Api/PetApi.cs
index a9f87aeb4ea..6165a1f32b9 100644
--- a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Api/PetApi.cs
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Api/PetApi.cs
@@ -261,7 +261,7 @@ namespace Org.OpenAPITools.Api
/// Pet object that needs to be added to the store
/// Cancellation Token to cancel the request.
/// Task of ApiResponse
- System.Threading.Tasks.Task> AddPetAsyncWithHttpInfo (Pet body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
+ System.Threading.Tasks.Task> AddPetWithHttpInfoAsync (Pet body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
///
/// Deletes a pet
///
@@ -288,7 +288,7 @@ namespace Org.OpenAPITools.Api
/// (optional)
/// Cancellation Token to cancel the request.
/// Task of ApiResponse
- System.Threading.Tasks.Task> DeletePetAsyncWithHttpInfo (long petId, string apiKey = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
+ System.Threading.Tasks.Task> DeletePetWithHttpInfoAsync (long petId, string apiKey = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
///
/// Finds Pets by status
///
@@ -311,7 +311,7 @@ namespace Org.OpenAPITools.Api
/// Status values that need to be considered for filter
/// Cancellation Token to cancel the request.
/// Task of ApiResponse (List<Pet>)
- System.Threading.Tasks.Task>> FindPetsByStatusAsyncWithHttpInfo (List status, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
+ System.Threading.Tasks.Task>> FindPetsByStatusWithHttpInfoAsync (List status, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
///
/// Finds Pets by tags
///
@@ -334,7 +334,7 @@ namespace Org.OpenAPITools.Api
/// Tags to filter by
/// Cancellation Token to cancel the request.
/// Task of ApiResponse (List<Pet>)
- System.Threading.Tasks.Task>> FindPetsByTagsAsyncWithHttpInfo (List tags, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
+ System.Threading.Tasks.Task>> FindPetsByTagsWithHttpInfoAsync (List tags, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
///
/// Find pet by ID
///
@@ -357,7 +357,7 @@ namespace Org.OpenAPITools.Api
/// ID of pet to return
/// Cancellation Token to cancel the request.
/// Task of ApiResponse (Pet)
- System.Threading.Tasks.Task> GetPetByIdAsyncWithHttpInfo (long petId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
+ System.Threading.Tasks.Task> GetPetByIdWithHttpInfoAsync (long petId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
///
/// Update an existing pet
///
@@ -380,7 +380,7 @@ namespace Org.OpenAPITools.Api
/// Pet object that needs to be added to the store
/// Cancellation Token to cancel the request.
/// Task of ApiResponse
- System.Threading.Tasks.Task> UpdatePetAsyncWithHttpInfo (Pet body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
+ System.Threading.Tasks.Task> UpdatePetWithHttpInfoAsync (Pet body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
///
/// Updates a pet in the store with form data
///
@@ -411,7 +411,7 @@ namespace Org.OpenAPITools.Api
/// Updated status of the pet (optional)
/// Cancellation Token to cancel the request.
/// Task of ApiResponse
- System.Threading.Tasks.Task> UpdatePetWithFormAsyncWithHttpInfo (long petId, string name = default(string), string status = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
+ System.Threading.Tasks.Task> UpdatePetWithFormWithHttpInfoAsync (long petId, string name = default(string), string status = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
///
/// uploads an image
///
@@ -442,7 +442,7 @@ namespace Org.OpenAPITools.Api
/// file to upload (optional)
/// Cancellation Token to cancel the request.
/// Task of ApiResponse (ApiResponse)
- System.Threading.Tasks.Task> UploadFileAsyncWithHttpInfo (long petId, string additionalMetadata = default(string), System.IO.Stream file = default(System.IO.Stream), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
+ System.Threading.Tasks.Task> UploadFileWithHttpInfoAsync (long petId, string additionalMetadata = default(string), System.IO.Stream file = default(System.IO.Stream), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
///
/// uploads an image (required)
///
@@ -473,7 +473,7 @@ namespace Org.OpenAPITools.Api
/// Additional data to pass to server (optional)
/// Cancellation Token to cancel the request.
/// Task of ApiResponse (ApiResponse)
- System.Threading.Tasks.Task> UploadFileWithRequiredFileAsyncWithHttpInfo (long petId, System.IO.Stream requiredFile, string additionalMetadata = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
+ System.Threading.Tasks.Task> UploadFileWithRequiredFileWithHttpInfoAsync (long petId, System.IO.Stream requiredFile, string additionalMetadata = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
#endregion Asynchronous Operations
}
@@ -664,8 +664,7 @@ namespace Org.OpenAPITools.Api
/// Task of void
public async System.Threading.Tasks.Task AddPetAsync (Pet body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{
- await AddPetAsyncWithHttpInfo(body, cancellationToken);
-
+ await AddPetWithHttpInfoAsync(body, cancellationToken);
}
///
@@ -675,7 +674,7 @@ namespace Org.OpenAPITools.Api
/// Pet object that needs to be added to the store
/// Cancellation Token to cancel the request.
/// Task of ApiResponse
- public async System.Threading.Tasks.Task> AddPetAsyncWithHttpInfo (Pet body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
+ public async System.Threading.Tasks.Task> AddPetWithHttpInfoAsync (Pet body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{
// verify the required parameter 'body' is set
if (body == null)
@@ -794,8 +793,7 @@ namespace Org.OpenAPITools.Api
/// Task of void
public async System.Threading.Tasks.Task DeletePetAsync (long petId, string apiKey = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{
- await DeletePetAsyncWithHttpInfo(petId, apiKey, cancellationToken);
-
+ await DeletePetWithHttpInfoAsync(petId, apiKey, cancellationToken);
}
///
@@ -807,7 +805,7 @@ namespace Org.OpenAPITools.Api
/// (optional)
/// Cancellation Token to cancel the request.
/// Task of ApiResponse
- public async System.Threading.Tasks.Task> DeletePetAsyncWithHttpInfo (long petId, string apiKey = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
+ public async System.Threading.Tasks.Task> DeletePetWithHttpInfoAsync (long petId, string apiKey = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{
Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions();
@@ -923,9 +921,8 @@ namespace Org.OpenAPITools.Api
/// Task of List<Pet>
public async System.Threading.Tasks.Task> FindPetsByStatusAsync (List status, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{
- Org.OpenAPITools.Client.ApiResponse> localVarResponse = await FindPetsByStatusAsyncWithHttpInfo(status, cancellationToken);
+ Org.OpenAPITools.Client.ApiResponse> localVarResponse = await FindPetsByStatusWithHttpInfoAsync(status, cancellationToken);
return localVarResponse.Data;
-
}
///
@@ -935,7 +932,7 @@ namespace Org.OpenAPITools.Api
/// Status values that need to be considered for filter
/// Cancellation Token to cancel the request.
/// Task of ApiResponse (List<Pet>)
- public async System.Threading.Tasks.Task>> FindPetsByStatusAsyncWithHttpInfo (List status, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
+ public async System.Threading.Tasks.Task>> FindPetsByStatusWithHttpInfoAsync (List status, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{
// verify the required parameter 'status' is set
if (status == null)
@@ -1053,9 +1050,8 @@ namespace Org.OpenAPITools.Api
/// Task of List<Pet>
public async System.Threading.Tasks.Task> FindPetsByTagsAsync (List tags, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{
- Org.OpenAPITools.Client.ApiResponse> localVarResponse = await FindPetsByTagsAsyncWithHttpInfo(tags, cancellationToken);
+ Org.OpenAPITools.Client.ApiResponse> localVarResponse = await FindPetsByTagsWithHttpInfoAsync(tags, cancellationToken);
return localVarResponse.Data;
-
}
///
@@ -1065,7 +1061,7 @@ namespace Org.OpenAPITools.Api
/// Tags to filter by
/// Cancellation Token to cancel the request.
/// Task of ApiResponse (List<Pet>)
- public async System.Threading.Tasks.Task>> FindPetsByTagsAsyncWithHttpInfo (List tags, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
+ public async System.Threading.Tasks.Task>> FindPetsByTagsWithHttpInfoAsync (List tags, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{
// verify the required parameter 'tags' is set
if (tags == null)
@@ -1178,9 +1174,8 @@ namespace Org.OpenAPITools.Api
/// Task of Pet
public async System.Threading.Tasks.Task GetPetByIdAsync (long petId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{
- Org.OpenAPITools.Client.ApiResponse localVarResponse = await GetPetByIdAsyncWithHttpInfo(petId, cancellationToken);
+ Org.OpenAPITools.Client.ApiResponse localVarResponse = await GetPetByIdWithHttpInfoAsync(petId, cancellationToken);
return localVarResponse.Data;
-
}
///
@@ -1190,7 +1185,7 @@ namespace Org.OpenAPITools.Api
/// ID of pet to return
/// Cancellation Token to cancel the request.
/// Task of ApiResponse (Pet)
- public async System.Threading.Tasks.Task> GetPetByIdAsyncWithHttpInfo (long petId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
+ public async System.Threading.Tasks.Task> GetPetByIdWithHttpInfoAsync (long petId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{
Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions();
@@ -1302,8 +1297,7 @@ namespace Org.OpenAPITools.Api
/// Task of void
public async System.Threading.Tasks.Task UpdatePetAsync (Pet body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{
- await UpdatePetAsyncWithHttpInfo(body, cancellationToken);
-
+ await UpdatePetWithHttpInfoAsync(body, cancellationToken);
}
///
@@ -1313,7 +1307,7 @@ namespace Org.OpenAPITools.Api
/// Pet object that needs to be added to the store
/// Cancellation Token to cancel the request.
/// Task of ApiResponse
- public async System.Threading.Tasks.Task> UpdatePetAsyncWithHttpInfo (Pet body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
+ public async System.Threading.Tasks.Task> UpdatePetWithHttpInfoAsync (Pet body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{
// verify the required parameter 'body' is set
if (body == null)
@@ -1441,8 +1435,7 @@ namespace Org.OpenAPITools.Api
/// Task of void
public async System.Threading.Tasks.Task UpdatePetWithFormAsync (long petId, string name = default(string), string status = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{
- await UpdatePetWithFormAsyncWithHttpInfo(petId, name, status, cancellationToken);
-
+ await UpdatePetWithFormWithHttpInfoAsync(petId, name, status, cancellationToken);
}
///
@@ -1456,7 +1449,7 @@ namespace Org.OpenAPITools.Api
/// Updated status of the pet (optional)
/// Cancellation Token to cancel the request.
/// Task of ApiResponse
- public async System.Threading.Tasks.Task> UpdatePetWithFormAsyncWithHttpInfo (long petId, string name = default(string), string status = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
+ public async System.Threading.Tasks.Task> UpdatePetWithFormWithHttpInfoAsync (long petId, string name = default(string), string status = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{
Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions();
@@ -1589,9 +1582,8 @@ namespace Org.OpenAPITools.Api
/// Task of ApiResponse
public async System.Threading.Tasks.Task UploadFileAsync (long petId, string additionalMetadata = default(string), System.IO.Stream file = default(System.IO.Stream), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{
- Org.OpenAPITools.Client.ApiResponse localVarResponse = await UploadFileAsyncWithHttpInfo(petId, additionalMetadata, file, cancellationToken);
+ Org.OpenAPITools.Client.ApiResponse localVarResponse = await UploadFileWithHttpInfoAsync(petId, additionalMetadata, file, cancellationToken);
return localVarResponse.Data;
-
}
///
@@ -1605,7 +1597,7 @@ namespace Org.OpenAPITools.Api
/// file to upload (optional)
/// Cancellation Token to cancel the request.
/// Task of ApiResponse (ApiResponse)
- public async System.Threading.Tasks.Task> UploadFileAsyncWithHttpInfo (long petId, string additionalMetadata = default(string), System.IO.Stream file = default(System.IO.Stream), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
+ public async System.Threading.Tasks.Task> UploadFileWithHttpInfoAsync (long petId, string additionalMetadata = default(string), System.IO.Stream file = default(System.IO.Stream), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{
Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions();
@@ -1740,9 +1732,8 @@ namespace Org.OpenAPITools.Api
/// Task of ApiResponse
public async System.Threading.Tasks.Task UploadFileWithRequiredFileAsync (long petId, System.IO.Stream requiredFile, string additionalMetadata = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{
- Org.OpenAPITools.Client.ApiResponse localVarResponse = await UploadFileWithRequiredFileAsyncWithHttpInfo(petId, requiredFile, additionalMetadata, cancellationToken);
+ Org.OpenAPITools.Client.ApiResponse localVarResponse = await UploadFileWithRequiredFileWithHttpInfoAsync(petId, requiredFile, additionalMetadata, cancellationToken);
return localVarResponse.Data;
-
}
///
@@ -1756,7 +1747,7 @@ namespace Org.OpenAPITools.Api
/// Additional data to pass to server (optional)
/// Cancellation Token to cancel the request.
/// Task of ApiResponse (ApiResponse)
- public async System.Threading.Tasks.Task> UploadFileWithRequiredFileAsyncWithHttpInfo (long petId, System.IO.Stream requiredFile, string additionalMetadata = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
+ public async System.Threading.Tasks.Task> UploadFileWithRequiredFileWithHttpInfoAsync (long petId, System.IO.Stream requiredFile, string additionalMetadata = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{
// verify the required parameter 'requiredFile' is set
if (requiredFile == null)
diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Api/StoreApi.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Api/StoreApi.cs
index 43136943355..ef15a5e3310 100644
--- a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Api/StoreApi.cs
+++ b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Api/StoreApi.cs
@@ -140,7 +140,7 @@ namespace Org.OpenAPITools.Api
/// ID of the order that needs to be deleted
/// Cancellation Token to cancel the request.
/// Task of ApiResponse
- System.Threading.Tasks.Task> DeleteOrderAsyncWithHttpInfo (string orderId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
+ System.Threading.Tasks.Task> DeleteOrderWithHttpInfoAsync (string orderId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
///
/// Returns pet inventories by status
///
@@ -159,7 +159,7 @@ namespace Org.OpenAPITools.Api
///
/// Thrown when fails to make API call
/// Task of ApiResponse (Dictionary<string, int>)
- System.Threading.Tasks.Task>> GetInventoryAsyncWithHttpInfo (System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
+ System.Threading.Tasks.Task>> GetInventoryWithHttpInfoAsync (System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
///
/// Find purchase order by ID
///
@@ -182,7 +182,7 @@ namespace Org.OpenAPITools.Api
/// ID of pet that needs to be fetched
/// Cancellation Token to cancel the request.
/// Task of ApiResponse (Order)
- System.Threading.Tasks.Task> GetOrderByIdAsyncWithHttpInfo (long orderId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
+ System.Threading.Tasks.Task> GetOrderByIdWithHttpInfoAsync (long orderId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
///
/// Place an order for a pet
///
@@ -205,7 +205,7 @@ namespace Org.OpenAPITools.Api
/// order placed for purchasing the pet
/// Cancellation Token to cancel the request.
/// Task of ApiResponse (Order)
- System.Threading.Tasks.Task> PlaceOrderAsyncWithHttpInfo (Order body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
+ System.Threading.Tasks.Task> PlaceOrderWithHttpInfoAsync (Order body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
#endregion Asynchronous Operations
}
@@ -388,8 +388,7 @@ namespace Org.OpenAPITools.Api
/// Task of void
public async System.Threading.Tasks.Task DeleteOrderAsync (string orderId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{
- await DeleteOrderAsyncWithHttpInfo(orderId, cancellationToken);
-
+ await DeleteOrderWithHttpInfoAsync(orderId, cancellationToken);
}
///
@@ -399,7 +398,7 @@ namespace Org.OpenAPITools.Api
/// ID of the order that needs to be deleted
/// Cancellation Token to cancel the request.
/// Task of ApiResponse
- public async System.Threading.Tasks.Task> DeleteOrderAsyncWithHttpInfo (string orderId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
+ public async System.Threading.Tasks.Task> DeleteOrderWithHttpInfoAsync (string orderId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{
// verify the required parameter 'orderId' is set
if (orderId == null)
@@ -498,9 +497,8 @@ namespace Org.OpenAPITools.Api
/// Task of Dictionary<string, int>
public async System.Threading.Tasks.Task> GetInventoryAsync (System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{
- Org.OpenAPITools.Client.ApiResponse> localVarResponse = await GetInventoryAsyncWithHttpInfo(cancellationToken);
+ Org.OpenAPITools.Client.ApiResponse> localVarResponse = await GetInventoryWithHttpInfoAsync(cancellationToken);
return localVarResponse.Data;
-
}
///
@@ -508,7 +506,7 @@ namespace Org.OpenAPITools.Api
///
/// Thrown when fails to make API call
/// Task of ApiResponse (Dictionary<string, int>)
- public async System.Threading.Tasks.Task>> GetInventoryAsyncWithHttpInfo (System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
+ public async System.Threading.Tasks.Task>> GetInventoryWithHttpInfoAsync (System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{
Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions();
@@ -609,9 +607,8 @@ namespace Org.OpenAPITools.Api
///