From b6f1f0172e09bdaed8d43d3041e69af469d95d14 Mon Sep 17 00:00:00 2001 From: Tatsuro Shibamura Date: Fri, 14 Aug 2020 13:26:09 +0900 Subject: [PATCH] [C#][csharp-netcore] Improvement to standard code format (#7206) * [csharp-netcore] Improvement to standard code format * Generate sample clients --- .../csharp-netcore/ApiClient.mustache | 12 +- .../csharp-netcore/ApiException.mustache | 4 +- .../csharp-netcore/ApiResponse.mustache | 2 +- .../csharp-netcore/Configuration.mustache | 8 +- .../csharp-netcore/IApiAccessor.mustache | 2 +- .../resources/csharp-netcore/api.mustache | 38 +- .../resources/csharp-netcore/model.mustache | 8 +- .../csharp-netcore/modelGeneric.mustache | 6 +- .../Org.OpenAPITools/Api/AnotherFakeApi.cs | 38 +- .../src/Org.OpenAPITools/Api/DefaultApi.cs | 38 +- .../src/Org.OpenAPITools/Api/FakeApi.cs | 348 +++++++++--------- .../Api/FakeClassnameTags123Api.cs | 38 +- .../src/Org.OpenAPITools/Api/PetApi.cs | 222 +++++------ .../src/Org.OpenAPITools/Api/StoreApi.cs | 110 +++--- .../src/Org.OpenAPITools/Api/UserApi.cs | 184 ++++----- .../src/Org.OpenAPITools/Client/ApiClient.cs | 12 +- .../Org.OpenAPITools/Client/ApiException.cs | 4 +- .../Org.OpenAPITools/Client/ApiResponse.cs | 2 +- .../Org.OpenAPITools/Client/Configuration.cs | 8 +- .../Org.OpenAPITools/Client/IApiAccessor.cs | 2 +- .../Model/AdditionalPropertiesClass.cs | 14 +- .../src/Org.OpenAPITools/Model/Animal.cs | 14 +- .../src/Org.OpenAPITools/Model/ApiResponse.cs | 16 +- .../Model/ArrayOfArrayOfNumberOnly.cs | 12 +- .../Model/ArrayOfNumberOnly.cs | 12 +- .../src/Org.OpenAPITools/Model/ArrayTest.cs | 16 +- .../Org.OpenAPITools/Model/Capitalization.cs | 22 +- .../src/Org.OpenAPITools/Model/Cat.cs | 12 +- .../src/Org.OpenAPITools/Model/CatAllOf.cs | 12 +- .../src/Org.OpenAPITools/Model/Category.cs | 14 +- .../src/Org.OpenAPITools/Model/ClassModel.cs | 12 +- .../src/Org.OpenAPITools/Model/Dog.cs | 12 +- .../src/Org.OpenAPITools/Model/DogAllOf.cs | 12 +- .../src/Org.OpenAPITools/Model/EnumArrays.cs | 14 +- .../src/Org.OpenAPITools/Model/EnumClass.cs | 8 +- .../src/Org.OpenAPITools/Model/EnumTest.cs | 26 +- .../src/Org.OpenAPITools/Model/File.cs | 12 +- .../Model/FileSchemaTestClass.cs | 14 +- .../src/Org.OpenAPITools/Model/Foo.cs | 12 +- .../src/Org.OpenAPITools/Model/FormatTest.cs | 40 +- .../Org.OpenAPITools/Model/HasOnlyReadOnly.cs | 14 +- .../Model/HealthCheckResult.cs | 12 +- .../Org.OpenAPITools/Model/InlineObject.cs | 14 +- .../Org.OpenAPITools/Model/InlineObject1.cs | 14 +- .../Org.OpenAPITools/Model/InlineObject2.cs | 14 +- .../Org.OpenAPITools/Model/InlineObject3.cs | 38 +- .../Org.OpenAPITools/Model/InlineObject4.cs | 14 +- .../Org.OpenAPITools/Model/InlineObject5.cs | 14 +- .../Model/InlineResponseDefault.cs | 12 +- .../src/Org.OpenAPITools/Model/List.cs | 12 +- .../src/Org.OpenAPITools/Model/MapTest.cs | 18 +- ...dPropertiesAndAdditionalPropertiesClass.cs | 16 +- .../Model/Model200Response.cs | 14 +- .../src/Org.OpenAPITools/Model/ModelClient.cs | 12 +- .../src/Org.OpenAPITools/Model/Name.cs | 18 +- .../Org.OpenAPITools/Model/NullableClass.cs | 34 +- .../src/Org.OpenAPITools/Model/NumberOnly.cs | 12 +- .../src/Org.OpenAPITools/Model/Order.cs | 22 +- .../Org.OpenAPITools/Model/OuterComposite.cs | 16 +- .../src/Org.OpenAPITools/Model/OuterEnum.cs | 8 +- .../Model/OuterEnumDefaultValue.cs | 8 +- .../Model/OuterEnumInteger.cs | 8 +- .../Model/OuterEnumIntegerDefaultValue.cs | 8 +- .../src/Org.OpenAPITools/Model/Pet.cs | 22 +- .../Org.OpenAPITools/Model/ReadOnlyFirst.cs | 14 +- .../src/Org.OpenAPITools/Model/Return.cs | 12 +- .../Model/SpecialModelName.cs | 12 +- .../src/Org.OpenAPITools/Model/Tag.cs | 14 +- .../src/Org.OpenAPITools/Model/User.cs | 26 +- .../Org.OpenAPITools/Api/AnotherFakeApi.cs | 38 +- .../src/Org.OpenAPITools/Api/DefaultApi.cs | 38 +- .../src/Org.OpenAPITools/Api/FakeApi.cs | 348 +++++++++--------- .../Api/FakeClassnameTags123Api.cs | 38 +- .../src/Org.OpenAPITools/Api/PetApi.cs | 222 +++++------ .../src/Org.OpenAPITools/Api/StoreApi.cs | 110 +++--- .../src/Org.OpenAPITools/Api/UserApi.cs | 184 ++++----- .../src/Org.OpenAPITools/Client/ApiClient.cs | 12 +- .../Org.OpenAPITools/Client/ApiException.cs | 4 +- .../Org.OpenAPITools/Client/ApiResponse.cs | 2 +- .../Org.OpenAPITools/Client/Configuration.cs | 8 +- .../Org.OpenAPITools/Client/IApiAccessor.cs | 2 +- .../Model/AdditionalPropertiesClass.cs | 14 +- .../src/Org.OpenAPITools/Model/Animal.cs | 14 +- .../src/Org.OpenAPITools/Model/ApiResponse.cs | 16 +- .../Model/ArrayOfArrayOfNumberOnly.cs | 12 +- .../Model/ArrayOfNumberOnly.cs | 12 +- .../src/Org.OpenAPITools/Model/ArrayTest.cs | 16 +- .../Org.OpenAPITools/Model/Capitalization.cs | 22 +- .../src/Org.OpenAPITools/Model/Cat.cs | 12 +- .../src/Org.OpenAPITools/Model/CatAllOf.cs | 12 +- .../src/Org.OpenAPITools/Model/Category.cs | 14 +- .../src/Org.OpenAPITools/Model/ClassModel.cs | 12 +- .../src/Org.OpenAPITools/Model/Dog.cs | 12 +- .../src/Org.OpenAPITools/Model/DogAllOf.cs | 12 +- .../src/Org.OpenAPITools/Model/EnumArrays.cs | 14 +- .../src/Org.OpenAPITools/Model/EnumClass.cs | 8 +- .../src/Org.OpenAPITools/Model/EnumTest.cs | 26 +- .../src/Org.OpenAPITools/Model/File.cs | 12 +- .../Model/FileSchemaTestClass.cs | 14 +- .../src/Org.OpenAPITools/Model/Foo.cs | 12 +- .../src/Org.OpenAPITools/Model/FormatTest.cs | 40 +- .../Org.OpenAPITools/Model/HasOnlyReadOnly.cs | 14 +- .../Model/HealthCheckResult.cs | 12 +- .../Org.OpenAPITools/Model/InlineObject.cs | 14 +- .../Org.OpenAPITools/Model/InlineObject1.cs | 14 +- .../Org.OpenAPITools/Model/InlineObject2.cs | 14 +- .../Org.OpenAPITools/Model/InlineObject3.cs | 38 +- .../Org.OpenAPITools/Model/InlineObject4.cs | 14 +- .../Org.OpenAPITools/Model/InlineObject5.cs | 14 +- .../Model/InlineResponseDefault.cs | 12 +- .../src/Org.OpenAPITools/Model/List.cs | 12 +- .../src/Org.OpenAPITools/Model/MapTest.cs | 18 +- ...dPropertiesAndAdditionalPropertiesClass.cs | 16 +- .../Model/Model200Response.cs | 14 +- .../src/Org.OpenAPITools/Model/ModelClient.cs | 12 +- .../src/Org.OpenAPITools/Model/Name.cs | 18 +- .../Org.OpenAPITools/Model/NullableClass.cs | 34 +- .../src/Org.OpenAPITools/Model/NumberOnly.cs | 12 +- .../src/Org.OpenAPITools/Model/Order.cs | 22 +- .../Org.OpenAPITools/Model/OuterComposite.cs | 16 +- .../src/Org.OpenAPITools/Model/OuterEnum.cs | 8 +- .../Model/OuterEnumDefaultValue.cs | 8 +- .../Model/OuterEnumInteger.cs | 8 +- .../Model/OuterEnumIntegerDefaultValue.cs | 8 +- .../src/Org.OpenAPITools/Model/Pet.cs | 22 +- .../Org.OpenAPITools/Model/ReadOnlyFirst.cs | 14 +- .../src/Org.OpenAPITools/Model/Return.cs | 12 +- .../Model/SpecialModelName.cs | 12 +- .../src/Org.OpenAPITools/Model/Tag.cs | 14 +- .../src/Org.OpenAPITools/Model/User.cs | 26 +- 130 files changed, 1801 insertions(+), 1807 deletions(-) diff --git a/modules/openapi-generator/src/main/resources/csharp-netcore/ApiClient.mustache b/modules/openapi-generator/src/main/resources/csharp-netcore/ApiClient.mustache index 1398289b01a..8b12c16ec62 100644 --- a/modules/openapi-generator/src/main/resources/csharp-netcore/ApiClient.mustache +++ b/modules/openapi-generator/src/main/resources/csharp-netcore/ApiClient.mustache @@ -4,8 +4,6 @@ using System; using System.Collections; using System.Collections.Generic; using System.Globalization; -using System.Text.RegularExpressions; -using System.Threading.Tasks; using System.IO; {{^netStandard}} {{^supportsUWP}} @@ -17,6 +15,8 @@ using System.Net; using System.Runtime.Serialization; using System.Runtime.Serialization.Formatters; using System.Text; +using System.Text.RegularExpressions; +using System.Threading.Tasks; using Newtonsoft.Json; using Newtonsoft.Json.Serialization; using RestSharp; @@ -65,7 +65,7 @@ namespace {{packageName}}.Client public T Deserialize(IRestResponse response) { - var result = (T) Deserialize(response, typeof(T)); + var result = (T)Deserialize(response, typeof(T)); return result; } @@ -109,7 +109,7 @@ namespace {{packageName}}.Client if (type.Name.StartsWith("System.Nullable`1[[System.DateTime")) // return a datetime object { - return DateTime.Parse(response.Content, null, System.Globalization.DateTimeStyles.RoundtripKind); + return DateTime.Parse(response.Content, null, System.Globalization.DateTimeStyles.RoundtripKind); } if (type == typeof(String) || type.Name.StartsWith("System.Nullable")) // return primitive type @@ -420,7 +420,7 @@ namespace {{packageName}}.Client if (response.Cookies != null && response.Cookies.Count > 0) { - if(result.Cookies == null) result.Cookies = new List(); + if (result.Cookies == null) result.Cookies = new List(); foreach (var restResponseCookie in response.Cookies) { var cookie = new Cookie( @@ -491,7 +491,7 @@ namespace {{packageName}}.Client if (response.Cookies != null && response.Cookies.Count > 0) { - if(result.Cookies == null) result.Cookies = new List(); + if (result.Cookies == null) result.Cookies = new List(); foreach (var restResponseCookie in response.Cookies) { var cookie = new Cookie( diff --git a/modules/openapi-generator/src/main/resources/csharp-netcore/ApiException.mustache b/modules/openapi-generator/src/main/resources/csharp-netcore/ApiException.mustache index 1d252e2114c..f7dadc5573c 100644 --- a/modules/openapi-generator/src/main/resources/csharp-netcore/ApiException.mustache +++ b/modules/openapi-generator/src/main/resources/csharp-netcore/ApiException.mustache @@ -30,7 +30,7 @@ namespace {{packageName}}.Client /// /// Initializes a new instance of the class. /// - public ApiException() {} + public ApiException() { } /// /// Initializes a new instance of the class. @@ -49,7 +49,7 @@ namespace {{packageName}}.Client /// Error message. /// Error content. /// HTTP Headers. - public ApiException(int errorCode, string message, object errorContent = null, Multimap headers = null) : base(message) + public ApiException(int errorCode, string message, object errorContent = null, Multimap headers = null) : base(message) { this.ErrorCode = errorCode; this.ErrorContent = errorContent; diff --git a/modules/openapi-generator/src/main/resources/csharp-netcore/ApiResponse.mustache b/modules/openapi-generator/src/main/resources/csharp-netcore/ApiResponse.mustache index f9a79f8fe00..35bd9f72d31 100644 --- a/modules/openapi-generator/src/main/resources/csharp-netcore/ApiResponse.mustache +++ b/modules/openapi-generator/src/main/resources/csharp-netcore/ApiResponse.mustache @@ -103,7 +103,7 @@ namespace {{packageName}}.Client /// /// The raw content /// - public string RawContent { get;} + public string RawContent { get; } #endregion Properties diff --git a/modules/openapi-generator/src/main/resources/csharp-netcore/Configuration.mustache b/modules/openapi-generator/src/main/resources/csharp-netcore/Configuration.mustache index 08d97a9b2e2..da0e98f00fd 100644 --- a/modules/openapi-generator/src/main/resources/csharp-netcore/Configuration.mustache +++ b/modules/openapi-generator/src/main/resources/csharp-netcore/Configuration.mustache @@ -1,13 +1,13 @@ {{>partial_header}} using System; -using System.Reflection; {{^net35}} using System.Collections.Concurrent; {{/net35}} using System.Collections.Generic; using System.IO; using System.Linq; +using System.Reflection; using System.Security.Cryptography.X509Certificates; using System.Text; @@ -149,9 +149,7 @@ namespace {{packageName}}.Client /// public virtual string BasePath { get { return _basePath; } - set { - _basePath = value; - } + set { _basePath = value; } } /// @@ -206,7 +204,7 @@ namespace {{packageName}}.Client public string GetApiKeyWithPrefix(string apiKeyIdentifier) { string apiKeyValue; - ApiKey.TryGetValue (apiKeyIdentifier, out apiKeyValue); + ApiKey.TryGetValue(apiKeyIdentifier, out apiKeyValue); string apiKeyPrefix; if (ApiKeyPrefix.TryGetValue(apiKeyIdentifier, out apiKeyPrefix)) { diff --git a/modules/openapi-generator/src/main/resources/csharp-netcore/IApiAccessor.mustache b/modules/openapi-generator/src/main/resources/csharp-netcore/IApiAccessor.mustache index d118f8eec8d..5ef01aa6c0d 100644 --- a/modules/openapi-generator/src/main/resources/csharp-netcore/IApiAccessor.mustache +++ b/modules/openapi-generator/src/main/resources/csharp-netcore/IApiAccessor.mustache @@ -13,7 +13,7 @@ namespace {{packageName}}.Client /// Gets or sets the configuration object /// /// An instance of the Configuration - IReadableConfiguration Configuration {get; set;} + IReadableConfiguration Configuration { get; set; } /// /// Gets the base path of the API client. 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 903e67f5276..de48699e690 100644 --- a/modules/openapi-generator/src/main/resources/csharp-netcore/api.mustache +++ b/modules/openapi-generator/src/main/resources/csharp-netcore/api.mustache @@ -32,7 +32,7 @@ namespace {{packageName}}.{{apiPackage}} /// Thrown when fails to make API call {{#allParams}}/// {{description}}{{^required}} (optional{{#defaultValue}}, default to {{.}}{{/defaultValue}}){{/required}} {{/allParams}}/// {{#returnType}}{{returnType}}{{/returnType}} - {{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}void{{/returnType}} {{operationId}} ({{#allParams}}{{{dataType}}} {{paramName}}{{^required}}{{#optionalMethodArgument}} = default({{{dataType}}}){{/optionalMethodArgument}}{{/required}}{{#hasMore}}, {{/hasMore}}{{/allParams}}); + {{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}void{{/returnType}} {{operationId}}({{#allParams}}{{{dataType}}} {{paramName}}{{^required}}{{#optionalMethodArgument}} = default({{{dataType}}}){{/optionalMethodArgument}}{{/required}}{{#hasMore}}, {{/hasMore}}{{/allParams}}); /// /// {{summary}} @@ -43,7 +43,7 @@ namespace {{packageName}}.{{apiPackage}} /// Thrown when fails to make API call {{#allParams}}/// {{description}}{{^required}} (optional{{#defaultValue}}, default to {{.}}{{/defaultValue}}){{/required}} {{/allParams}}/// ApiResponse of {{#returnType}}{{returnType}}{{/returnType}}{{^returnType}}Object(void){{/returnType}} - ApiResponse<{{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}Object{{/returnType}}> {{operationId}}WithHttpInfo ({{#allParams}}{{{dataType}}} {{paramName}}{{^required}}{{#optionalMethodArgument}} = default({{{dataType}}}){{/optionalMethodArgument}}{{/required}}{{#hasMore}}, {{/hasMore}}{{/allParams}}); + ApiResponse<{{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}Object{{/returnType}}> {{operationId}}WithHttpInfo({{#allParams}}{{{dataType}}} {{paramName}}{{^required}}{{#optionalMethodArgument}} = default({{{dataType}}}){{/optionalMethodArgument}}{{/required}}{{#hasMore}}, {{/hasMore}}{{/allParams}}); {{/operation}} #endregion Synchronous Operations } @@ -68,7 +68,7 @@ namespace {{packageName}}.{{apiPackage}} {{/allParams}} /// Cancellation Token to cancel the request. /// Task of {{#returnType}}{{returnType}}{{/returnType}}{{^returnType}}void{{/returnType}} - {{#returnType}}System.Threading.Tasks.Task<{{{returnType}}}>{{/returnType}}{{^returnType}}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}}System.Threading.Tasks.Task<{{{returnType}}}>{{/returnType}}{{^returnType}}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)); /// /// {{summary}} @@ -82,7 +82,7 @@ namespace {{packageName}}.{{apiPackage}} {{/allParams}} /// Cancellation Token to cancel the request. /// Task of ApiResponse{{#returnType}} ({{returnType}}){{/returnType}} - 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)); + 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 } @@ -107,7 +107,7 @@ namespace {{packageName}}.{{apiPackage}} /// Initializes a new instance of the class. /// /// - public {{classname}}() : this((string) null) + public {{classname}}() : this((string)null) { } @@ -156,13 +156,13 @@ namespace {{packageName}}.{{apiPackage}} /// The client interface for synchronous API access.{{#supportsAsync}} /// The client interface for asynchronous API access.{{/supportsAsync}} /// The configuration object. - public {{classname}}({{packageName}}.Client.ISynchronousClient client,{{#supportsAsync}}{{packageName}}.Client.IAsynchronousClient asyncClient,{{/supportsAsync}} {{packageName}}.Client.IReadableConfiguration configuration) + public {{classname}}({{packageName}}.Client.ISynchronousClient client, {{#supportsAsync}}{{packageName}}.Client.IAsynchronousClient asyncClient, {{/supportsAsync}}{{packageName}}.Client.IReadableConfiguration configuration) { - if(client == null) throw new ArgumentNullException("client"); + if (client == null) throw new ArgumentNullException("client"); {{#supportsAsync}} - if(asyncClient == null) throw new ArgumentNullException("asyncClient"); + if (asyncClient == null) throw new ArgumentNullException("asyncClient"); {{/supportsAsync}} - if(configuration == null) throw new ArgumentNullException("configuration"); + if (configuration == null) throw new ArgumentNullException("configuration"); this.Client = client; {{#supportsAsync}} @@ -197,7 +197,7 @@ namespace {{packageName}}.{{apiPackage}} /// Gets or sets the configuration object /// /// An instance of the Configuration - public {{packageName}}.Client.IReadableConfiguration Configuration {get; set;} + public {{packageName}}.Client.IReadableConfiguration Configuration { get; set; } /// /// Provides a factory method hook for the creation of exceptions. @@ -222,10 +222,10 @@ namespace {{packageName}}.{{apiPackage}} /// Thrown when fails to make API call {{#allParams}}/// {{description}}{{^required}} (optional{{#defaultValue}}, default to {{.}}{{/defaultValue}}){{/required}} {{/allParams}}/// {{#returnType}}{{returnType}}{{/returnType}} - public {{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}void{{/returnType}} {{operationId}} ({{#allParams}}{{{dataType}}} {{paramName}}{{^required}}{{#optionalMethodArgument}} = default({{{dataType}}}){{/optionalMethodArgument}}{{/required}}{{#hasMore}}, {{/hasMore}}{{/allParams}}) + public {{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}void{{/returnType}} {{operationId}}({{#allParams}}{{{dataType}}} {{paramName}}{{^required}}{{#optionalMethodArgument}} = default({{{dataType}}}){{/optionalMethodArgument}}{{/required}}{{#hasMore}}, {{/hasMore}}{{/allParams}}) { - {{#returnType}}{{packageName}}.Client.ApiResponse<{{{returnType}}}> localVarResponse = {{operationId}}WithHttpInfo({{#allParams}}{{paramName}}{{#hasMore}}, {{/hasMore}}{{/allParams}}); - return localVarResponse.Data;{{/returnType}}{{^returnType}}{{operationId}}WithHttpInfo({{#allParams}}{{paramName}}{{#hasMore}}, {{/hasMore}}{{/allParams}});{{/returnType}} + {{#returnType}}{{packageName}}.Client.ApiResponse<{{{returnType}}}> localVarResponse = {{operationId}}WithHttpInfo({{#allParams}}{{paramName}}{{#hasMore}}, {{/hasMore}}{{/allParams}}); + return localVarResponse.Data;{{/returnType}}{{^returnType}}{{operationId}}WithHttpInfo({{#allParams}}{{paramName}}{{#hasMore}}, {{/hasMore}}{{/allParams}});{{/returnType}} } /// @@ -234,7 +234,7 @@ namespace {{packageName}}.{{apiPackage}} /// Thrown when fails to make API call {{#allParams}}/// {{description}}{{^required}} (optional{{#defaultValue}}, default to {{.}}{{/defaultValue}}){{/required}} {{/allParams}}/// ApiResponse of {{#returnType}}{{returnType}}{{/returnType}}{{^returnType}}Object(void){{/returnType}} - public {{packageName}}.Client.ApiResponse<{{#returnType}} {{{returnType}}} {{/returnType}}{{^returnType}}Object{{/returnType}}> {{operationId}}WithHttpInfo ({{#allParams}}{{{dataType}}} {{paramName}}{{^required}}{{#optionalMethodArgument}} = default({{{dataType}}}){{/optionalMethodArgument}}{{/required}}{{#hasMore}}, {{/hasMore}}{{/allParams}}) + public {{packageName}}.Client.ApiResponse<{{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}Object{{/returnType}}> {{operationId}}WithHttpInfo({{#allParams}}{{{dataType}}} {{paramName}}{{^required}}{{#optionalMethodArgument}} = default({{{dataType}}}){{/optionalMethodArgument}}{{/required}}{{#hasMore}}, {{/hasMore}}{{/allParams}}) { {{#allParams}} {{#required}} @@ -372,7 +372,7 @@ namespace {{packageName}}.{{apiPackage}} {{/authMethods}} // make the HTTP request - var localVarResponse = this.Client.{{#lambda.titlecase}}{{#lambda.lowercase}}{{httpMethod}}{{/lambda.lowercase}}{{/lambda.titlecase}}<{{#returnType}} {{{returnType}}} {{/returnType}}{{^returnType}}Object{{/returnType}}>("{{{path}}}", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.{{#lambda.titlecase}}{{#lambda.lowercase}}{{httpMethod}}{{/lambda.lowercase}}{{/lambda.titlecase}}<{{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}Object{{/returnType}}>("{{{path}}}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { @@ -393,10 +393,10 @@ namespace {{packageName}}.{{apiPackage}} {{/allParams}} /// Cancellation Token to cancel the request. /// 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}}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}}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}} + {{#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}} } /// @@ -408,7 +408,7 @@ namespace {{packageName}}.{{apiPackage}} {{/allParams}} /// Cancellation Token to cancel the request. /// Task of ApiResponse{{#returnType}} ({{returnType}}){{/returnType}} - 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)) + 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-netcore/model.mustache b/modules/openapi-generator/src/main/resources/csharp-netcore/model.mustache index 4576e9a8a85..d952a614719 100644 --- a/modules/openapi-generator/src/main/resources/csharp-netcore/model.mustache +++ b/modules/openapi-generator/src/main/resources/csharp-netcore/model.mustache @@ -1,14 +1,14 @@ {{>partial_header}} using System; -using System.Linq; -using System.IO; -using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; +using System.Linq; +using System.IO; using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; using Newtonsoft.Json; using Newtonsoft.Json.Converters; {{#models}} diff --git a/modules/openapi-generator/src/main/resources/csharp-netcore/modelGeneric.mustache b/modules/openapi-generator/src/main/resources/csharp-netcore/modelGeneric.mustache index b8ead11af00..2b4becbec50 100644 --- a/modules/openapi-generator/src/main/resources/csharp-netcore/modelGeneric.mustache +++ b/modules/openapi-generator/src/main/resources/csharp-netcore/modelGeneric.mustache @@ -11,7 +11,7 @@ [JsonSubtypes.KnownSubType(typeof({{{modelName}}}), "{{{mappingName}}}")] {{/mappedModels}} {{/discriminator}} - {{>visibility}} partial class {{classname}} : {{#parent}}{{{parent}}}, {{/parent}} IEquatable<{{classname}}>{{#validatable}}, IValidatableObject{{/validatable}} + {{>visibility}} partial class {{classname}} : {{#parent}}{{{parent}}}, {{/parent}}IEquatable<{{classname}}>{{#validatable}}, IValidatableObject{{/validatable}} { {{#vars}} {{#items.isEnum}} @@ -33,7 +33,7 @@ {{#description}} /// {{description}} {{/description}} - [DataMember(Name="{{baseName}}", EmitDefaultValue={{#vendorExtensions.x-emit-default-value}}true{{/vendorExtensions.x-emit-default-value}}{{^vendorExtensions.x-emit-default-value}}{{#isNullable}}true{{/isNullable}}{{^isNullable}}false{{/isNullable}}{{/vendorExtensions.x-emit-default-value}})] + [DataMember(Name = "{{baseName}}", EmitDefaultValue = {{#vendorExtensions.x-emit-default-value}}true{{/vendorExtensions.x-emit-default-value}}{{^vendorExtensions.x-emit-default-value}}{{#isNullable}}true{{/isNullable}}{{^isNullable}}false{{/isNullable}}{{/vendorExtensions.x-emit-default-value}})] public {{#complexType}}{{{complexType}}}{{/complexType}}{{^complexType}}{{{datatypeWithEnum}}}{{/complexType}}{{^isContainer}}{{^required}}?{{/required}}{{/isContainer}} {{name}} { get; set; } {{/isEnum}} {{/vars}} @@ -101,7 +101,7 @@ /// {{^description}}Gets or Sets {{{name}}}{{/description}}{{#description}}{{description}}{{/description}} /// {{#description}} /// {{description}}{{/description}} - [DataMember(Name="{{baseName}}", EmitDefaultValue={{#vendorExtensions.x-emit-default-value}}true{{/vendorExtensions.x-emit-default-value}}{{^vendorExtensions.x-emit-default-value}}{{#isNullable}}true{{/isNullable}}{{^isNullable}}false{{/isNullable}}{{/vendorExtensions.x-emit-default-value}})]{{#isDate}} + [DataMember(Name = "{{baseName}}", EmitDefaultValue = {{#vendorExtensions.x-emit-default-value}}true{{/vendorExtensions.x-emit-default-value}}{{^vendorExtensions.x-emit-default-value}}{{#isNullable}}true{{/isNullable}}{{^isNullable}}false{{/isNullable}}{{/vendorExtensions.x-emit-default-value}})]{{#isDate}} [JsonConverter(typeof(OpenAPIDateConverter))]{{/isDate}} public {{{dataType}}} {{name}} { get; {{#isReadOnly}}private {{/isReadOnly}}set; } 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 cb9b588a58a..d934f08a9c3 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 @@ -35,7 +35,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// client model /// ModelClient - ModelClient Call123TestSpecialTags (ModelClient modelClient); + ModelClient Call123TestSpecialTags(ModelClient modelClient); /// /// To test special tags @@ -46,7 +46,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// client model /// ApiResponse of ModelClient - ApiResponse Call123TestSpecialTagsWithHttpInfo (ModelClient modelClient); + ApiResponse Call123TestSpecialTagsWithHttpInfo(ModelClient modelClient); #endregion Synchronous Operations } @@ -66,7 +66,7 @@ namespace Org.OpenAPITools.Api /// client model /// Cancellation Token to cancel the request. /// Task of ModelClient - System.Threading.Tasks.Task Call123TestSpecialTagsAsync (ModelClient modelClient, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task Call123TestSpecialTagsAsync(ModelClient modelClient, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// To test special tags @@ -78,7 +78,7 @@ namespace Org.OpenAPITools.Api /// client model /// Cancellation Token to cancel the request. /// Task of ApiResponse (ModelClient) - System.Threading.Tasks.Task> Call123TestSpecialTagsWithHttpInfoAsync (ModelClient modelClient, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task> Call123TestSpecialTagsWithHttpInfoAsync(ModelClient modelClient, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); #endregion Asynchronous Operations } @@ -101,7 +101,7 @@ namespace Org.OpenAPITools.Api /// Initializes a new instance of the class. /// /// - public AnotherFakeApi() : this((string) null) + public AnotherFakeApi() : this((string)null) { } @@ -146,11 +146,11 @@ namespace Org.OpenAPITools.Api /// The client interface for synchronous API access. /// The client interface for asynchronous API access. /// The configuration object. - public AnotherFakeApi(Org.OpenAPITools.Client.ISynchronousClient client,Org.OpenAPITools.Client.IAsynchronousClient asyncClient, Org.OpenAPITools.Client.IReadableConfiguration configuration) + public AnotherFakeApi(Org.OpenAPITools.Client.ISynchronousClient client, Org.OpenAPITools.Client.IAsynchronousClient asyncClient, Org.OpenAPITools.Client.IReadableConfiguration configuration) { - if(client == null) throw new ArgumentNullException("client"); - if(asyncClient == null) throw new ArgumentNullException("asyncClient"); - if(configuration == null) throw new ArgumentNullException("configuration"); + if (client == null) throw new ArgumentNullException("client"); + if (asyncClient == null) throw new ArgumentNullException("asyncClient"); + if (configuration == null) throw new ArgumentNullException("configuration"); this.Client = client; this.AsynchronousClient = asyncClient; @@ -181,7 +181,7 @@ namespace Org.OpenAPITools.Api /// Gets or sets the configuration object /// /// An instance of the Configuration - public Org.OpenAPITools.Client.IReadableConfiguration Configuration {get; set;} + public Org.OpenAPITools.Client.IReadableConfiguration Configuration { get; set; } /// /// Provides a factory method hook for the creation of exceptions. @@ -205,10 +205,10 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// client model /// ModelClient - public ModelClient Call123TestSpecialTags (ModelClient modelClient) + public ModelClient Call123TestSpecialTags(ModelClient modelClient) { - Org.OpenAPITools.Client.ApiResponse localVarResponse = Call123TestSpecialTagsWithHttpInfo(modelClient); - return localVarResponse.Data; + Org.OpenAPITools.Client.ApiResponse localVarResponse = Call123TestSpecialTagsWithHttpInfo(modelClient); + return localVarResponse.Data; } /// @@ -217,7 +217,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// client model /// ApiResponse of ModelClient - public Org.OpenAPITools.Client.ApiResponse< ModelClient > Call123TestSpecialTagsWithHttpInfo (ModelClient modelClient) + public Org.OpenAPITools.Client.ApiResponse Call123TestSpecialTagsWithHttpInfo(ModelClient modelClient) { // verify the required parameter 'modelClient' is set if (modelClient == null) @@ -244,7 +244,7 @@ namespace Org.OpenAPITools.Api // make the HTTP request - var localVarResponse = this.Client.Patch< ModelClient >("/another-fake/dummy", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Patch("/another-fake/dummy", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { @@ -262,10 +262,10 @@ namespace Org.OpenAPITools.Api /// client model /// Cancellation Token to cancel the request. /// Task of ModelClient - public async System.Threading.Tasks.Task Call123TestSpecialTagsAsync (ModelClient modelClient, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task Call123TestSpecialTagsAsync(ModelClient modelClient, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.ApiResponse localVarResponse = await Call123TestSpecialTagsWithHttpInfoAsync(modelClient, cancellationToken); - return localVarResponse.Data; + Org.OpenAPITools.Client.ApiResponse localVarResponse = await Call123TestSpecialTagsWithHttpInfoAsync(modelClient, cancellationToken); + return localVarResponse.Data; } /// @@ -275,7 +275,7 @@ namespace Org.OpenAPITools.Api /// client model /// Cancellation Token to cancel the request. /// Task of ApiResponse (ModelClient) - public async System.Threading.Tasks.Task> Call123TestSpecialTagsWithHttpInfoAsync (ModelClient modelClient, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> Call123TestSpecialTagsWithHttpInfoAsync(ModelClient modelClient, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'modelClient' is set if (modelClient == null) diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Api/DefaultApi.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Api/DefaultApi.cs index eb8ff109acc..150606b6f69 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Api/DefaultApi.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Api/DefaultApi.cs @@ -31,7 +31,7 @@ namespace Org.OpenAPITools.Api /// /// Thrown when fails to make API call /// InlineResponseDefault - InlineResponseDefault FooGet (); + InlineResponseDefault FooGet(); /// /// @@ -41,7 +41,7 @@ namespace Org.OpenAPITools.Api /// /// Thrown when fails to make API call /// ApiResponse of InlineResponseDefault - ApiResponse FooGetWithHttpInfo (); + ApiResponse FooGetWithHttpInfo(); #endregion Synchronous Operations } @@ -60,7 +60,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// Cancellation Token to cancel the request. /// Task of InlineResponseDefault - System.Threading.Tasks.Task FooGetAsync (System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task FooGetAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// @@ -71,7 +71,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// Cancellation Token to cancel the request. /// Task of ApiResponse (InlineResponseDefault) - System.Threading.Tasks.Task> FooGetWithHttpInfoAsync (System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task> FooGetWithHttpInfoAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); #endregion Asynchronous Operations } @@ -94,7 +94,7 @@ namespace Org.OpenAPITools.Api /// Initializes a new instance of the class. /// /// - public DefaultApi() : this((string) null) + public DefaultApi() : this((string)null) { } @@ -139,11 +139,11 @@ namespace Org.OpenAPITools.Api /// The client interface for synchronous API access. /// The client interface for asynchronous API access. /// The configuration object. - public DefaultApi(Org.OpenAPITools.Client.ISynchronousClient client,Org.OpenAPITools.Client.IAsynchronousClient asyncClient, Org.OpenAPITools.Client.IReadableConfiguration configuration) + public DefaultApi(Org.OpenAPITools.Client.ISynchronousClient client, Org.OpenAPITools.Client.IAsynchronousClient asyncClient, Org.OpenAPITools.Client.IReadableConfiguration configuration) { - if(client == null) throw new ArgumentNullException("client"); - if(asyncClient == null) throw new ArgumentNullException("asyncClient"); - if(configuration == null) throw new ArgumentNullException("configuration"); + if (client == null) throw new ArgumentNullException("client"); + if (asyncClient == null) throw new ArgumentNullException("asyncClient"); + if (configuration == null) throw new ArgumentNullException("configuration"); this.Client = client; this.AsynchronousClient = asyncClient; @@ -174,7 +174,7 @@ namespace Org.OpenAPITools.Api /// Gets or sets the configuration object /// /// An instance of the Configuration - public Org.OpenAPITools.Client.IReadableConfiguration Configuration {get; set;} + public Org.OpenAPITools.Client.IReadableConfiguration Configuration { get; set; } /// /// Provides a factory method hook for the creation of exceptions. @@ -197,10 +197,10 @@ namespace Org.OpenAPITools.Api /// /// Thrown when fails to make API call /// InlineResponseDefault - public InlineResponseDefault FooGet () + public InlineResponseDefault FooGet() { - Org.OpenAPITools.Client.ApiResponse localVarResponse = FooGetWithHttpInfo(); - return localVarResponse.Data; + Org.OpenAPITools.Client.ApiResponse localVarResponse = FooGetWithHttpInfo(); + return localVarResponse.Data; } /// @@ -208,7 +208,7 @@ namespace Org.OpenAPITools.Api /// /// Thrown when fails to make API call /// ApiResponse of InlineResponseDefault - public Org.OpenAPITools.Client.ApiResponse< InlineResponseDefault > FooGetWithHttpInfo () + public Org.OpenAPITools.Client.ApiResponse FooGetWithHttpInfo() { Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); @@ -229,7 +229,7 @@ namespace Org.OpenAPITools.Api // make the HTTP request - var localVarResponse = this.Client.Get< InlineResponseDefault >("/foo", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get("/foo", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { @@ -246,10 +246,10 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// Cancellation Token to cancel the request. /// Task of InlineResponseDefault - public async System.Threading.Tasks.Task FooGetAsync (System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task FooGetAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.ApiResponse localVarResponse = await FooGetWithHttpInfoAsync(cancellationToken); - return localVarResponse.Data; + Org.OpenAPITools.Client.ApiResponse localVarResponse = await FooGetWithHttpInfoAsync(cancellationToken); + return localVarResponse.Data; } /// @@ -258,7 +258,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// Cancellation Token to cancel the request. /// Task of ApiResponse (InlineResponseDefault) - public async System.Threading.Tasks.Task> FooGetWithHttpInfoAsync (System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> FooGetWithHttpInfoAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); 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 3af0e35f7d6..0a354599ae9 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 @@ -31,7 +31,7 @@ namespace Org.OpenAPITools.Api /// /// Thrown when fails to make API call /// HealthCheckResult - HealthCheckResult FakeHealthGet (); + HealthCheckResult FakeHealthGet(); /// /// Health check endpoint @@ -41,7 +41,7 @@ namespace Org.OpenAPITools.Api /// /// Thrown when fails to make API call /// ApiResponse of HealthCheckResult - ApiResponse FakeHealthGetWithHttpInfo (); + ApiResponse FakeHealthGetWithHttpInfo(); /// /// test http signature authentication /// @@ -50,7 +50,7 @@ namespace Org.OpenAPITools.Api /// query parameter (optional) /// header parameter (optional) /// - void FakeHttpSignatureTest (Pet pet, string query1 = default(string), string header1 = default(string)); + void FakeHttpSignatureTest(Pet pet, string query1 = default(string), string header1 = default(string)); /// /// test http signature authentication @@ -63,7 +63,7 @@ namespace Org.OpenAPITools.Api /// query parameter (optional) /// header parameter (optional) /// ApiResponse of Object(void) - ApiResponse FakeHttpSignatureTestWithHttpInfo (Pet pet, string query1 = default(string), string header1 = default(string)); + ApiResponse FakeHttpSignatureTestWithHttpInfo(Pet pet, string query1 = default(string), string header1 = default(string)); /// /// /// @@ -73,7 +73,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// Input boolean as post body (optional) /// bool - bool FakeOuterBooleanSerialize (bool? body = default(bool?)); + bool FakeOuterBooleanSerialize(bool? body = default(bool?)); /// /// @@ -84,7 +84,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// Input boolean as post body (optional) /// ApiResponse of bool - ApiResponse FakeOuterBooleanSerializeWithHttpInfo (bool? body = default(bool?)); + ApiResponse FakeOuterBooleanSerializeWithHttpInfo(bool? body = default(bool?)); /// /// /// @@ -94,7 +94,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// Input composite as post body (optional) /// OuterComposite - OuterComposite FakeOuterCompositeSerialize (OuterComposite outerComposite = default(OuterComposite)); + OuterComposite FakeOuterCompositeSerialize(OuterComposite outerComposite = default(OuterComposite)); /// /// @@ -105,7 +105,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// Input composite as post body (optional) /// ApiResponse of OuterComposite - ApiResponse FakeOuterCompositeSerializeWithHttpInfo (OuterComposite outerComposite = default(OuterComposite)); + ApiResponse FakeOuterCompositeSerializeWithHttpInfo(OuterComposite outerComposite = default(OuterComposite)); /// /// /// @@ -115,7 +115,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// Input number as post body (optional) /// decimal - decimal FakeOuterNumberSerialize (decimal? body = default(decimal?)); + decimal FakeOuterNumberSerialize(decimal? body = default(decimal?)); /// /// @@ -126,7 +126,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// Input number as post body (optional) /// ApiResponse of decimal - ApiResponse FakeOuterNumberSerializeWithHttpInfo (decimal? body = default(decimal?)); + ApiResponse FakeOuterNumberSerializeWithHttpInfo(decimal? body = default(decimal?)); /// /// /// @@ -136,7 +136,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// Input string as post body (optional) /// string - string FakeOuterStringSerialize (string body = default(string)); + string FakeOuterStringSerialize(string body = default(string)); /// /// @@ -147,7 +147,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// Input string as post body (optional) /// ApiResponse of string - ApiResponse FakeOuterStringSerializeWithHttpInfo (string body = default(string)); + ApiResponse FakeOuterStringSerializeWithHttpInfo(string body = default(string)); /// /// /// @@ -157,7 +157,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// /// - void TestBodyWithFileSchema (FileSchemaTestClass fileSchemaTestClass); + void TestBodyWithFileSchema(FileSchemaTestClass fileSchemaTestClass); /// /// @@ -168,7 +168,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// /// ApiResponse of Object(void) - ApiResponse TestBodyWithFileSchemaWithHttpInfo (FileSchemaTestClass fileSchemaTestClass); + ApiResponse TestBodyWithFileSchemaWithHttpInfo(FileSchemaTestClass fileSchemaTestClass); /// /// /// @@ -176,7 +176,7 @@ namespace Org.OpenAPITools.Api /// /// /// - void TestBodyWithQueryParams (string query, User user); + void TestBodyWithQueryParams(string query, User user); /// /// @@ -188,7 +188,7 @@ namespace Org.OpenAPITools.Api /// /// /// ApiResponse of Object(void) - ApiResponse TestBodyWithQueryParamsWithHttpInfo (string query, User user); + ApiResponse TestBodyWithQueryParamsWithHttpInfo(string query, User user); /// /// To test \"client\" model /// @@ -198,7 +198,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// client model /// ModelClient - ModelClient TestClientModel (ModelClient modelClient); + ModelClient TestClientModel(ModelClient modelClient); /// /// To test \"client\" model @@ -209,7 +209,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// client model /// ApiResponse of ModelClient - ApiResponse TestClientModelWithHttpInfo (ModelClient modelClient); + ApiResponse TestClientModelWithHttpInfo(ModelClient modelClient); /// /// Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트 /// @@ -232,7 +232,7 @@ namespace Org.OpenAPITools.Api /// None (optional) /// None (optional) /// - void TestEndpointParameters (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)); + void TestEndpointParameters(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)); /// /// Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트 @@ -256,7 +256,7 @@ namespace Org.OpenAPITools.Api /// None (optional) /// None (optional) /// ApiResponse of Object(void) - ApiResponse TestEndpointParametersWithHttpInfo (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)); + ApiResponse TestEndpointParametersWithHttpInfo(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)); /// /// To test enum parameters /// @@ -273,7 +273,7 @@ namespace Org.OpenAPITools.Api /// Form parameter enum test (string array) (optional, default to $) /// Form parameter enum test (string) (optional, default to -efg) /// - void TestEnumParameters (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)); + void TestEnumParameters(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)); /// /// To test enum parameters @@ -291,7 +291,7 @@ namespace Org.OpenAPITools.Api /// Form parameter enum test (string array) (optional, default to $) /// Form parameter enum test (string) (optional, default to -efg) /// ApiResponse of Object(void) - ApiResponse TestEnumParametersWithHttpInfo (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)); + ApiResponse TestEnumParametersWithHttpInfo(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)); /// /// Fake endpoint to test group parameters (optional) /// @@ -306,7 +306,7 @@ namespace Org.OpenAPITools.Api /// Boolean in group parameters (optional) /// Integer in group parameters (optional) /// - void TestGroupParameters (int requiredStringGroup, bool requiredBooleanGroup, long requiredInt64Group, int? stringGroup = default(int?), bool? booleanGroup = default(bool?), long? int64Group = default(long?)); + void TestGroupParameters(int requiredStringGroup, bool requiredBooleanGroup, long requiredInt64Group, int? stringGroup = default(int?), bool? booleanGroup = default(bool?), long? int64Group = default(long?)); /// /// Fake endpoint to test group parameters (optional) @@ -322,14 +322,14 @@ namespace Org.OpenAPITools.Api /// Boolean in group parameters (optional) /// Integer in group parameters (optional) /// ApiResponse of Object(void) - ApiResponse TestGroupParametersWithHttpInfo (int requiredStringGroup, bool requiredBooleanGroup, long requiredInt64Group, int? stringGroup = default(int?), bool? booleanGroup = default(bool?), long? int64Group = default(long?)); + ApiResponse TestGroupParametersWithHttpInfo(int requiredStringGroup, bool requiredBooleanGroup, long requiredInt64Group, int? stringGroup = default(int?), bool? booleanGroup = default(bool?), long? int64Group = default(long?)); /// /// test inline additionalProperties /// /// Thrown when fails to make API call /// request body /// - void TestInlineAdditionalProperties (Dictionary requestBody); + void TestInlineAdditionalProperties(Dictionary requestBody); /// /// test inline additionalProperties @@ -340,7 +340,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// request body /// ApiResponse of Object(void) - ApiResponse TestInlineAdditionalPropertiesWithHttpInfo (Dictionary requestBody); + ApiResponse TestInlineAdditionalPropertiesWithHttpInfo(Dictionary requestBody); /// /// test json serialization of form data /// @@ -348,7 +348,7 @@ namespace Org.OpenAPITools.Api /// field1 /// field2 /// - void TestJsonFormData (string param, string param2); + void TestJsonFormData(string param, string param2); /// /// test json serialization of form data @@ -360,7 +360,7 @@ namespace Org.OpenAPITools.Api /// field1 /// field2 /// ApiResponse of Object(void) - ApiResponse TestJsonFormDataWithHttpInfo (string param, string param2); + ApiResponse TestJsonFormDataWithHttpInfo(string param, string param2); /// /// /// @@ -374,7 +374,7 @@ namespace Org.OpenAPITools.Api /// /// /// - void TestQueryParameterCollectionFormat (List pipe, List ioutil, List http, List url, List context); + void TestQueryParameterCollectionFormat(List pipe, List ioutil, List http, List url, List context); /// /// @@ -389,7 +389,7 @@ namespace Org.OpenAPITools.Api /// /// /// ApiResponse of Object(void) - ApiResponse TestQueryParameterCollectionFormatWithHttpInfo (List pipe, List ioutil, List http, List url, List context); + ApiResponse TestQueryParameterCollectionFormatWithHttpInfo(List pipe, List ioutil, List http, List url, List context); #endregion Synchronous Operations } @@ -408,7 +408,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// Cancellation Token to cancel the request. /// Task of HealthCheckResult - System.Threading.Tasks.Task FakeHealthGetAsync (System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task FakeHealthGetAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// Health check endpoint @@ -419,7 +419,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// Cancellation Token to cancel the request. /// Task of ApiResponse (HealthCheckResult) - System.Threading.Tasks.Task> FakeHealthGetWithHttpInfoAsync (System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task> FakeHealthGetWithHttpInfoAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// test http signature authentication /// @@ -432,7 +432,7 @@ namespace Org.OpenAPITools.Api /// header parameter (optional) /// Cancellation Token to cancel the request. /// Task of void - System.Threading.Tasks.Task FakeHttpSignatureTestAsync (Pet pet, string query1 = default(string), string header1 = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task FakeHttpSignatureTestAsync(Pet pet, string query1 = default(string), string header1 = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// test http signature authentication @@ -446,7 +446,7 @@ namespace Org.OpenAPITools.Api /// header parameter (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse - System.Threading.Tasks.Task> FakeHttpSignatureTestWithHttpInfoAsync (Pet pet, string query1 = default(string), string header1 = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task> FakeHttpSignatureTestWithHttpInfoAsync(Pet pet, string query1 = default(string), string header1 = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// /// @@ -457,7 +457,7 @@ namespace Org.OpenAPITools.Api /// Input boolean as post body (optional) /// Cancellation Token to cancel the request. /// Task of bool - System.Threading.Tasks.Task FakeOuterBooleanSerializeAsync (bool? body = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task FakeOuterBooleanSerializeAsync(bool? body = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// @@ -469,7 +469,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> FakeOuterBooleanSerializeWithHttpInfoAsync (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)); /// /// /// @@ -480,7 +480,7 @@ namespace Org.OpenAPITools.Api /// Input composite as post body (optional) /// Cancellation Token to cancel the request. /// Task of OuterComposite - System.Threading.Tasks.Task FakeOuterCompositeSerializeAsync (OuterComposite outerComposite = default(OuterComposite), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task FakeOuterCompositeSerializeAsync(OuterComposite outerComposite = default(OuterComposite), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// @@ -492,7 +492,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> FakeOuterCompositeSerializeWithHttpInfoAsync (OuterComposite outerComposite = default(OuterComposite), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task> FakeOuterCompositeSerializeWithHttpInfoAsync(OuterComposite outerComposite = default(OuterComposite), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// /// @@ -503,7 +503,7 @@ namespace Org.OpenAPITools.Api /// Input number as post body (optional) /// Cancellation Token to cancel the request. /// Task of decimal - System.Threading.Tasks.Task FakeOuterNumberSerializeAsync (decimal? body = default(decimal?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task FakeOuterNumberSerializeAsync(decimal? body = default(decimal?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// @@ -515,7 +515,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> FakeOuterNumberSerializeWithHttpInfoAsync (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)); /// /// /// @@ -526,7 +526,7 @@ namespace Org.OpenAPITools.Api /// Input string as post body (optional) /// Cancellation Token to cancel the request. /// Task of string - System.Threading.Tasks.Task FakeOuterStringSerializeAsync (string body = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task FakeOuterStringSerializeAsync(string body = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// @@ -538,7 +538,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> FakeOuterStringSerializeWithHttpInfoAsync (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)); /// /// /// @@ -549,7 +549,7 @@ namespace Org.OpenAPITools.Api /// /// Cancellation Token to cancel the request. /// Task of void - System.Threading.Tasks.Task TestBodyWithFileSchemaAsync (FileSchemaTestClass fileSchemaTestClass, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task TestBodyWithFileSchemaAsync(FileSchemaTestClass fileSchemaTestClass, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// @@ -561,7 +561,7 @@ namespace Org.OpenAPITools.Api /// /// Cancellation Token to cancel the request. /// Task of ApiResponse - System.Threading.Tasks.Task> TestBodyWithFileSchemaWithHttpInfoAsync (FileSchemaTestClass fileSchemaTestClass, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task> TestBodyWithFileSchemaWithHttpInfoAsync(FileSchemaTestClass fileSchemaTestClass, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// /// @@ -573,7 +573,7 @@ namespace Org.OpenAPITools.Api /// /// Cancellation Token to cancel the request. /// Task of void - System.Threading.Tasks.Task TestBodyWithQueryParamsAsync (string query, User user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task TestBodyWithQueryParamsAsync(string query, User user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// @@ -586,7 +586,7 @@ namespace Org.OpenAPITools.Api /// /// Cancellation Token to cancel the request. /// Task of ApiResponse - System.Threading.Tasks.Task> TestBodyWithQueryParamsWithHttpInfoAsync (string query, User user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task> TestBodyWithQueryParamsWithHttpInfoAsync(string query, User user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// To test \"client\" model /// @@ -597,7 +597,7 @@ namespace Org.OpenAPITools.Api /// client model /// Cancellation Token to cancel the request. /// Task of ModelClient - System.Threading.Tasks.Task TestClientModelAsync (ModelClient modelClient, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task TestClientModelAsync(ModelClient modelClient, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// To test \"client\" model @@ -609,7 +609,7 @@ namespace Org.OpenAPITools.Api /// client model /// Cancellation Token to cancel the request. /// Task of ApiResponse (ModelClient) - System.Threading.Tasks.Task> TestClientModelWithHttpInfoAsync (ModelClient modelClient, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task> TestClientModelWithHttpInfoAsync(ModelClient modelClient, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트 /// @@ -633,7 +633,7 @@ namespace Org.OpenAPITools.Api /// None (optional) /// Cancellation Token to cancel the request. /// Task of void - 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)); + 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)); /// /// Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트 @@ -658,7 +658,7 @@ namespace Org.OpenAPITools.Api /// None (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse - 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)); + 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 /// @@ -676,7 +676,7 @@ namespace Org.OpenAPITools.Api /// Form parameter enum test (string) (optional, default to -efg) /// Cancellation Token to cancel the request. /// Task of void - 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)); + 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)); /// /// To test enum parameters @@ -695,7 +695,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> 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)); + 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) /// @@ -711,7 +711,7 @@ namespace Org.OpenAPITools.Api /// Integer in group parameters (optional) /// Cancellation Token to cancel the request. /// Task of void - 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)); + 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)); /// /// Fake endpoint to test group parameters (optional) @@ -728,7 +728,7 @@ namespace Org.OpenAPITools.Api /// Integer in group parameters (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse - 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)); + 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 /// @@ -739,7 +739,7 @@ namespace Org.OpenAPITools.Api /// request body /// Cancellation Token to cancel the request. /// Task of void - System.Threading.Tasks.Task TestInlineAdditionalPropertiesAsync (Dictionary requestBody, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task TestInlineAdditionalPropertiesAsync(Dictionary requestBody, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// test inline additionalProperties @@ -751,7 +751,7 @@ namespace Org.OpenAPITools.Api /// request body /// Cancellation Token to cancel the request. /// Task of ApiResponse - System.Threading.Tasks.Task> TestInlineAdditionalPropertiesWithHttpInfoAsync (Dictionary requestBody, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task> TestInlineAdditionalPropertiesWithHttpInfoAsync(Dictionary requestBody, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// test json serialization of form data /// @@ -763,7 +763,7 @@ namespace Org.OpenAPITools.Api /// field2 /// Cancellation Token to cancel the request. /// Task of void - System.Threading.Tasks.Task TestJsonFormDataAsync (string param, string param2, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task TestJsonFormDataAsync(string param, string param2, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// test json serialization of form data @@ -776,7 +776,7 @@ namespace Org.OpenAPITools.Api /// field2 /// Cancellation Token to cancel the request. /// Task of ApiResponse - System.Threading.Tasks.Task> TestJsonFormDataWithHttpInfoAsync (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)); /// /// /// @@ -791,7 +791,7 @@ namespace Org.OpenAPITools.Api /// /// Cancellation Token to cancel the request. /// Task of void - System.Threading.Tasks.Task TestQueryParameterCollectionFormatAsync (List pipe, List ioutil, List http, List url, List context, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task TestQueryParameterCollectionFormatAsync(List pipe, List ioutil, List http, List url, List context, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// @@ -807,7 +807,7 @@ namespace Org.OpenAPITools.Api /// /// Cancellation Token to cancel the request. /// Task of ApiResponse - System.Threading.Tasks.Task> TestQueryParameterCollectionFormatWithHttpInfoAsync (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 } @@ -830,7 +830,7 @@ namespace Org.OpenAPITools.Api /// Initializes a new instance of the class. /// /// - public FakeApi() : this((string) null) + public FakeApi() : this((string)null) { } @@ -875,11 +875,11 @@ namespace Org.OpenAPITools.Api /// The client interface for synchronous API access. /// The client interface for asynchronous API access. /// The configuration object. - public FakeApi(Org.OpenAPITools.Client.ISynchronousClient client,Org.OpenAPITools.Client.IAsynchronousClient asyncClient, Org.OpenAPITools.Client.IReadableConfiguration configuration) + public FakeApi(Org.OpenAPITools.Client.ISynchronousClient client, Org.OpenAPITools.Client.IAsynchronousClient asyncClient, Org.OpenAPITools.Client.IReadableConfiguration configuration) { - if(client == null) throw new ArgumentNullException("client"); - if(asyncClient == null) throw new ArgumentNullException("asyncClient"); - if(configuration == null) throw new ArgumentNullException("configuration"); + if (client == null) throw new ArgumentNullException("client"); + if (asyncClient == null) throw new ArgumentNullException("asyncClient"); + if (configuration == null) throw new ArgumentNullException("configuration"); this.Client = client; this.AsynchronousClient = asyncClient; @@ -910,7 +910,7 @@ namespace Org.OpenAPITools.Api /// Gets or sets the configuration object /// /// An instance of the Configuration - public Org.OpenAPITools.Client.IReadableConfiguration Configuration {get; set;} + public Org.OpenAPITools.Client.IReadableConfiguration Configuration { get; set; } /// /// Provides a factory method hook for the creation of exceptions. @@ -933,10 +933,10 @@ namespace Org.OpenAPITools.Api /// /// Thrown when fails to make API call /// HealthCheckResult - public HealthCheckResult FakeHealthGet () + public HealthCheckResult FakeHealthGet() { - Org.OpenAPITools.Client.ApiResponse localVarResponse = FakeHealthGetWithHttpInfo(); - return localVarResponse.Data; + Org.OpenAPITools.Client.ApiResponse localVarResponse = FakeHealthGetWithHttpInfo(); + return localVarResponse.Data; } /// @@ -944,7 +944,7 @@ namespace Org.OpenAPITools.Api /// /// Thrown when fails to make API call /// ApiResponse of HealthCheckResult - public Org.OpenAPITools.Client.ApiResponse< HealthCheckResult > FakeHealthGetWithHttpInfo () + public Org.OpenAPITools.Client.ApiResponse FakeHealthGetWithHttpInfo() { Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); @@ -965,7 +965,7 @@ namespace Org.OpenAPITools.Api // make the HTTP request - var localVarResponse = this.Client.Get< HealthCheckResult >("/fake/health", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get("/fake/health", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { @@ -982,10 +982,10 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// Cancellation Token to cancel the request. /// Task of HealthCheckResult - public async System.Threading.Tasks.Task FakeHealthGetAsync (System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task FakeHealthGetAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.ApiResponse localVarResponse = await FakeHealthGetWithHttpInfoAsync(cancellationToken); - return localVarResponse.Data; + Org.OpenAPITools.Client.ApiResponse localVarResponse = await FakeHealthGetWithHttpInfoAsync(cancellationToken); + return localVarResponse.Data; } /// @@ -994,7 +994,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// Cancellation Token to cancel the request. /// Task of ApiResponse (HealthCheckResult) - public async System.Threading.Tasks.Task> FakeHealthGetWithHttpInfoAsync (System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> FakeHealthGetWithHttpInfoAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); @@ -1037,9 +1037,9 @@ namespace Org.OpenAPITools.Api /// query parameter (optional) /// header parameter (optional) /// - public void FakeHttpSignatureTest (Pet pet, string query1 = default(string), string header1 = default(string)) + public void FakeHttpSignatureTest(Pet pet, string query1 = default(string), string header1 = default(string)) { - FakeHttpSignatureTestWithHttpInfo(pet, query1, header1); + FakeHttpSignatureTestWithHttpInfo(pet, query1, header1); } /// @@ -1050,7 +1050,7 @@ namespace Org.OpenAPITools.Api /// query parameter (optional) /// header parameter (optional) /// ApiResponse of Object(void) - public Org.OpenAPITools.Client.ApiResponse FakeHttpSignatureTestWithHttpInfo (Pet pet, string query1 = default(string), string header1 = default(string)) + public Org.OpenAPITools.Client.ApiResponse FakeHttpSignatureTestWithHttpInfo(Pet pet, string query1 = default(string), string header1 = default(string)) { // verify the required parameter 'pet' is set if (pet == null) @@ -1106,9 +1106,9 @@ namespace Org.OpenAPITools.Api /// header parameter (optional) /// Cancellation Token to cancel the request. /// Task of void - public async System.Threading.Tasks.Task FakeHttpSignatureTestAsync (Pet pet, string query1 = default(string), string header1 = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task FakeHttpSignatureTestAsync(Pet pet, string query1 = default(string), string header1 = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - await FakeHttpSignatureTestWithHttpInfoAsync(pet, query1, header1, cancellationToken); + await FakeHttpSignatureTestWithHttpInfoAsync(pet, query1, header1, cancellationToken); } /// @@ -1120,7 +1120,7 @@ namespace Org.OpenAPITools.Api /// header parameter (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> FakeHttpSignatureTestWithHttpInfoAsync (Pet pet, string query1 = default(string), string header1 = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> FakeHttpSignatureTestWithHttpInfoAsync(Pet pet, string query1 = default(string), string header1 = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'pet' is set if (pet == null) @@ -1176,10 +1176,10 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// Input boolean as post body (optional) /// bool - public bool FakeOuterBooleanSerialize (bool? body = default(bool?)) + public bool FakeOuterBooleanSerialize(bool? body = default(bool?)) { - Org.OpenAPITools.Client.ApiResponse localVarResponse = FakeOuterBooleanSerializeWithHttpInfo(body); - return localVarResponse.Data; + Org.OpenAPITools.Client.ApiResponse localVarResponse = FakeOuterBooleanSerializeWithHttpInfo(body); + return localVarResponse.Data; } /// @@ -1188,7 +1188,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// Input boolean as post body (optional) /// ApiResponse of bool - public Org.OpenAPITools.Client.ApiResponse< bool > FakeOuterBooleanSerializeWithHttpInfo (bool? body = default(bool?)) + public Org.OpenAPITools.Client.ApiResponse FakeOuterBooleanSerializeWithHttpInfo(bool? body = default(bool?)) { Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); @@ -1211,7 +1211,7 @@ namespace Org.OpenAPITools.Api // make the HTTP request - var localVarResponse = this.Client.Post< bool >("/fake/outer/boolean", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Post("/fake/outer/boolean", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { @@ -1229,10 +1229,10 @@ namespace Org.OpenAPITools.Api /// Input boolean as post body (optional) /// Cancellation Token to cancel the request. /// Task of bool - public async System.Threading.Tasks.Task FakeOuterBooleanSerializeAsync (bool? body = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + 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 FakeOuterBooleanSerializeWithHttpInfoAsync(body, cancellationToken); - return localVarResponse.Data; + Org.OpenAPITools.Client.ApiResponse localVarResponse = await FakeOuterBooleanSerializeWithHttpInfoAsync(body, cancellationToken); + return localVarResponse.Data; } /// @@ -1242,7 +1242,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> FakeOuterBooleanSerializeWithHttpInfoAsync (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(); @@ -1285,10 +1285,10 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// Input composite as post body (optional) /// OuterComposite - public OuterComposite FakeOuterCompositeSerialize (OuterComposite outerComposite = default(OuterComposite)) + public OuterComposite FakeOuterCompositeSerialize(OuterComposite outerComposite = default(OuterComposite)) { - Org.OpenAPITools.Client.ApiResponse localVarResponse = FakeOuterCompositeSerializeWithHttpInfo(outerComposite); - return localVarResponse.Data; + Org.OpenAPITools.Client.ApiResponse localVarResponse = FakeOuterCompositeSerializeWithHttpInfo(outerComposite); + return localVarResponse.Data; } /// @@ -1297,7 +1297,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// Input composite as post body (optional) /// ApiResponse of OuterComposite - public Org.OpenAPITools.Client.ApiResponse< OuterComposite > FakeOuterCompositeSerializeWithHttpInfo (OuterComposite outerComposite = default(OuterComposite)) + public Org.OpenAPITools.Client.ApiResponse FakeOuterCompositeSerializeWithHttpInfo(OuterComposite outerComposite = default(OuterComposite)) { Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); @@ -1320,7 +1320,7 @@ namespace Org.OpenAPITools.Api // make the HTTP request - var localVarResponse = this.Client.Post< OuterComposite >("/fake/outer/composite", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Post("/fake/outer/composite", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { @@ -1338,10 +1338,10 @@ namespace Org.OpenAPITools.Api /// Input composite as post body (optional) /// Cancellation Token to cancel the request. /// Task of OuterComposite - public async System.Threading.Tasks.Task FakeOuterCompositeSerializeAsync (OuterComposite outerComposite = default(OuterComposite), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task FakeOuterCompositeSerializeAsync(OuterComposite outerComposite = default(OuterComposite), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.ApiResponse localVarResponse = await FakeOuterCompositeSerializeWithHttpInfoAsync(outerComposite, cancellationToken); - return localVarResponse.Data; + Org.OpenAPITools.Client.ApiResponse localVarResponse = await FakeOuterCompositeSerializeWithHttpInfoAsync(outerComposite, cancellationToken); + return localVarResponse.Data; } /// @@ -1351,7 +1351,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> FakeOuterCompositeSerializeWithHttpInfoAsync (OuterComposite outerComposite = default(OuterComposite), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> FakeOuterCompositeSerializeWithHttpInfoAsync(OuterComposite outerComposite = default(OuterComposite), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); @@ -1394,10 +1394,10 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// Input number as post body (optional) /// decimal - public decimal FakeOuterNumberSerialize (decimal? body = default(decimal?)) + public decimal FakeOuterNumberSerialize(decimal? body = default(decimal?)) { - Org.OpenAPITools.Client.ApiResponse localVarResponse = FakeOuterNumberSerializeWithHttpInfo(body); - return localVarResponse.Data; + Org.OpenAPITools.Client.ApiResponse localVarResponse = FakeOuterNumberSerializeWithHttpInfo(body); + return localVarResponse.Data; } /// @@ -1406,7 +1406,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// Input number as post body (optional) /// ApiResponse of decimal - public Org.OpenAPITools.Client.ApiResponse< decimal > FakeOuterNumberSerializeWithHttpInfo (decimal? body = default(decimal?)) + public Org.OpenAPITools.Client.ApiResponse FakeOuterNumberSerializeWithHttpInfo(decimal? body = default(decimal?)) { Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); @@ -1429,7 +1429,7 @@ namespace Org.OpenAPITools.Api // make the HTTP request - var localVarResponse = this.Client.Post< decimal >("/fake/outer/number", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Post("/fake/outer/number", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { @@ -1447,10 +1447,10 @@ namespace Org.OpenAPITools.Api /// Input number as post body (optional) /// Cancellation Token to cancel the request. /// Task of decimal - public async System.Threading.Tasks.Task FakeOuterNumberSerializeAsync (decimal? body = default(decimal?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + 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 FakeOuterNumberSerializeWithHttpInfoAsync(body, cancellationToken); - return localVarResponse.Data; + Org.OpenAPITools.Client.ApiResponse localVarResponse = await FakeOuterNumberSerializeWithHttpInfoAsync(body, cancellationToken); + return localVarResponse.Data; } /// @@ -1460,7 +1460,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> FakeOuterNumberSerializeWithHttpInfoAsync (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(); @@ -1503,10 +1503,10 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// Input string as post body (optional) /// string - public string FakeOuterStringSerialize (string body = default(string)) + public string FakeOuterStringSerialize(string body = default(string)) { - Org.OpenAPITools.Client.ApiResponse localVarResponse = FakeOuterStringSerializeWithHttpInfo(body); - return localVarResponse.Data; + Org.OpenAPITools.Client.ApiResponse localVarResponse = FakeOuterStringSerializeWithHttpInfo(body); + return localVarResponse.Data; } /// @@ -1515,7 +1515,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// Input string as post body (optional) /// ApiResponse of string - public Org.OpenAPITools.Client.ApiResponse< string > FakeOuterStringSerializeWithHttpInfo (string body = default(string)) + public Org.OpenAPITools.Client.ApiResponse FakeOuterStringSerializeWithHttpInfo(string body = default(string)) { Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); @@ -1538,7 +1538,7 @@ namespace Org.OpenAPITools.Api // make the HTTP request - var localVarResponse = this.Client.Post< string >("/fake/outer/string", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Post("/fake/outer/string", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { @@ -1556,10 +1556,10 @@ namespace Org.OpenAPITools.Api /// Input string as post body (optional) /// Cancellation Token to cancel the request. /// Task of string - public async System.Threading.Tasks.Task FakeOuterStringSerializeAsync (string body = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + 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 FakeOuterStringSerializeWithHttpInfoAsync(body, cancellationToken); - return localVarResponse.Data; + Org.OpenAPITools.Client.ApiResponse localVarResponse = await FakeOuterStringSerializeWithHttpInfoAsync(body, cancellationToken); + return localVarResponse.Data; } /// @@ -1569,7 +1569,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> FakeOuterStringSerializeWithHttpInfoAsync (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(); @@ -1612,9 +1612,9 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// /// - public void TestBodyWithFileSchema (FileSchemaTestClass fileSchemaTestClass) + public void TestBodyWithFileSchema(FileSchemaTestClass fileSchemaTestClass) { - TestBodyWithFileSchemaWithHttpInfo(fileSchemaTestClass); + TestBodyWithFileSchemaWithHttpInfo(fileSchemaTestClass); } /// @@ -1623,7 +1623,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// /// ApiResponse of Object(void) - public Org.OpenAPITools.Client.ApiResponse TestBodyWithFileSchemaWithHttpInfo (FileSchemaTestClass fileSchemaTestClass) + public Org.OpenAPITools.Client.ApiResponse TestBodyWithFileSchemaWithHttpInfo(FileSchemaTestClass fileSchemaTestClass) { // verify the required parameter 'fileSchemaTestClass' is set if (fileSchemaTestClass == null) @@ -1667,9 +1667,9 @@ namespace Org.OpenAPITools.Api /// /// Cancellation Token to cancel the request. /// Task of void - public async System.Threading.Tasks.Task TestBodyWithFileSchemaAsync (FileSchemaTestClass fileSchemaTestClass, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task TestBodyWithFileSchemaAsync(FileSchemaTestClass fileSchemaTestClass, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - await TestBodyWithFileSchemaWithHttpInfoAsync(fileSchemaTestClass, cancellationToken); + await TestBodyWithFileSchemaWithHttpInfoAsync(fileSchemaTestClass, cancellationToken); } /// @@ -1679,7 +1679,7 @@ namespace Org.OpenAPITools.Api /// /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> TestBodyWithFileSchemaWithHttpInfoAsync (FileSchemaTestClass fileSchemaTestClass, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> TestBodyWithFileSchemaWithHttpInfoAsync(FileSchemaTestClass fileSchemaTestClass, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'fileSchemaTestClass' is set if (fileSchemaTestClass == null) @@ -1726,9 +1726,9 @@ namespace Org.OpenAPITools.Api /// /// /// - public void TestBodyWithQueryParams (string query, User user) + public void TestBodyWithQueryParams(string query, User user) { - TestBodyWithQueryParamsWithHttpInfo(query, user); + TestBodyWithQueryParamsWithHttpInfo(query, user); } /// @@ -1738,7 +1738,7 @@ namespace Org.OpenAPITools.Api /// /// /// ApiResponse of Object(void) - public Org.OpenAPITools.Client.ApiResponse TestBodyWithQueryParamsWithHttpInfo (string query, User user) + public Org.OpenAPITools.Client.ApiResponse TestBodyWithQueryParamsWithHttpInfo(string query, User user) { // verify the required parameter 'query' is set if (query == null) @@ -1788,9 +1788,9 @@ namespace Org.OpenAPITools.Api /// /// Cancellation Token to cancel the request. /// Task of void - public async System.Threading.Tasks.Task TestBodyWithQueryParamsAsync (string query, User user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task TestBodyWithQueryParamsAsync(string query, User user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - await TestBodyWithQueryParamsWithHttpInfoAsync(query, user, cancellationToken); + await TestBodyWithQueryParamsWithHttpInfoAsync(query, user, cancellationToken); } /// @@ -1801,7 +1801,7 @@ namespace Org.OpenAPITools.Api /// /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> TestBodyWithQueryParamsWithHttpInfoAsync (string query, User user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> TestBodyWithQueryParamsWithHttpInfoAsync(string query, User user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'query' is set if (query == null) @@ -1852,10 +1852,10 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// client model /// ModelClient - public ModelClient TestClientModel (ModelClient modelClient) + public ModelClient TestClientModel(ModelClient modelClient) { - Org.OpenAPITools.Client.ApiResponse localVarResponse = TestClientModelWithHttpInfo(modelClient); - return localVarResponse.Data; + Org.OpenAPITools.Client.ApiResponse localVarResponse = TestClientModelWithHttpInfo(modelClient); + return localVarResponse.Data; } /// @@ -1864,7 +1864,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// client model /// ApiResponse of ModelClient - public Org.OpenAPITools.Client.ApiResponse< ModelClient > TestClientModelWithHttpInfo (ModelClient modelClient) + public Org.OpenAPITools.Client.ApiResponse TestClientModelWithHttpInfo(ModelClient modelClient) { // verify the required parameter 'modelClient' is set if (modelClient == null) @@ -1891,7 +1891,7 @@ namespace Org.OpenAPITools.Api // make the HTTP request - var localVarResponse = this.Client.Patch< ModelClient >("/fake", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Patch("/fake", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { @@ -1909,10 +1909,10 @@ namespace Org.OpenAPITools.Api /// client model /// Cancellation Token to cancel the request. /// Task of ModelClient - public async System.Threading.Tasks.Task TestClientModelAsync (ModelClient modelClient, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task TestClientModelAsync(ModelClient modelClient, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.ApiResponse localVarResponse = await TestClientModelWithHttpInfoAsync(modelClient, cancellationToken); - return localVarResponse.Data; + Org.OpenAPITools.Client.ApiResponse localVarResponse = await TestClientModelWithHttpInfoAsync(modelClient, cancellationToken); + return localVarResponse.Data; } /// @@ -1922,7 +1922,7 @@ namespace Org.OpenAPITools.Api /// client model /// Cancellation Token to cancel the request. /// Task of ApiResponse (ModelClient) - public async System.Threading.Tasks.Task> TestClientModelWithHttpInfoAsync (ModelClient modelClient, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> TestClientModelWithHttpInfoAsync(ModelClient modelClient, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'modelClient' is set if (modelClient == null) @@ -1982,9 +1982,9 @@ namespace Org.OpenAPITools.Api /// None (optional) /// None (optional) /// - public void TestEndpointParameters (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)) + public void TestEndpointParameters(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)) { - TestEndpointParametersWithHttpInfo(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, _string, binary, date, dateTime, password, callback); + TestEndpointParametersWithHttpInfo(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, _string, binary, date, dateTime, password, callback); } /// @@ -2006,7 +2006,7 @@ namespace Org.OpenAPITools.Api /// None (optional) /// None (optional) /// ApiResponse of Object(void) - public Org.OpenAPITools.Client.ApiResponse TestEndpointParametersWithHttpInfo (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)) + public Org.OpenAPITools.Client.ApiResponse TestEndpointParametersWithHttpInfo(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)) { // verify the required parameter 'patternWithoutDelimiter' is set if (patternWithoutDelimiter == null) @@ -2116,9 +2116,9 @@ namespace Org.OpenAPITools.Api /// None (optional) /// Cancellation Token to cancel the request. /// 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)) + 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 TestEndpointParametersWithHttpInfoAsync(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); } /// @@ -2141,7 +2141,7 @@ namespace Org.OpenAPITools.Api /// None (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse - 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)) + 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) @@ -2247,9 +2247,9 @@ namespace Org.OpenAPITools.Api /// Form parameter enum test (string array) (optional, default to $) /// Form parameter enum test (string) (optional, default to -efg) /// - public void TestEnumParameters (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)) + public void TestEnumParameters(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)) { - TestEnumParametersWithHttpInfo(enumHeaderStringArray, enumHeaderString, enumQueryStringArray, enumQueryString, enumQueryInteger, enumQueryDouble, enumFormStringArray, enumFormString); + TestEnumParametersWithHttpInfo(enumHeaderStringArray, enumHeaderString, enumQueryStringArray, enumQueryString, enumQueryInteger, enumQueryDouble, enumFormStringArray, enumFormString); } /// @@ -2265,7 +2265,7 @@ namespace Org.OpenAPITools.Api /// Form parameter enum test (string array) (optional, default to $) /// Form parameter enum test (string) (optional, default to -efg) /// ApiResponse of Object(void) - public Org.OpenAPITools.Client.ApiResponse TestEnumParametersWithHttpInfo (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)) + public Org.OpenAPITools.Client.ApiResponse TestEnumParametersWithHttpInfo(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)) { Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); @@ -2343,9 +2343,9 @@ namespace Org.OpenAPITools.Api /// Form parameter enum test (string) (optional, default to -efg) /// Cancellation Token to cancel the request. /// 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)) + 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 TestEnumParametersWithHttpInfoAsync(enumHeaderStringArray, enumHeaderString, enumQueryStringArray, enumQueryString, enumQueryInteger, enumQueryDouble, enumFormStringArray, enumFormString, cancellationToken); + await TestEnumParametersWithHttpInfoAsync(enumHeaderStringArray, enumHeaderString, enumQueryStringArray, enumQueryString, enumQueryInteger, enumQueryDouble, enumFormStringArray, enumFormString, cancellationToken); } /// @@ -2362,7 +2362,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> 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)) + 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(); @@ -2440,9 +2440,9 @@ namespace Org.OpenAPITools.Api /// Boolean in group parameters (optional) /// Integer in group parameters (optional) /// - public void TestGroupParameters (int requiredStringGroup, bool requiredBooleanGroup, long requiredInt64Group, int? stringGroup = default(int?), bool? booleanGroup = default(bool?), long? int64Group = default(long?)) + public void TestGroupParameters(int requiredStringGroup, bool requiredBooleanGroup, long requiredInt64Group, int? stringGroup = default(int?), bool? booleanGroup = default(bool?), long? int64Group = default(long?)) { - TestGroupParametersWithHttpInfo(requiredStringGroup, requiredBooleanGroup, requiredInt64Group, stringGroup, booleanGroup, int64Group); + TestGroupParametersWithHttpInfo(requiredStringGroup, requiredBooleanGroup, requiredInt64Group, stringGroup, booleanGroup, int64Group); } /// @@ -2456,7 +2456,7 @@ namespace Org.OpenAPITools.Api /// Boolean in group parameters (optional) /// Integer in group parameters (optional) /// ApiResponse of Object(void) - public Org.OpenAPITools.Client.ApiResponse TestGroupParametersWithHttpInfo (int requiredStringGroup, bool requiredBooleanGroup, long requiredInt64Group, int? stringGroup = default(int?), bool? booleanGroup = default(bool?), long? int64Group = default(long?)) + public Org.OpenAPITools.Client.ApiResponse TestGroupParametersWithHttpInfo(int requiredStringGroup, bool requiredBooleanGroup, long requiredInt64Group, int? stringGroup = default(int?), bool? booleanGroup = default(bool?), long? int64Group = default(long?)) { Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); @@ -2520,9 +2520,9 @@ namespace Org.OpenAPITools.Api /// Integer in group parameters (optional) /// Cancellation Token to cancel the request. /// 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)) + 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 TestGroupParametersWithHttpInfoAsync(requiredStringGroup, requiredBooleanGroup, requiredInt64Group, stringGroup, booleanGroup, int64Group, cancellationToken); + await TestGroupParametersWithHttpInfoAsync(requiredStringGroup, requiredBooleanGroup, requiredInt64Group, stringGroup, booleanGroup, int64Group, cancellationToken); } /// @@ -2537,7 +2537,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> 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)) + 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(); @@ -2598,9 +2598,9 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// request body /// - public void TestInlineAdditionalProperties (Dictionary requestBody) + public void TestInlineAdditionalProperties(Dictionary requestBody) { - TestInlineAdditionalPropertiesWithHttpInfo(requestBody); + TestInlineAdditionalPropertiesWithHttpInfo(requestBody); } /// @@ -2609,7 +2609,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// request body /// ApiResponse of Object(void) - public Org.OpenAPITools.Client.ApiResponse TestInlineAdditionalPropertiesWithHttpInfo (Dictionary requestBody) + public Org.OpenAPITools.Client.ApiResponse TestInlineAdditionalPropertiesWithHttpInfo(Dictionary requestBody) { // verify the required parameter 'requestBody' is set if (requestBody == null) @@ -2653,9 +2653,9 @@ namespace Org.OpenAPITools.Api /// request body /// Cancellation Token to cancel the request. /// Task of void - public async System.Threading.Tasks.Task TestInlineAdditionalPropertiesAsync (Dictionary requestBody, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task TestInlineAdditionalPropertiesAsync(Dictionary requestBody, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - await TestInlineAdditionalPropertiesWithHttpInfoAsync(requestBody, cancellationToken); + await TestInlineAdditionalPropertiesWithHttpInfoAsync(requestBody, cancellationToken); } /// @@ -2665,7 +2665,7 @@ namespace Org.OpenAPITools.Api /// request body /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> TestInlineAdditionalPropertiesWithHttpInfoAsync (Dictionary requestBody, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> TestInlineAdditionalPropertiesWithHttpInfoAsync(Dictionary requestBody, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'requestBody' is set if (requestBody == null) @@ -2712,9 +2712,9 @@ namespace Org.OpenAPITools.Api /// field1 /// field2 /// - public void TestJsonFormData (string param, string param2) + public void TestJsonFormData(string param, string param2) { - TestJsonFormDataWithHttpInfo(param, param2); + TestJsonFormDataWithHttpInfo(param, param2); } /// @@ -2724,7 +2724,7 @@ namespace Org.OpenAPITools.Api /// field1 /// field2 /// ApiResponse of Object(void) - public Org.OpenAPITools.Client.ApiResponse TestJsonFormDataWithHttpInfo (string param, string param2) + public Org.OpenAPITools.Client.ApiResponse TestJsonFormDataWithHttpInfo(string param, string param2) { // verify the required parameter 'param' is set if (param == null) @@ -2774,9 +2774,9 @@ namespace Org.OpenAPITools.Api /// field2 /// Cancellation Token to cancel the request. /// Task of void - public async System.Threading.Tasks.Task TestJsonFormDataAsync (string param, string param2, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task TestJsonFormDataAsync(string param, string param2, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - await TestJsonFormDataWithHttpInfoAsync(param, param2, cancellationToken); + await TestJsonFormDataWithHttpInfoAsync(param, param2, cancellationToken); } /// @@ -2787,7 +2787,7 @@ namespace Org.OpenAPITools.Api /// field2 /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> TestJsonFormDataWithHttpInfoAsync (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) @@ -2842,9 +2842,9 @@ namespace Org.OpenAPITools.Api /// /// /// - public void TestQueryParameterCollectionFormat (List pipe, List ioutil, List http, List url, List context) + public void TestQueryParameterCollectionFormat(List pipe, List ioutil, List http, List url, List context) { - TestQueryParameterCollectionFormatWithHttpInfo(pipe, ioutil, http, url, context); + TestQueryParameterCollectionFormatWithHttpInfo(pipe, ioutil, http, url, context); } /// @@ -2857,7 +2857,7 @@ namespace Org.OpenAPITools.Api /// /// /// ApiResponse of Object(void) - public Org.OpenAPITools.Client.ApiResponse TestQueryParameterCollectionFormatWithHttpInfo (List pipe, List ioutil, List http, List url, List context) + public Org.OpenAPITools.Client.ApiResponse TestQueryParameterCollectionFormatWithHttpInfo(List pipe, List ioutil, List http, List url, List context) { // verify the required parameter 'pipe' is set if (pipe == null) @@ -2924,9 +2924,9 @@ namespace Org.OpenAPITools.Api /// /// Cancellation Token to cancel the request. /// 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)) + 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 TestQueryParameterCollectionFormatWithHttpInfoAsync(pipe, ioutil, http, url, context, cancellationToken); + await TestQueryParameterCollectionFormatWithHttpInfoAsync(pipe, ioutil, http, url, context, cancellationToken); } /// @@ -2940,7 +2940,7 @@ namespace Org.OpenAPITools.Api /// /// Cancellation Token to cancel the request. /// Task of ApiResponse - 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)) + 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 497cc1638d8..15526a446d8 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 @@ -35,7 +35,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// client model /// ModelClient - ModelClient TestClassname (ModelClient modelClient); + ModelClient TestClassname(ModelClient modelClient); /// /// To test class name in snake case @@ -46,7 +46,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// client model /// ApiResponse of ModelClient - ApiResponse TestClassnameWithHttpInfo (ModelClient modelClient); + ApiResponse TestClassnameWithHttpInfo(ModelClient modelClient); #endregion Synchronous Operations } @@ -66,7 +66,7 @@ namespace Org.OpenAPITools.Api /// client model /// Cancellation Token to cancel the request. /// Task of ModelClient - System.Threading.Tasks.Task TestClassnameAsync (ModelClient modelClient, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task TestClassnameAsync(ModelClient modelClient, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// To test class name in snake case @@ -78,7 +78,7 @@ namespace Org.OpenAPITools.Api /// client model /// Cancellation Token to cancel the request. /// Task of ApiResponse (ModelClient) - System.Threading.Tasks.Task> TestClassnameWithHttpInfoAsync (ModelClient modelClient, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task> TestClassnameWithHttpInfoAsync(ModelClient modelClient, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); #endregion Asynchronous Operations } @@ -101,7 +101,7 @@ namespace Org.OpenAPITools.Api /// Initializes a new instance of the class. /// /// - public FakeClassnameTags123Api() : this((string) null) + public FakeClassnameTags123Api() : this((string)null) { } @@ -146,11 +146,11 @@ namespace Org.OpenAPITools.Api /// The client interface for synchronous API access. /// The client interface for asynchronous API access. /// The configuration object. - public FakeClassnameTags123Api(Org.OpenAPITools.Client.ISynchronousClient client,Org.OpenAPITools.Client.IAsynchronousClient asyncClient, Org.OpenAPITools.Client.IReadableConfiguration configuration) + public FakeClassnameTags123Api(Org.OpenAPITools.Client.ISynchronousClient client, Org.OpenAPITools.Client.IAsynchronousClient asyncClient, Org.OpenAPITools.Client.IReadableConfiguration configuration) { - if(client == null) throw new ArgumentNullException("client"); - if(asyncClient == null) throw new ArgumentNullException("asyncClient"); - if(configuration == null) throw new ArgumentNullException("configuration"); + if (client == null) throw new ArgumentNullException("client"); + if (asyncClient == null) throw new ArgumentNullException("asyncClient"); + if (configuration == null) throw new ArgumentNullException("configuration"); this.Client = client; this.AsynchronousClient = asyncClient; @@ -181,7 +181,7 @@ namespace Org.OpenAPITools.Api /// Gets or sets the configuration object /// /// An instance of the Configuration - public Org.OpenAPITools.Client.IReadableConfiguration Configuration {get; set;} + public Org.OpenAPITools.Client.IReadableConfiguration Configuration { get; set; } /// /// Provides a factory method hook for the creation of exceptions. @@ -205,10 +205,10 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// client model /// ModelClient - public ModelClient TestClassname (ModelClient modelClient) + public ModelClient TestClassname(ModelClient modelClient) { - Org.OpenAPITools.Client.ApiResponse localVarResponse = TestClassnameWithHttpInfo(modelClient); - return localVarResponse.Data; + Org.OpenAPITools.Client.ApiResponse localVarResponse = TestClassnameWithHttpInfo(modelClient); + return localVarResponse.Data; } /// @@ -217,7 +217,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// client model /// ApiResponse of ModelClient - public Org.OpenAPITools.Client.ApiResponse< ModelClient > TestClassnameWithHttpInfo (ModelClient modelClient) + public Org.OpenAPITools.Client.ApiResponse TestClassnameWithHttpInfo(ModelClient modelClient) { // verify the required parameter 'modelClient' is set if (modelClient == null) @@ -249,7 +249,7 @@ namespace Org.OpenAPITools.Api } // make the HTTP request - var localVarResponse = this.Client.Patch< ModelClient >("/fake_classname_test", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Patch("/fake_classname_test", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { @@ -267,10 +267,10 @@ namespace Org.OpenAPITools.Api /// client model /// Cancellation Token to cancel the request. /// Task of ModelClient - public async System.Threading.Tasks.Task TestClassnameAsync (ModelClient modelClient, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task TestClassnameAsync(ModelClient modelClient, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.ApiResponse localVarResponse = await TestClassnameWithHttpInfoAsync(modelClient, cancellationToken); - return localVarResponse.Data; + Org.OpenAPITools.Client.ApiResponse localVarResponse = await TestClassnameWithHttpInfoAsync(modelClient, cancellationToken); + return localVarResponse.Data; } /// @@ -280,7 +280,7 @@ namespace Org.OpenAPITools.Api /// client model /// Cancellation Token to cancel the request. /// Task of ApiResponse (ModelClient) - public async System.Threading.Tasks.Task> TestClassnameWithHttpInfoAsync (ModelClient modelClient, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> TestClassnameWithHttpInfoAsync(ModelClient modelClient, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'modelClient' is set if (modelClient == 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 b555e11fe0e..ef688876f78 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 @@ -32,7 +32,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// Pet object that needs to be added to the store /// - void AddPet (Pet pet); + void AddPet(Pet pet); /// /// Add a new pet to the store @@ -43,7 +43,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// Pet object that needs to be added to the store /// ApiResponse of Object(void) - ApiResponse AddPetWithHttpInfo (Pet pet); + ApiResponse AddPetWithHttpInfo(Pet pet); /// /// Deletes a pet /// @@ -51,7 +51,7 @@ namespace Org.OpenAPITools.Api /// Pet id to delete /// (optional) /// - void DeletePet (long petId, string apiKey = default(string)); + void DeletePet(long petId, string apiKey = default(string)); /// /// Deletes a pet @@ -63,7 +63,7 @@ namespace Org.OpenAPITools.Api /// Pet id to delete /// (optional) /// ApiResponse of Object(void) - ApiResponse DeletePetWithHttpInfo (long petId, string apiKey = default(string)); + ApiResponse DeletePetWithHttpInfo(long petId, string apiKey = default(string)); /// /// Finds Pets by status /// @@ -73,7 +73,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// Status values that need to be considered for filter /// List<Pet> - List FindPetsByStatus (List status); + List FindPetsByStatus(List status); /// /// Finds Pets by status @@ -84,7 +84,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// Status values that need to be considered for filter /// ApiResponse of List<Pet> - ApiResponse> FindPetsByStatusWithHttpInfo (List status); + ApiResponse> FindPetsByStatusWithHttpInfo(List status); /// /// Finds Pets by tags /// @@ -94,7 +94,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// Tags to filter by /// List<Pet> - List FindPetsByTags (List tags); + List FindPetsByTags(List tags); /// /// Finds Pets by tags @@ -105,7 +105,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// Tags to filter by /// ApiResponse of List<Pet> - ApiResponse> FindPetsByTagsWithHttpInfo (List tags); + ApiResponse> FindPetsByTagsWithHttpInfo(List tags); /// /// Find pet by ID /// @@ -115,7 +115,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// ID of pet to return /// Pet - Pet GetPetById (long petId); + Pet GetPetById(long petId); /// /// Find pet by ID @@ -126,14 +126,14 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// ID of pet to return /// ApiResponse of Pet - ApiResponse GetPetByIdWithHttpInfo (long petId); + ApiResponse GetPetByIdWithHttpInfo(long petId); /// /// Update an existing pet /// /// Thrown when fails to make API call /// Pet object that needs to be added to the store /// - void UpdatePet (Pet pet); + void UpdatePet(Pet pet); /// /// Update an existing pet @@ -144,7 +144,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// Pet object that needs to be added to the store /// ApiResponse of Object(void) - ApiResponse UpdatePetWithHttpInfo (Pet pet); + ApiResponse UpdatePetWithHttpInfo(Pet pet); /// /// Updates a pet in the store with form data /// @@ -153,7 +153,7 @@ namespace Org.OpenAPITools.Api /// Updated name of the pet (optional) /// Updated status of the pet (optional) /// - void UpdatePetWithForm (long petId, string name = default(string), string status = default(string)); + void UpdatePetWithForm(long petId, string name = default(string), string status = default(string)); /// /// Updates a pet in the store with form data @@ -166,7 +166,7 @@ namespace Org.OpenAPITools.Api /// Updated name of the pet (optional) /// Updated status of the pet (optional) /// ApiResponse of Object(void) - ApiResponse UpdatePetWithFormWithHttpInfo (long petId, string name = default(string), string status = default(string)); + ApiResponse UpdatePetWithFormWithHttpInfo(long petId, string name = default(string), string status = default(string)); /// /// uploads an image /// @@ -175,7 +175,7 @@ namespace Org.OpenAPITools.Api /// Additional data to pass to server (optional) /// file to upload (optional) /// ApiResponse - ApiResponse UploadFile (long petId, string additionalMetadata = default(string), System.IO.Stream file = default(System.IO.Stream)); + ApiResponse UploadFile(long petId, string additionalMetadata = default(string), System.IO.Stream file = default(System.IO.Stream)); /// /// uploads an image @@ -188,7 +188,7 @@ namespace Org.OpenAPITools.Api /// Additional data to pass to server (optional) /// file to upload (optional) /// ApiResponse of ApiResponse - ApiResponse UploadFileWithHttpInfo (long petId, string additionalMetadata = default(string), System.IO.Stream file = default(System.IO.Stream)); + ApiResponse UploadFileWithHttpInfo(long petId, string additionalMetadata = default(string), System.IO.Stream file = default(System.IO.Stream)); /// /// uploads an image (required) /// @@ -197,7 +197,7 @@ namespace Org.OpenAPITools.Api /// file to upload /// Additional data to pass to server (optional) /// ApiResponse - ApiResponse UploadFileWithRequiredFile (long petId, System.IO.Stream requiredFile, string additionalMetadata = default(string)); + ApiResponse UploadFileWithRequiredFile(long petId, System.IO.Stream requiredFile, string additionalMetadata = default(string)); /// /// uploads an image (required) @@ -210,7 +210,7 @@ namespace Org.OpenAPITools.Api /// file to upload /// Additional data to pass to server (optional) /// ApiResponse of ApiResponse - ApiResponse UploadFileWithRequiredFileWithHttpInfo (long petId, System.IO.Stream requiredFile, string additionalMetadata = default(string)); + ApiResponse UploadFileWithRequiredFileWithHttpInfo(long petId, System.IO.Stream requiredFile, string additionalMetadata = default(string)); #endregion Synchronous Operations } @@ -230,7 +230,7 @@ namespace Org.OpenAPITools.Api /// Pet object that needs to be added to the store /// Cancellation Token to cancel the request. /// Task of void - System.Threading.Tasks.Task AddPetAsync (Pet pet, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task AddPetAsync(Pet pet, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// Add a new pet to the store @@ -242,7 +242,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> AddPetWithHttpInfoAsync (Pet pet, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task> AddPetWithHttpInfoAsync(Pet pet, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// Deletes a pet /// @@ -254,7 +254,7 @@ namespace Org.OpenAPITools.Api /// (optional) /// Cancellation Token to cancel the request. /// Task of void - System.Threading.Tasks.Task DeletePetAsync (long petId, string apiKey = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task DeletePetAsync(long petId, string apiKey = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// Deletes a pet @@ -267,7 +267,7 @@ namespace Org.OpenAPITools.Api /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse - System.Threading.Tasks.Task> DeletePetWithHttpInfoAsync (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 /// @@ -278,7 +278,7 @@ namespace Org.OpenAPITools.Api /// Status values that need to be considered for filter /// Cancellation Token to cancel the request. /// Task of List<Pet> - System.Threading.Tasks.Task> FindPetsByStatusAsync (List status, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task> FindPetsByStatusAsync(List status, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// Finds Pets by status @@ -290,7 +290,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>> FindPetsByStatusWithHttpInfoAsync (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 /// @@ -301,7 +301,7 @@ namespace Org.OpenAPITools.Api /// Tags to filter by /// Cancellation Token to cancel the request. /// Task of List<Pet> - System.Threading.Tasks.Task> FindPetsByTagsAsync (List tags, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task> FindPetsByTagsAsync(List tags, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// Finds Pets by tags @@ -313,7 +313,7 @@ namespace Org.OpenAPITools.Api /// Tags to filter by /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<Pet>) - System.Threading.Tasks.Task>> FindPetsByTagsWithHttpInfoAsync (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 /// @@ -324,7 +324,7 @@ namespace Org.OpenAPITools.Api /// ID of pet to return /// Cancellation Token to cancel the request. /// Task of Pet - System.Threading.Tasks.Task GetPetByIdAsync (long petId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task GetPetByIdAsync(long petId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// Find pet by ID @@ -336,7 +336,7 @@ namespace Org.OpenAPITools.Api /// ID of pet to return /// Cancellation Token to cancel the request. /// Task of ApiResponse (Pet) - System.Threading.Tasks.Task> GetPetByIdWithHttpInfoAsync (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 /// @@ -347,7 +347,7 @@ namespace Org.OpenAPITools.Api /// Pet object that needs to be added to the store /// Cancellation Token to cancel the request. /// Task of void - System.Threading.Tasks.Task UpdatePetAsync (Pet pet, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task UpdatePetAsync(Pet pet, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// Update an existing pet @@ -359,7 +359,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> UpdatePetWithHttpInfoAsync (Pet pet, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task> UpdatePetWithHttpInfoAsync(Pet pet, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// Updates a pet in the store with form data /// @@ -372,7 +372,7 @@ namespace Org.OpenAPITools.Api /// Updated status of the pet (optional) /// Cancellation Token to cancel the request. /// Task of void - System.Threading.Tasks.Task UpdatePetWithFormAsync (long petId, string name = default(string), string status = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task UpdatePetWithFormAsync(long petId, string name = default(string), string status = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// Updates a pet in the store with form data @@ -386,7 +386,7 @@ namespace Org.OpenAPITools.Api /// Updated status of the pet (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse - System.Threading.Tasks.Task> UpdatePetWithFormWithHttpInfoAsync (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 /// @@ -399,7 +399,7 @@ namespace Org.OpenAPITools.Api /// file to upload (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse - 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)); + 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)); /// /// uploads an image @@ -413,7 +413,7 @@ namespace Org.OpenAPITools.Api /// file to upload (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (ApiResponse) - 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)); + 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) /// @@ -426,7 +426,7 @@ namespace Org.OpenAPITools.Api /// Additional data to pass to server (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse - System.Threading.Tasks.Task UploadFileWithRequiredFileAsync (long petId, System.IO.Stream requiredFile, string additionalMetadata = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task UploadFileWithRequiredFileAsync(long petId, System.IO.Stream requiredFile, string additionalMetadata = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// uploads an image (required) @@ -440,7 +440,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> UploadFileWithRequiredFileWithHttpInfoAsync (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 } @@ -463,7 +463,7 @@ namespace Org.OpenAPITools.Api /// Initializes a new instance of the class. /// /// - public PetApi() : this((string) null) + public PetApi() : this((string)null) { } @@ -508,11 +508,11 @@ namespace Org.OpenAPITools.Api /// The client interface for synchronous API access. /// The client interface for asynchronous API access. /// The configuration object. - public PetApi(Org.OpenAPITools.Client.ISynchronousClient client,Org.OpenAPITools.Client.IAsynchronousClient asyncClient, Org.OpenAPITools.Client.IReadableConfiguration configuration) + public PetApi(Org.OpenAPITools.Client.ISynchronousClient client, Org.OpenAPITools.Client.IAsynchronousClient asyncClient, Org.OpenAPITools.Client.IReadableConfiguration configuration) { - if(client == null) throw new ArgumentNullException("client"); - if(asyncClient == null) throw new ArgumentNullException("asyncClient"); - if(configuration == null) throw new ArgumentNullException("configuration"); + if (client == null) throw new ArgumentNullException("client"); + if (asyncClient == null) throw new ArgumentNullException("asyncClient"); + if (configuration == null) throw new ArgumentNullException("configuration"); this.Client = client; this.AsynchronousClient = asyncClient; @@ -543,7 +543,7 @@ namespace Org.OpenAPITools.Api /// Gets or sets the configuration object /// /// An instance of the Configuration - public Org.OpenAPITools.Client.IReadableConfiguration Configuration {get; set;} + public Org.OpenAPITools.Client.IReadableConfiguration Configuration { get; set; } /// /// Provides a factory method hook for the creation of exceptions. @@ -567,9 +567,9 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// Pet object that needs to be added to the store /// - public void AddPet (Pet pet) + public void AddPet(Pet pet) { - AddPetWithHttpInfo(pet); + AddPetWithHttpInfo(pet); } /// @@ -578,7 +578,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// Pet object that needs to be added to the store /// ApiResponse of Object(void) - public Org.OpenAPITools.Client.ApiResponse AddPetWithHttpInfo (Pet pet) + public Org.OpenAPITools.Client.ApiResponse AddPetWithHttpInfo(Pet pet) { // verify the required parameter 'pet' is set if (pet == null) @@ -629,9 +629,9 @@ namespace Org.OpenAPITools.Api /// Pet object that needs to be added to the store /// Cancellation Token to cancel the request. /// Task of void - public async System.Threading.Tasks.Task AddPetAsync (Pet pet, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task AddPetAsync(Pet pet, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - await AddPetWithHttpInfoAsync(pet, cancellationToken); + await AddPetWithHttpInfoAsync(pet, cancellationToken); } /// @@ -641,7 +641,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> AddPetWithHttpInfoAsync (Pet pet, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> AddPetWithHttpInfoAsync(Pet pet, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'pet' is set if (pet == null) @@ -695,9 +695,9 @@ namespace Org.OpenAPITools.Api /// Pet id to delete /// (optional) /// - public void DeletePet (long petId, string apiKey = default(string)) + public void DeletePet(long petId, string apiKey = default(string)) { - DeletePetWithHttpInfo(petId, apiKey); + DeletePetWithHttpInfo(petId, apiKey); } /// @@ -707,7 +707,7 @@ namespace Org.OpenAPITools.Api /// Pet id to delete /// (optional) /// ApiResponse of Object(void) - public Org.OpenAPITools.Client.ApiResponse DeletePetWithHttpInfo (long petId, string apiKey = default(string)) + public Org.OpenAPITools.Client.ApiResponse DeletePetWithHttpInfo(long petId, string apiKey = default(string)) { Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); @@ -757,9 +757,9 @@ namespace Org.OpenAPITools.Api /// (optional) /// Cancellation Token to cancel the request. /// Task of void - public async System.Threading.Tasks.Task DeletePetAsync (long petId, string apiKey = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task DeletePetAsync(long petId, string apiKey = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - await DeletePetWithHttpInfoAsync(petId, apiKey, cancellationToken); + await DeletePetWithHttpInfoAsync(petId, apiKey, cancellationToken); } /// @@ -770,7 +770,7 @@ namespace Org.OpenAPITools.Api /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> DeletePetWithHttpInfoAsync (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(); @@ -821,10 +821,10 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// Status values that need to be considered for filter /// List<Pet> - public List FindPetsByStatus (List status) + public List FindPetsByStatus(List status) { - Org.OpenAPITools.Client.ApiResponse> localVarResponse = FindPetsByStatusWithHttpInfo(status); - return localVarResponse.Data; + Org.OpenAPITools.Client.ApiResponse> localVarResponse = FindPetsByStatusWithHttpInfo(status); + return localVarResponse.Data; } /// @@ -833,7 +833,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// Status values that need to be considered for filter /// ApiResponse of List<Pet> - public Org.OpenAPITools.Client.ApiResponse< List > FindPetsByStatusWithHttpInfo (List status) + public Org.OpenAPITools.Client.ApiResponse> FindPetsByStatusWithHttpInfo(List status) { // verify the required parameter 'status' is set if (status == null) @@ -866,7 +866,7 @@ namespace Org.OpenAPITools.Api } // make the HTTP request - var localVarResponse = this.Client.Get< List >("/pet/findByStatus", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get>("/pet/findByStatus", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { @@ -884,10 +884,10 @@ namespace Org.OpenAPITools.Api /// Status values that need to be considered for filter /// Cancellation Token to cancel the request. /// Task of List<Pet> - public async System.Threading.Tasks.Task> FindPetsByStatusAsync (List status, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> FindPetsByStatusAsync(List status, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.ApiResponse> localVarResponse = await FindPetsByStatusWithHttpInfoAsync(status, cancellationToken); - return localVarResponse.Data; + Org.OpenAPITools.Client.ApiResponse> localVarResponse = await FindPetsByStatusWithHttpInfoAsync(status, cancellationToken); + return localVarResponse.Data; } /// @@ -897,7 +897,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>> FindPetsByStatusWithHttpInfoAsync (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) @@ -950,10 +950,10 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// Tags to filter by /// List<Pet> - public List FindPetsByTags (List tags) + public List FindPetsByTags(List tags) { - Org.OpenAPITools.Client.ApiResponse> localVarResponse = FindPetsByTagsWithHttpInfo(tags); - return localVarResponse.Data; + Org.OpenAPITools.Client.ApiResponse> localVarResponse = FindPetsByTagsWithHttpInfo(tags); + return localVarResponse.Data; } /// @@ -962,7 +962,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// Tags to filter by /// ApiResponse of List<Pet> - public Org.OpenAPITools.Client.ApiResponse< List > FindPetsByTagsWithHttpInfo (List tags) + public Org.OpenAPITools.Client.ApiResponse> FindPetsByTagsWithHttpInfo(List tags) { // verify the required parameter 'tags' is set if (tags == null) @@ -995,7 +995,7 @@ namespace Org.OpenAPITools.Api } // make the HTTP request - var localVarResponse = this.Client.Get< List >("/pet/findByTags", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get>("/pet/findByTags", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { @@ -1013,10 +1013,10 @@ namespace Org.OpenAPITools.Api /// Tags to filter by /// Cancellation Token to cancel the request. /// Task of List<Pet> - public async System.Threading.Tasks.Task> FindPetsByTagsAsync (List tags, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> FindPetsByTagsAsync(List tags, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.ApiResponse> localVarResponse = await FindPetsByTagsWithHttpInfoAsync(tags, cancellationToken); - return localVarResponse.Data; + Org.OpenAPITools.Client.ApiResponse> localVarResponse = await FindPetsByTagsWithHttpInfoAsync(tags, cancellationToken); + return localVarResponse.Data; } /// @@ -1026,7 +1026,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>> FindPetsByTagsWithHttpInfoAsync (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) @@ -1079,10 +1079,10 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// ID of pet to return /// Pet - public Pet GetPetById (long petId) + public Pet GetPetById(long petId) { - Org.OpenAPITools.Client.ApiResponse localVarResponse = GetPetByIdWithHttpInfo(petId); - return localVarResponse.Data; + Org.OpenAPITools.Client.ApiResponse localVarResponse = GetPetByIdWithHttpInfo(petId); + return localVarResponse.Data; } /// @@ -1091,7 +1091,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// ID of pet to return /// ApiResponse of Pet - public Org.OpenAPITools.Client.ApiResponse< Pet > GetPetByIdWithHttpInfo (long petId) + public Org.OpenAPITools.Client.ApiResponse GetPetByIdWithHttpInfo(long petId) { Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); @@ -1119,7 +1119,7 @@ namespace Org.OpenAPITools.Api } // make the HTTP request - var localVarResponse = this.Client.Get< Pet >("/pet/{petId}", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get("/pet/{petId}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { @@ -1137,10 +1137,10 @@ namespace Org.OpenAPITools.Api /// ID of pet to return /// Cancellation Token to cancel the request. /// Task of Pet - public async System.Threading.Tasks.Task GetPetByIdAsync (long petId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task GetPetByIdAsync(long petId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.ApiResponse localVarResponse = await GetPetByIdWithHttpInfoAsync(petId, cancellationToken); - return localVarResponse.Data; + Org.OpenAPITools.Client.ApiResponse localVarResponse = await GetPetByIdWithHttpInfoAsync(petId, cancellationToken); + return localVarResponse.Data; } /// @@ -1150,7 +1150,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> GetPetByIdWithHttpInfoAsync (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(); @@ -1198,9 +1198,9 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// Pet object that needs to be added to the store /// - public void UpdatePet (Pet pet) + public void UpdatePet(Pet pet) { - UpdatePetWithHttpInfo(pet); + UpdatePetWithHttpInfo(pet); } /// @@ -1209,7 +1209,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// Pet object that needs to be added to the store /// ApiResponse of Object(void) - public Org.OpenAPITools.Client.ApiResponse UpdatePetWithHttpInfo (Pet pet) + public Org.OpenAPITools.Client.ApiResponse UpdatePetWithHttpInfo(Pet pet) { // verify the required parameter 'pet' is set if (pet == null) @@ -1260,9 +1260,9 @@ namespace Org.OpenAPITools.Api /// Pet object that needs to be added to the store /// Cancellation Token to cancel the request. /// Task of void - public async System.Threading.Tasks.Task UpdatePetAsync (Pet pet, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task UpdatePetAsync(Pet pet, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - await UpdatePetWithHttpInfoAsync(pet, cancellationToken); + await UpdatePetWithHttpInfoAsync(pet, cancellationToken); } /// @@ -1272,7 +1272,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> UpdatePetWithHttpInfoAsync (Pet pet, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> UpdatePetWithHttpInfoAsync(Pet pet, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'pet' is set if (pet == null) @@ -1327,9 +1327,9 @@ namespace Org.OpenAPITools.Api /// Updated name of the pet (optional) /// Updated status of the pet (optional) /// - public void UpdatePetWithForm (long petId, string name = default(string), string status = default(string)) + public void UpdatePetWithForm(long petId, string name = default(string), string status = default(string)) { - UpdatePetWithFormWithHttpInfo(petId, name, status); + UpdatePetWithFormWithHttpInfo(petId, name, status); } /// @@ -1340,7 +1340,7 @@ namespace Org.OpenAPITools.Api /// Updated name of the pet (optional) /// Updated status of the pet (optional) /// ApiResponse of Object(void) - public Org.OpenAPITools.Client.ApiResponse UpdatePetWithFormWithHttpInfo (long petId, string name = default(string), string status = default(string)) + public Org.OpenAPITools.Client.ApiResponse UpdatePetWithFormWithHttpInfo(long petId, string name = default(string), string status = default(string)) { Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); @@ -1396,9 +1396,9 @@ namespace Org.OpenAPITools.Api /// Updated status of the pet (optional) /// Cancellation Token to cancel the request. /// 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)) + 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 UpdatePetWithFormWithHttpInfoAsync(petId, name, status, cancellationToken); + await UpdatePetWithFormWithHttpInfoAsync(petId, name, status, cancellationToken); } /// @@ -1410,7 +1410,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> UpdatePetWithFormWithHttpInfoAsync (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(); @@ -1468,10 +1468,10 @@ namespace Org.OpenAPITools.Api /// Additional data to pass to server (optional) /// file to upload (optional) /// ApiResponse - public ApiResponse UploadFile (long petId, string additionalMetadata = default(string), System.IO.Stream file = default(System.IO.Stream)) + public ApiResponse UploadFile(long petId, string additionalMetadata = default(string), System.IO.Stream file = default(System.IO.Stream)) { - Org.OpenAPITools.Client.ApiResponse localVarResponse = UploadFileWithHttpInfo(petId, additionalMetadata, file); - return localVarResponse.Data; + Org.OpenAPITools.Client.ApiResponse localVarResponse = UploadFileWithHttpInfo(petId, additionalMetadata, file); + return localVarResponse.Data; } /// @@ -1482,7 +1482,7 @@ namespace Org.OpenAPITools.Api /// Additional data to pass to server (optional) /// file to upload (optional) /// ApiResponse of ApiResponse - public Org.OpenAPITools.Client.ApiResponse< ApiResponse > UploadFileWithHttpInfo (long petId, string additionalMetadata = default(string), System.IO.Stream file = default(System.IO.Stream)) + public Org.OpenAPITools.Client.ApiResponse UploadFileWithHttpInfo(long petId, string additionalMetadata = default(string), System.IO.Stream file = default(System.IO.Stream)) { Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); @@ -1519,7 +1519,7 @@ namespace Org.OpenAPITools.Api } // make the HTTP request - var localVarResponse = this.Client.Post< ApiResponse >("/pet/{petId}/uploadImage", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Post("/pet/{petId}/uploadImage", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { @@ -1539,10 +1539,10 @@ namespace Org.OpenAPITools.Api /// file to upload (optional) /// Cancellation Token to cancel the request. /// 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)) + 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 UploadFileWithHttpInfoAsync(petId, additionalMetadata, file, cancellationToken); - return localVarResponse.Data; + Org.OpenAPITools.Client.ApiResponse localVarResponse = await UploadFileWithHttpInfoAsync(petId, additionalMetadata, file, cancellationToken); + return localVarResponse.Data; } /// @@ -1554,7 +1554,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> UploadFileWithHttpInfoAsync (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(); @@ -1613,10 +1613,10 @@ namespace Org.OpenAPITools.Api /// file to upload /// Additional data to pass to server (optional) /// ApiResponse - public ApiResponse UploadFileWithRequiredFile (long petId, System.IO.Stream requiredFile, string additionalMetadata = default(string)) + public ApiResponse UploadFileWithRequiredFile(long petId, System.IO.Stream requiredFile, string additionalMetadata = default(string)) { - Org.OpenAPITools.Client.ApiResponse localVarResponse = UploadFileWithRequiredFileWithHttpInfo(petId, requiredFile, additionalMetadata); - return localVarResponse.Data; + Org.OpenAPITools.Client.ApiResponse localVarResponse = UploadFileWithRequiredFileWithHttpInfo(petId, requiredFile, additionalMetadata); + return localVarResponse.Data; } /// @@ -1627,7 +1627,7 @@ namespace Org.OpenAPITools.Api /// file to upload /// Additional data to pass to server (optional) /// ApiResponse of ApiResponse - public Org.OpenAPITools.Client.ApiResponse< ApiResponse > UploadFileWithRequiredFileWithHttpInfo (long petId, System.IO.Stream requiredFile, string additionalMetadata = default(string)) + public Org.OpenAPITools.Client.ApiResponse UploadFileWithRequiredFileWithHttpInfo(long petId, System.IO.Stream requiredFile, string additionalMetadata = default(string)) { // verify the required parameter 'requiredFile' is set if (requiredFile == null) @@ -1665,7 +1665,7 @@ namespace Org.OpenAPITools.Api } // make the HTTP request - var localVarResponse = this.Client.Post< ApiResponse >("/fake/{petId}/uploadImageWithRequiredFile", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Post("/fake/{petId}/uploadImageWithRequiredFile", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { @@ -1685,10 +1685,10 @@ namespace Org.OpenAPITools.Api /// Additional data to pass to server (optional) /// Cancellation Token to cancel the request. /// 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)) + 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 UploadFileWithRequiredFileWithHttpInfoAsync(petId, requiredFile, additionalMetadata, cancellationToken); - return localVarResponse.Data; + Org.OpenAPITools.Client.ApiResponse localVarResponse = await UploadFileWithRequiredFileWithHttpInfoAsync(petId, requiredFile, additionalMetadata, cancellationToken); + return localVarResponse.Data; } /// @@ -1700,7 +1700,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> UploadFileWithRequiredFileWithHttpInfoAsync (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 ecd4ed9fda8..0d06d8ec977 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 @@ -35,7 +35,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// ID of the order that needs to be deleted /// - void DeleteOrder (string orderId); + void DeleteOrder(string orderId); /// /// Delete purchase order by ID @@ -46,7 +46,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// ID of the order that needs to be deleted /// ApiResponse of Object(void) - ApiResponse DeleteOrderWithHttpInfo (string orderId); + ApiResponse DeleteOrderWithHttpInfo(string orderId); /// /// Returns pet inventories by status /// @@ -55,7 +55,7 @@ namespace Org.OpenAPITools.Api /// /// Thrown when fails to make API call /// Dictionary<string, int> - Dictionary GetInventory (); + Dictionary GetInventory(); /// /// Returns pet inventories by status @@ -65,7 +65,7 @@ namespace Org.OpenAPITools.Api /// /// Thrown when fails to make API call /// ApiResponse of Dictionary<string, int> - ApiResponse> GetInventoryWithHttpInfo (); + ApiResponse> GetInventoryWithHttpInfo(); /// /// Find purchase order by ID /// @@ -75,7 +75,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// ID of pet that needs to be fetched /// Order - Order GetOrderById (long orderId); + Order GetOrderById(long orderId); /// /// Find purchase order by ID @@ -86,14 +86,14 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// ID of pet that needs to be fetched /// ApiResponse of Order - ApiResponse GetOrderByIdWithHttpInfo (long orderId); + ApiResponse GetOrderByIdWithHttpInfo(long orderId); /// /// Place an order for a pet /// /// Thrown when fails to make API call /// order placed for purchasing the pet /// Order - Order PlaceOrder (Order order); + Order PlaceOrder(Order order); /// /// Place an order for a pet @@ -104,7 +104,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// order placed for purchasing the pet /// ApiResponse of Order - ApiResponse PlaceOrderWithHttpInfo (Order order); + ApiResponse PlaceOrderWithHttpInfo(Order order); #endregion Synchronous Operations } @@ -124,7 +124,7 @@ namespace Org.OpenAPITools.Api /// ID of the order that needs to be deleted /// Cancellation Token to cancel the request. /// Task of void - System.Threading.Tasks.Task DeleteOrderAsync (string orderId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task DeleteOrderAsync(string orderId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// Delete purchase order by ID @@ -136,7 +136,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> DeleteOrderWithHttpInfoAsync (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 /// @@ -146,7 +146,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// Cancellation Token to cancel the request. /// Task of Dictionary<string, int> - System.Threading.Tasks.Task> GetInventoryAsync (System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task> GetInventoryAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// Returns pet inventories by status @@ -157,7 +157,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// Cancellation Token to cancel the request. /// Task of ApiResponse (Dictionary<string, int>) - System.Threading.Tasks.Task>> GetInventoryWithHttpInfoAsync (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 /// @@ -168,7 +168,7 @@ namespace Org.OpenAPITools.Api /// ID of pet that needs to be fetched /// Cancellation Token to cancel the request. /// Task of Order - System.Threading.Tasks.Task GetOrderByIdAsync (long orderId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task GetOrderByIdAsync(long orderId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// Find purchase order by ID @@ -180,7 +180,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> GetOrderByIdWithHttpInfoAsync (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 /// @@ -191,7 +191,7 @@ namespace Org.OpenAPITools.Api /// order placed for purchasing the pet /// Cancellation Token to cancel the request. /// Task of Order - System.Threading.Tasks.Task PlaceOrderAsync (Order order, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task PlaceOrderAsync(Order order, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// Place an order for a pet @@ -203,7 +203,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> PlaceOrderWithHttpInfoAsync (Order order, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task> PlaceOrderWithHttpInfoAsync(Order order, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); #endregion Asynchronous Operations } @@ -226,7 +226,7 @@ namespace Org.OpenAPITools.Api /// Initializes a new instance of the class. /// /// - public StoreApi() : this((string) null) + public StoreApi() : this((string)null) { } @@ -271,11 +271,11 @@ namespace Org.OpenAPITools.Api /// The client interface for synchronous API access. /// The client interface for asynchronous API access. /// The configuration object. - public StoreApi(Org.OpenAPITools.Client.ISynchronousClient client,Org.OpenAPITools.Client.IAsynchronousClient asyncClient, Org.OpenAPITools.Client.IReadableConfiguration configuration) + public StoreApi(Org.OpenAPITools.Client.ISynchronousClient client, Org.OpenAPITools.Client.IAsynchronousClient asyncClient, Org.OpenAPITools.Client.IReadableConfiguration configuration) { - if(client == null) throw new ArgumentNullException("client"); - if(asyncClient == null) throw new ArgumentNullException("asyncClient"); - if(configuration == null) throw new ArgumentNullException("configuration"); + if (client == null) throw new ArgumentNullException("client"); + if (asyncClient == null) throw new ArgumentNullException("asyncClient"); + if (configuration == null) throw new ArgumentNullException("configuration"); this.Client = client; this.AsynchronousClient = asyncClient; @@ -306,7 +306,7 @@ namespace Org.OpenAPITools.Api /// Gets or sets the configuration object /// /// An instance of the Configuration - public Org.OpenAPITools.Client.IReadableConfiguration Configuration {get; set;} + public Org.OpenAPITools.Client.IReadableConfiguration Configuration { get; set; } /// /// Provides a factory method hook for the creation of exceptions. @@ -330,9 +330,9 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// ID of the order that needs to be deleted /// - public void DeleteOrder (string orderId) + public void DeleteOrder(string orderId) { - DeleteOrderWithHttpInfo(orderId); + DeleteOrderWithHttpInfo(orderId); } /// @@ -341,7 +341,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// ID of the order that needs to be deleted /// ApiResponse of Object(void) - public Org.OpenAPITools.Client.ApiResponse DeleteOrderWithHttpInfo (string orderId) + public Org.OpenAPITools.Client.ApiResponse DeleteOrderWithHttpInfo(string orderId) { // verify the required parameter 'orderId' is set if (orderId == null) @@ -384,9 +384,9 @@ namespace Org.OpenAPITools.Api /// ID of the order that needs to be deleted /// Cancellation Token to cancel the request. /// Task of void - public async System.Threading.Tasks.Task DeleteOrderAsync (string orderId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task DeleteOrderAsync(string orderId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - await DeleteOrderWithHttpInfoAsync(orderId, cancellationToken); + await DeleteOrderWithHttpInfoAsync(orderId, cancellationToken); } /// @@ -396,7 +396,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> DeleteOrderWithHttpInfoAsync (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) @@ -440,10 +440,10 @@ namespace Org.OpenAPITools.Api /// /// Thrown when fails to make API call /// Dictionary<string, int> - public Dictionary GetInventory () + public Dictionary GetInventory() { - Org.OpenAPITools.Client.ApiResponse> localVarResponse = GetInventoryWithHttpInfo(); - return localVarResponse.Data; + Org.OpenAPITools.Client.ApiResponse> localVarResponse = GetInventoryWithHttpInfo(); + return localVarResponse.Data; } /// @@ -451,7 +451,7 @@ namespace Org.OpenAPITools.Api /// /// Thrown when fails to make API call /// ApiResponse of Dictionary<string, int> - public Org.OpenAPITools.Client.ApiResponse< Dictionary > GetInventoryWithHttpInfo () + public Org.OpenAPITools.Client.ApiResponse> GetInventoryWithHttpInfo() { Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); @@ -477,7 +477,7 @@ namespace Org.OpenAPITools.Api } // make the HTTP request - var localVarResponse = this.Client.Get< Dictionary >("/store/inventory", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get>("/store/inventory", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { @@ -494,10 +494,10 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// Cancellation Token to cancel the request. /// Task of Dictionary<string, int> - public async System.Threading.Tasks.Task> GetInventoryAsync (System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> GetInventoryAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.ApiResponse> localVarResponse = await GetInventoryWithHttpInfoAsync(cancellationToken); - return localVarResponse.Data; + Org.OpenAPITools.Client.ApiResponse> localVarResponse = await GetInventoryWithHttpInfoAsync(cancellationToken); + return localVarResponse.Data; } /// @@ -506,7 +506,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// Cancellation Token to cancel the request. /// Task of ApiResponse (Dictionary<string, int>) - public async System.Threading.Tasks.Task>> GetInventoryWithHttpInfoAsync (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(); @@ -552,10 +552,10 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// ID of pet that needs to be fetched /// Order - public Order GetOrderById (long orderId) + public Order GetOrderById(long orderId) { - Org.OpenAPITools.Client.ApiResponse localVarResponse = GetOrderByIdWithHttpInfo(orderId); - return localVarResponse.Data; + Org.OpenAPITools.Client.ApiResponse localVarResponse = GetOrderByIdWithHttpInfo(orderId); + return localVarResponse.Data; } /// @@ -564,7 +564,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// ID of pet that needs to be fetched /// ApiResponse of Order - public Org.OpenAPITools.Client.ApiResponse< Order > GetOrderByIdWithHttpInfo (long orderId) + public Org.OpenAPITools.Client.ApiResponse GetOrderByIdWithHttpInfo(long orderId) { Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); @@ -587,7 +587,7 @@ namespace Org.OpenAPITools.Api // make the HTTP request - var localVarResponse = this.Client.Get< Order >("/store/order/{order_id}", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get("/store/order/{order_id}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { @@ -605,10 +605,10 @@ namespace Org.OpenAPITools.Api /// ID of pet that needs to be fetched /// Cancellation Token to cancel the request. /// Task of Order - public async System.Threading.Tasks.Task GetOrderByIdAsync (long orderId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task GetOrderByIdAsync(long orderId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.ApiResponse localVarResponse = await GetOrderByIdWithHttpInfoAsync(orderId, cancellationToken); - return localVarResponse.Data; + Org.OpenAPITools.Client.ApiResponse localVarResponse = await GetOrderByIdWithHttpInfoAsync(orderId, cancellationToken); + return localVarResponse.Data; } /// @@ -618,7 +618,7 @@ namespace Org.OpenAPITools.Api /// ID of pet that needs to be fetched /// Cancellation Token to cancel the request. /// Task of ApiResponse (Order) - public async System.Threading.Tasks.Task> GetOrderByIdWithHttpInfoAsync (long orderId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> GetOrderByIdWithHttpInfoAsync(long orderId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); @@ -661,10 +661,10 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// order placed for purchasing the pet /// Order - public Order PlaceOrder (Order order) + public Order PlaceOrder(Order order) { - Org.OpenAPITools.Client.ApiResponse localVarResponse = PlaceOrderWithHttpInfo(order); - return localVarResponse.Data; + Org.OpenAPITools.Client.ApiResponse localVarResponse = PlaceOrderWithHttpInfo(order); + return localVarResponse.Data; } /// @@ -673,7 +673,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// order placed for purchasing the pet /// ApiResponse of Order - public Org.OpenAPITools.Client.ApiResponse< Order > PlaceOrderWithHttpInfo (Order order) + public Org.OpenAPITools.Client.ApiResponse PlaceOrderWithHttpInfo(Order order) { // verify the required parameter 'order' is set if (order == null) @@ -701,7 +701,7 @@ namespace Org.OpenAPITools.Api // make the HTTP request - var localVarResponse = this.Client.Post< Order >("/store/order", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Post("/store/order", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { @@ -719,10 +719,10 @@ namespace Org.OpenAPITools.Api /// order placed for purchasing the pet /// Cancellation Token to cancel the request. /// Task of Order - public async System.Threading.Tasks.Task PlaceOrderAsync (Order order, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task PlaceOrderAsync(Order order, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.ApiResponse localVarResponse = await PlaceOrderWithHttpInfoAsync(order, cancellationToken); - return localVarResponse.Data; + Org.OpenAPITools.Client.ApiResponse localVarResponse = await PlaceOrderWithHttpInfoAsync(order, cancellationToken); + return localVarResponse.Data; } /// @@ -732,7 +732,7 @@ namespace Org.OpenAPITools.Api /// order placed for purchasing the pet /// Cancellation Token to cancel the request. /// Task of ApiResponse (Order) - public async System.Threading.Tasks.Task> PlaceOrderWithHttpInfoAsync (Order order, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> PlaceOrderWithHttpInfoAsync(Order order, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'order' is set if (order == null) diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Api/UserApi.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Api/UserApi.cs index 9bad6d36a5c..84d5e397f23 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Api/UserApi.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Api/UserApi.cs @@ -35,7 +35,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// Created user object /// - void CreateUser (User user); + void CreateUser(User user); /// /// Create user @@ -46,14 +46,14 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// Created user object /// ApiResponse of Object(void) - ApiResponse CreateUserWithHttpInfo (User user); + ApiResponse CreateUserWithHttpInfo(User user); /// /// Creates list of users with given input array /// /// Thrown when fails to make API call /// List of user object /// - void CreateUsersWithArrayInput (List user); + void CreateUsersWithArrayInput(List user); /// /// Creates list of users with given input array @@ -64,14 +64,14 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// List of user object /// ApiResponse of Object(void) - ApiResponse CreateUsersWithArrayInputWithHttpInfo (List user); + ApiResponse CreateUsersWithArrayInputWithHttpInfo(List user); /// /// Creates list of users with given input array /// /// Thrown when fails to make API call /// List of user object /// - void CreateUsersWithListInput (List user); + void CreateUsersWithListInput(List user); /// /// Creates list of users with given input array @@ -82,7 +82,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// List of user object /// ApiResponse of Object(void) - ApiResponse CreateUsersWithListInputWithHttpInfo (List user); + ApiResponse CreateUsersWithListInputWithHttpInfo(List user); /// /// Delete user /// @@ -92,7 +92,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// The name that needs to be deleted /// - void DeleteUser (string username); + void DeleteUser(string username); /// /// Delete user @@ -103,14 +103,14 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// The name that needs to be deleted /// ApiResponse of Object(void) - ApiResponse DeleteUserWithHttpInfo (string username); + ApiResponse DeleteUserWithHttpInfo(string username); /// /// Get user by user name /// /// Thrown when fails to make API call /// The name that needs to be fetched. Use user1 for testing. /// User - User GetUserByName (string username); + User GetUserByName(string username); /// /// Get user by user name @@ -121,7 +121,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// The name that needs to be fetched. Use user1 for testing. /// ApiResponse of User - ApiResponse GetUserByNameWithHttpInfo (string username); + ApiResponse GetUserByNameWithHttpInfo(string username); /// /// Logs user into the system /// @@ -129,7 +129,7 @@ namespace Org.OpenAPITools.Api /// The user name for login /// The password for login in clear text /// string - string LoginUser (string username, string password); + string LoginUser(string username, string password); /// /// Logs user into the system @@ -141,13 +141,13 @@ namespace Org.OpenAPITools.Api /// The user name for login /// The password for login in clear text /// ApiResponse of string - ApiResponse LoginUserWithHttpInfo (string username, string password); + ApiResponse LoginUserWithHttpInfo(string username, string password); /// /// Logs out current logged in user session /// /// Thrown when fails to make API call /// - void LogoutUser (); + void LogoutUser(); /// /// Logs out current logged in user session @@ -157,7 +157,7 @@ namespace Org.OpenAPITools.Api /// /// Thrown when fails to make API call /// ApiResponse of Object(void) - ApiResponse LogoutUserWithHttpInfo (); + ApiResponse LogoutUserWithHttpInfo(); /// /// Updated user /// @@ -168,7 +168,7 @@ namespace Org.OpenAPITools.Api /// name that need to be deleted /// Updated user object /// - void UpdateUser (string username, User user); + void UpdateUser(string username, User user); /// /// Updated user @@ -180,7 +180,7 @@ namespace Org.OpenAPITools.Api /// name that need to be deleted /// Updated user object /// ApiResponse of Object(void) - ApiResponse UpdateUserWithHttpInfo (string username, User user); + ApiResponse UpdateUserWithHttpInfo(string username, User user); #endregion Synchronous Operations } @@ -200,7 +200,7 @@ namespace Org.OpenAPITools.Api /// Created user object /// Cancellation Token to cancel the request. /// Task of void - System.Threading.Tasks.Task CreateUserAsync (User user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task CreateUserAsync(User user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// Create user @@ -212,7 +212,7 @@ namespace Org.OpenAPITools.Api /// Created user object /// Cancellation Token to cancel the request. /// Task of ApiResponse - System.Threading.Tasks.Task> CreateUserWithHttpInfoAsync (User user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task> CreateUserWithHttpInfoAsync(User user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// Creates list of users with given input array /// @@ -223,7 +223,7 @@ namespace Org.OpenAPITools.Api /// List of user object /// Cancellation Token to cancel the request. /// Task of void - System.Threading.Tasks.Task CreateUsersWithArrayInputAsync (List user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task CreateUsersWithArrayInputAsync(List user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// Creates list of users with given input array @@ -235,7 +235,7 @@ namespace Org.OpenAPITools.Api /// List of user object /// Cancellation Token to cancel the request. /// Task of ApiResponse - System.Threading.Tasks.Task> CreateUsersWithArrayInputWithHttpInfoAsync (List user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task> CreateUsersWithArrayInputWithHttpInfoAsync(List user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// Creates list of users with given input array /// @@ -246,7 +246,7 @@ namespace Org.OpenAPITools.Api /// List of user object /// Cancellation Token to cancel the request. /// Task of void - System.Threading.Tasks.Task CreateUsersWithListInputAsync (List user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task CreateUsersWithListInputAsync(List user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// Creates list of users with given input array @@ -258,7 +258,7 @@ namespace Org.OpenAPITools.Api /// List of user object /// Cancellation Token to cancel the request. /// Task of ApiResponse - System.Threading.Tasks.Task> CreateUsersWithListInputWithHttpInfoAsync (List user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task> CreateUsersWithListInputWithHttpInfoAsync(List user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// Delete user /// @@ -269,7 +269,7 @@ namespace Org.OpenAPITools.Api /// The name that needs to be deleted /// Cancellation Token to cancel the request. /// Task of void - System.Threading.Tasks.Task DeleteUserAsync (string username, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task DeleteUserAsync(string username, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// Delete user @@ -281,7 +281,7 @@ namespace Org.OpenAPITools.Api /// The name that needs to be deleted /// Cancellation Token to cancel the request. /// Task of ApiResponse - System.Threading.Tasks.Task> DeleteUserWithHttpInfoAsync (string username, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task> DeleteUserWithHttpInfoAsync(string username, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// Get user by user name /// @@ -292,7 +292,7 @@ namespace Org.OpenAPITools.Api /// The name that needs to be fetched. Use user1 for testing. /// Cancellation Token to cancel the request. /// Task of User - System.Threading.Tasks.Task GetUserByNameAsync (string username, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task GetUserByNameAsync(string username, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// Get user by user name @@ -304,7 +304,7 @@ namespace Org.OpenAPITools.Api /// The name that needs to be fetched. Use user1 for testing. /// Cancellation Token to cancel the request. /// Task of ApiResponse (User) - System.Threading.Tasks.Task> GetUserByNameWithHttpInfoAsync (string username, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task> GetUserByNameWithHttpInfoAsync(string username, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// Logs user into the system /// @@ -316,7 +316,7 @@ namespace Org.OpenAPITools.Api /// The password for login in clear text /// Cancellation Token to cancel the request. /// Task of string - System.Threading.Tasks.Task LoginUserAsync (string username, string password, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task LoginUserAsync(string username, string password, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// Logs user into the system @@ -329,7 +329,7 @@ namespace Org.OpenAPITools.Api /// The password for login in clear text /// Cancellation Token to cancel the request. /// Task of ApiResponse (string) - System.Threading.Tasks.Task> LoginUserWithHttpInfoAsync (string username, string password, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task> LoginUserWithHttpInfoAsync(string username, string password, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// Logs out current logged in user session /// @@ -339,7 +339,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// Cancellation Token to cancel the request. /// Task of void - System.Threading.Tasks.Task LogoutUserAsync (System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task LogoutUserAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// Logs out current logged in user session @@ -350,7 +350,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// Cancellation Token to cancel the request. /// Task of ApiResponse - System.Threading.Tasks.Task> LogoutUserWithHttpInfoAsync (System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task> LogoutUserWithHttpInfoAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// Updated user /// @@ -362,7 +362,7 @@ namespace Org.OpenAPITools.Api /// Updated user object /// Cancellation Token to cancel the request. /// Task of void - System.Threading.Tasks.Task UpdateUserAsync (string username, User user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task UpdateUserAsync(string username, User user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// Updated user @@ -375,7 +375,7 @@ namespace Org.OpenAPITools.Api /// Updated user object /// Cancellation Token to cancel the request. /// Task of ApiResponse - System.Threading.Tasks.Task> UpdateUserWithHttpInfoAsync (string username, User user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task> UpdateUserWithHttpInfoAsync(string username, User user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); #endregion Asynchronous Operations } @@ -398,7 +398,7 @@ namespace Org.OpenAPITools.Api /// Initializes a new instance of the class. /// /// - public UserApi() : this((string) null) + public UserApi() : this((string)null) { } @@ -443,11 +443,11 @@ namespace Org.OpenAPITools.Api /// The client interface for synchronous API access. /// The client interface for asynchronous API access. /// The configuration object. - public UserApi(Org.OpenAPITools.Client.ISynchronousClient client,Org.OpenAPITools.Client.IAsynchronousClient asyncClient, Org.OpenAPITools.Client.IReadableConfiguration configuration) + public UserApi(Org.OpenAPITools.Client.ISynchronousClient client, Org.OpenAPITools.Client.IAsynchronousClient asyncClient, Org.OpenAPITools.Client.IReadableConfiguration configuration) { - if(client == null) throw new ArgumentNullException("client"); - if(asyncClient == null) throw new ArgumentNullException("asyncClient"); - if(configuration == null) throw new ArgumentNullException("configuration"); + if (client == null) throw new ArgumentNullException("client"); + if (asyncClient == null) throw new ArgumentNullException("asyncClient"); + if (configuration == null) throw new ArgumentNullException("configuration"); this.Client = client; this.AsynchronousClient = asyncClient; @@ -478,7 +478,7 @@ namespace Org.OpenAPITools.Api /// Gets or sets the configuration object /// /// An instance of the Configuration - public Org.OpenAPITools.Client.IReadableConfiguration Configuration {get; set;} + public Org.OpenAPITools.Client.IReadableConfiguration Configuration { get; set; } /// /// Provides a factory method hook for the creation of exceptions. @@ -502,9 +502,9 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// Created user object /// - public void CreateUser (User user) + public void CreateUser(User user) { - CreateUserWithHttpInfo(user); + CreateUserWithHttpInfo(user); } /// @@ -513,7 +513,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// Created user object /// ApiResponse of Object(void) - public Org.OpenAPITools.Client.ApiResponse CreateUserWithHttpInfo (User user) + public Org.OpenAPITools.Client.ApiResponse CreateUserWithHttpInfo(User user) { // verify the required parameter 'user' is set if (user == null) @@ -557,9 +557,9 @@ namespace Org.OpenAPITools.Api /// Created user object /// Cancellation Token to cancel the request. /// Task of void - public async System.Threading.Tasks.Task CreateUserAsync (User user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task CreateUserAsync(User user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - await CreateUserWithHttpInfoAsync(user, cancellationToken); + await CreateUserWithHttpInfoAsync(user, cancellationToken); } /// @@ -569,7 +569,7 @@ namespace Org.OpenAPITools.Api /// Created user object /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> CreateUserWithHttpInfoAsync (User user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> CreateUserWithHttpInfoAsync(User user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'user' is set if (user == null) @@ -615,9 +615,9 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// List of user object /// - public void CreateUsersWithArrayInput (List user) + public void CreateUsersWithArrayInput(List user) { - CreateUsersWithArrayInputWithHttpInfo(user); + CreateUsersWithArrayInputWithHttpInfo(user); } /// @@ -626,7 +626,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// List of user object /// ApiResponse of Object(void) - public Org.OpenAPITools.Client.ApiResponse CreateUsersWithArrayInputWithHttpInfo (List user) + public Org.OpenAPITools.Client.ApiResponse CreateUsersWithArrayInputWithHttpInfo(List user) { // verify the required parameter 'user' is set if (user == null) @@ -670,9 +670,9 @@ namespace Org.OpenAPITools.Api /// List of user object /// Cancellation Token to cancel the request. /// Task of void - public async System.Threading.Tasks.Task CreateUsersWithArrayInputAsync (List user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task CreateUsersWithArrayInputAsync(List user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - await CreateUsersWithArrayInputWithHttpInfoAsync(user, cancellationToken); + await CreateUsersWithArrayInputWithHttpInfoAsync(user, cancellationToken); } /// @@ -682,7 +682,7 @@ namespace Org.OpenAPITools.Api /// List of user object /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> CreateUsersWithArrayInputWithHttpInfoAsync (List user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> CreateUsersWithArrayInputWithHttpInfoAsync(List user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'user' is set if (user == null) @@ -728,9 +728,9 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// List of user object /// - public void CreateUsersWithListInput (List user) + public void CreateUsersWithListInput(List user) { - CreateUsersWithListInputWithHttpInfo(user); + CreateUsersWithListInputWithHttpInfo(user); } /// @@ -739,7 +739,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// List of user object /// ApiResponse of Object(void) - public Org.OpenAPITools.Client.ApiResponse CreateUsersWithListInputWithHttpInfo (List user) + public Org.OpenAPITools.Client.ApiResponse CreateUsersWithListInputWithHttpInfo(List user) { // verify the required parameter 'user' is set if (user == null) @@ -783,9 +783,9 @@ namespace Org.OpenAPITools.Api /// List of user object /// Cancellation Token to cancel the request. /// Task of void - public async System.Threading.Tasks.Task CreateUsersWithListInputAsync (List user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task CreateUsersWithListInputAsync(List user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - await CreateUsersWithListInputWithHttpInfoAsync(user, cancellationToken); + await CreateUsersWithListInputWithHttpInfoAsync(user, cancellationToken); } /// @@ -795,7 +795,7 @@ namespace Org.OpenAPITools.Api /// List of user object /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> CreateUsersWithListInputWithHttpInfoAsync (List user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> CreateUsersWithListInputWithHttpInfoAsync(List user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'user' is set if (user == null) @@ -841,9 +841,9 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// The name that needs to be deleted /// - public void DeleteUser (string username) + public void DeleteUser(string username) { - DeleteUserWithHttpInfo(username); + DeleteUserWithHttpInfo(username); } /// @@ -852,7 +852,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// The name that needs to be deleted /// ApiResponse of Object(void) - public Org.OpenAPITools.Client.ApiResponse DeleteUserWithHttpInfo (string username) + public Org.OpenAPITools.Client.ApiResponse DeleteUserWithHttpInfo(string username) { // verify the required parameter 'username' is set if (username == null) @@ -895,9 +895,9 @@ namespace Org.OpenAPITools.Api /// The name that needs to be deleted /// Cancellation Token to cancel the request. /// Task of void - public async System.Threading.Tasks.Task DeleteUserAsync (string username, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task DeleteUserAsync(string username, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - await DeleteUserWithHttpInfoAsync(username, cancellationToken); + await DeleteUserWithHttpInfoAsync(username, cancellationToken); } /// @@ -907,7 +907,7 @@ namespace Org.OpenAPITools.Api /// The name that needs to be deleted /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> DeleteUserWithHttpInfoAsync (string username, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> DeleteUserWithHttpInfoAsync(string username, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'username' is set if (username == null) @@ -952,10 +952,10 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// The name that needs to be fetched. Use user1 for testing. /// User - public User GetUserByName (string username) + public User GetUserByName(string username) { - Org.OpenAPITools.Client.ApiResponse localVarResponse = GetUserByNameWithHttpInfo(username); - return localVarResponse.Data; + Org.OpenAPITools.Client.ApiResponse localVarResponse = GetUserByNameWithHttpInfo(username); + return localVarResponse.Data; } /// @@ -964,7 +964,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// The name that needs to be fetched. Use user1 for testing. /// ApiResponse of User - public Org.OpenAPITools.Client.ApiResponse< User > GetUserByNameWithHttpInfo (string username) + public Org.OpenAPITools.Client.ApiResponse GetUserByNameWithHttpInfo(string username) { // verify the required parameter 'username' is set if (username == null) @@ -991,7 +991,7 @@ namespace Org.OpenAPITools.Api // make the HTTP request - var localVarResponse = this.Client.Get< User >("/user/{username}", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get("/user/{username}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { @@ -1009,10 +1009,10 @@ namespace Org.OpenAPITools.Api /// The name that needs to be fetched. Use user1 for testing. /// Cancellation Token to cancel the request. /// Task of User - public async System.Threading.Tasks.Task GetUserByNameAsync (string username, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task GetUserByNameAsync(string username, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.ApiResponse localVarResponse = await GetUserByNameWithHttpInfoAsync(username, cancellationToken); - return localVarResponse.Data; + Org.OpenAPITools.Client.ApiResponse localVarResponse = await GetUserByNameWithHttpInfoAsync(username, cancellationToken); + return localVarResponse.Data; } /// @@ -1022,7 +1022,7 @@ namespace Org.OpenAPITools.Api /// The name that needs to be fetched. Use user1 for testing. /// Cancellation Token to cancel the request. /// Task of ApiResponse (User) - public async System.Threading.Tasks.Task> GetUserByNameWithHttpInfoAsync (string username, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> GetUserByNameWithHttpInfoAsync(string username, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'username' is set if (username == null) @@ -1070,10 +1070,10 @@ namespace Org.OpenAPITools.Api /// The user name for login /// The password for login in clear text /// string - public string LoginUser (string username, string password) + public string LoginUser(string username, string password) { - Org.OpenAPITools.Client.ApiResponse localVarResponse = LoginUserWithHttpInfo(username, password); - return localVarResponse.Data; + Org.OpenAPITools.Client.ApiResponse localVarResponse = LoginUserWithHttpInfo(username, password); + return localVarResponse.Data; } /// @@ -1083,7 +1083,7 @@ namespace Org.OpenAPITools.Api /// The user name for login /// The password for login in clear text /// ApiResponse of string - public Org.OpenAPITools.Client.ApiResponse< string > LoginUserWithHttpInfo (string username, string password) + public Org.OpenAPITools.Client.ApiResponse LoginUserWithHttpInfo(string username, string password) { // verify the required parameter 'username' is set if (username == null) @@ -1115,7 +1115,7 @@ namespace Org.OpenAPITools.Api // make the HTTP request - var localVarResponse = this.Client.Get< string >("/user/login", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get("/user/login", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { @@ -1134,10 +1134,10 @@ namespace Org.OpenAPITools.Api /// The password for login in clear text /// Cancellation Token to cancel the request. /// Task of string - public async System.Threading.Tasks.Task LoginUserAsync (string username, string password, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task LoginUserAsync(string username, string password, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.ApiResponse localVarResponse = await LoginUserWithHttpInfoAsync(username, password, cancellationToken); - return localVarResponse.Data; + Org.OpenAPITools.Client.ApiResponse localVarResponse = await LoginUserWithHttpInfoAsync(username, password, cancellationToken); + return localVarResponse.Data; } /// @@ -1148,7 +1148,7 @@ namespace Org.OpenAPITools.Api /// The password for login in clear text /// Cancellation Token to cancel the request. /// Task of ApiResponse (string) - public async System.Threading.Tasks.Task> LoginUserWithHttpInfoAsync (string username, string password, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> LoginUserWithHttpInfoAsync(string username, string password, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'username' is set if (username == null) @@ -1199,9 +1199,9 @@ namespace Org.OpenAPITools.Api /// /// Thrown when fails to make API call /// - public void LogoutUser () + public void LogoutUser() { - LogoutUserWithHttpInfo(); + LogoutUserWithHttpInfo(); } /// @@ -1209,7 +1209,7 @@ namespace Org.OpenAPITools.Api /// /// Thrown when fails to make API call /// ApiResponse of Object(void) - public Org.OpenAPITools.Client.ApiResponse LogoutUserWithHttpInfo () + public Org.OpenAPITools.Client.ApiResponse LogoutUserWithHttpInfo() { Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); @@ -1246,9 +1246,9 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// Cancellation Token to cancel the request. /// Task of void - public async System.Threading.Tasks.Task LogoutUserAsync (System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task LogoutUserAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - await LogoutUserWithHttpInfoAsync(cancellationToken); + await LogoutUserWithHttpInfoAsync(cancellationToken); } /// @@ -1257,7 +1257,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> LogoutUserWithHttpInfoAsync (System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> LogoutUserWithHttpInfoAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); @@ -1298,9 +1298,9 @@ namespace Org.OpenAPITools.Api /// name that need to be deleted /// Updated user object /// - public void UpdateUser (string username, User user) + public void UpdateUser(string username, User user) { - UpdateUserWithHttpInfo(username, user); + UpdateUserWithHttpInfo(username, user); } /// @@ -1310,7 +1310,7 @@ namespace Org.OpenAPITools.Api /// name that need to be deleted /// Updated user object /// ApiResponse of Object(void) - public Org.OpenAPITools.Client.ApiResponse UpdateUserWithHttpInfo (string username, User user) + public Org.OpenAPITools.Client.ApiResponse UpdateUserWithHttpInfo(string username, User user) { // verify the required parameter 'username' is set if (username == null) @@ -1360,9 +1360,9 @@ namespace Org.OpenAPITools.Api /// Updated user object /// Cancellation Token to cancel the request. /// Task of void - public async System.Threading.Tasks.Task UpdateUserAsync (string username, User user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task UpdateUserAsync(string username, User user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - await UpdateUserWithHttpInfoAsync(username, user, cancellationToken); + await UpdateUserWithHttpInfoAsync(username, user, cancellationToken); } /// @@ -1373,7 +1373,7 @@ namespace Org.OpenAPITools.Api /// Updated user object /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> UpdateUserWithHttpInfoAsync (string username, User user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> UpdateUserWithHttpInfoAsync(string username, User user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'username' is set if (username == null) diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Client/ApiClient.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Client/ApiClient.cs index dc1eae828e3..82b6c6c2bbc 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Client/ApiClient.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Client/ApiClient.cs @@ -12,14 +12,14 @@ using System; using System.Collections; using System.Collections.Generic; using System.Globalization; -using System.Text.RegularExpressions; -using System.Threading.Tasks; using System.IO; using System.Linq; using System.Net; using System.Runtime.Serialization; using System.Runtime.Serialization.Formatters; using System.Text; +using System.Text.RegularExpressions; +using System.Threading.Tasks; using Newtonsoft.Json; using Newtonsoft.Json.Serialization; using RestSharp; @@ -68,7 +68,7 @@ namespace Org.OpenAPITools.Client public T Deserialize(IRestResponse response) { - var result = (T) Deserialize(response, typeof(T)); + var result = (T)Deserialize(response, typeof(T)); return result; } @@ -112,7 +112,7 @@ namespace Org.OpenAPITools.Client if (type.Name.StartsWith("System.Nullable`1[[System.DateTime")) // return a datetime object { - return DateTime.Parse(response.Content, null, System.Globalization.DateTimeStyles.RoundtripKind); + return DateTime.Parse(response.Content, null, System.Globalization.DateTimeStyles.RoundtripKind); } if (type == typeof(String) || type.Name.StartsWith("System.Nullable")) // return primitive type @@ -422,7 +422,7 @@ namespace Org.OpenAPITools.Client if (response.Cookies != null && response.Cookies.Count > 0) { - if(result.Cookies == null) result.Cookies = new List(); + if (result.Cookies == null) result.Cookies = new List(); foreach (var restResponseCookie in response.Cookies) { var cookie = new Cookie( @@ -492,7 +492,7 @@ namespace Org.OpenAPITools.Client if (response.Cookies != null && response.Cookies.Count > 0) { - if(result.Cookies == null) result.Cookies = new List(); + if (result.Cookies == null) result.Cookies = new List(); foreach (var restResponseCookie in response.Cookies) { var cookie = new Cookie( diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Client/ApiException.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Client/ApiException.cs index 4b852afd712..67d9888d6a3 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Client/ApiException.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Client/ApiException.cs @@ -38,7 +38,7 @@ namespace Org.OpenAPITools.Client /// /// Initializes a new instance of the class. /// - public ApiException() {} + public ApiException() { } /// /// Initializes a new instance of the class. @@ -57,7 +57,7 @@ namespace Org.OpenAPITools.Client /// Error message. /// Error content. /// HTTP Headers. - public ApiException(int errorCode, string message, object errorContent = null, Multimap headers = null) : base(message) + public ApiException(int errorCode, string message, object errorContent = null, Multimap headers = null) : base(message) { this.ErrorCode = errorCode; this.ErrorContent = errorContent; diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Client/ApiResponse.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Client/ApiResponse.cs index 85ffcd31b01..1b7d787c84b 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Client/ApiResponse.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Client/ApiResponse.cs @@ -111,7 +111,7 @@ namespace Org.OpenAPITools.Client /// /// The raw content /// - public string RawContent { get;} + public string RawContent { get; } #endregion Properties diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Client/Configuration.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Client/Configuration.cs index d2e3b2c9334..b8dc7784a23 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Client/Configuration.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Client/Configuration.cs @@ -9,11 +9,11 @@ using System; -using System.Reflection; using System.Collections.Concurrent; using System.Collections.Generic; using System.IO; using System.Linq; +using System.Reflection; using System.Security.Cryptography.X509Certificates; using System.Text; @@ -151,9 +151,7 @@ namespace Org.OpenAPITools.Client /// public virtual string BasePath { get { return _basePath; } - set { - _basePath = value; - } + set { _basePath = value; } } /// @@ -208,7 +206,7 @@ namespace Org.OpenAPITools.Client public string GetApiKeyWithPrefix(string apiKeyIdentifier) { string apiKeyValue; - ApiKey.TryGetValue (apiKeyIdentifier, out apiKeyValue); + ApiKey.TryGetValue(apiKeyIdentifier, out apiKeyValue); string apiKeyPrefix; if (ApiKeyPrefix.TryGetValue(apiKeyIdentifier, out apiKeyPrefix)) { diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Client/IApiAccessor.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Client/IApiAccessor.cs index cbabbbc2b25..59465ae8e90 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Client/IApiAccessor.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Client/IApiAccessor.cs @@ -21,7 +21,7 @@ namespace Org.OpenAPITools.Client /// Gets or sets the configuration object /// /// An instance of the Configuration - IReadableConfiguration Configuration {get; set;} + IReadableConfiguration Configuration { get; set; } /// /// Gets the base path of the API client. diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/AdditionalPropertiesClass.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/AdditionalPropertiesClass.cs index c102b675b6f..4aeb6ab1cbb 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/AdditionalPropertiesClass.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/AdditionalPropertiesClass.cs @@ -9,14 +9,14 @@ using System; -using System.Linq; -using System.IO; -using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; +using System.Linq; +using System.IO; using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.ComponentModel.DataAnnotations; @@ -29,7 +29,7 @@ namespace Org.OpenAPITools.Model /// AdditionalPropertiesClass /// [DataContract] - public partial class AdditionalPropertiesClass : IEquatable, IValidatableObject + public partial class AdditionalPropertiesClass : IEquatable, IValidatableObject { /// /// Initializes a new instance of the class. @@ -45,13 +45,13 @@ namespace Org.OpenAPITools.Model /// /// Gets or Sets MapProperty /// - [DataMember(Name="map_property", EmitDefaultValue=false)] + [DataMember(Name = "map_property", EmitDefaultValue = false)] public Dictionary MapProperty { get; set; } /// /// Gets or Sets MapOfMapProperty /// - [DataMember(Name="map_of_map_property", EmitDefaultValue=false)] + [DataMember(Name = "map_of_map_property", EmitDefaultValue = false)] public Dictionary> MapOfMapProperty { get; set; } /// diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/Animal.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/Animal.cs index 72e1a0e3815..f803384d41b 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/Animal.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/Animal.cs @@ -9,14 +9,14 @@ using System; -using System.Linq; -using System.IO; -using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; +using System.Linq; +using System.IO; using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using JsonSubTypes; @@ -35,7 +35,7 @@ namespace Org.OpenAPITools.Model [JsonSubtypes.KnownSubType(typeof(Cat), "Cat")] [JsonSubtypes.KnownSubType(typeof(Dog), "Dog")] [JsonSubtypes.KnownSubType(typeof(Cat), "Cat")] - public partial class Animal : IEquatable, IValidatableObject + public partial class Animal : IEquatable, IValidatableObject { /// /// Initializes a new instance of the class. @@ -58,13 +58,13 @@ namespace Org.OpenAPITools.Model /// /// Gets or Sets ClassName /// - [DataMember(Name="className", EmitDefaultValue=false)] + [DataMember(Name = "className", EmitDefaultValue = false)] public string ClassName { get; set; } /// /// Gets or Sets Color /// - [DataMember(Name="color", EmitDefaultValue=false)] + [DataMember(Name = "color", EmitDefaultValue = false)] public string Color { get; set; } /// diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/ApiResponse.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/ApiResponse.cs index 3243ea5bb7e..5081a436a6e 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/ApiResponse.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/ApiResponse.cs @@ -9,14 +9,14 @@ using System; -using System.Linq; -using System.IO; -using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; +using System.Linq; +using System.IO; using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.ComponentModel.DataAnnotations; @@ -29,7 +29,7 @@ namespace Org.OpenAPITools.Model /// ApiResponse /// [DataContract] - public partial class ApiResponse : IEquatable, IValidatableObject + public partial class ApiResponse : IEquatable, IValidatableObject { /// /// Initializes a new instance of the class. @@ -47,19 +47,19 @@ namespace Org.OpenAPITools.Model /// /// Gets or Sets Code /// - [DataMember(Name="code", EmitDefaultValue=false)] + [DataMember(Name = "code", EmitDefaultValue = false)] public int Code { get; set; } /// /// Gets or Sets Type /// - [DataMember(Name="type", EmitDefaultValue=false)] + [DataMember(Name = "type", EmitDefaultValue = false)] public string Type { get; set; } /// /// Gets or Sets Message /// - [DataMember(Name="message", EmitDefaultValue=false)] + [DataMember(Name = "message", EmitDefaultValue = false)] public string Message { get; set; } /// diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/ArrayOfArrayOfNumberOnly.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/ArrayOfArrayOfNumberOnly.cs index 3de03d08ede..19f7506abe0 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/ArrayOfArrayOfNumberOnly.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/ArrayOfArrayOfNumberOnly.cs @@ -9,14 +9,14 @@ using System; -using System.Linq; -using System.IO; -using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; +using System.Linq; +using System.IO; using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.ComponentModel.DataAnnotations; @@ -29,7 +29,7 @@ namespace Org.OpenAPITools.Model /// ArrayOfArrayOfNumberOnly /// [DataContract] - public partial class ArrayOfArrayOfNumberOnly : IEquatable, IValidatableObject + public partial class ArrayOfArrayOfNumberOnly : IEquatable, IValidatableObject { /// /// Initializes a new instance of the class. @@ -43,7 +43,7 @@ namespace Org.OpenAPITools.Model /// /// Gets or Sets ArrayArrayNumber /// - [DataMember(Name="ArrayArrayNumber", EmitDefaultValue=false)] + [DataMember(Name = "ArrayArrayNumber", EmitDefaultValue = false)] public List> ArrayArrayNumber { get; set; } /// diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/ArrayOfNumberOnly.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/ArrayOfNumberOnly.cs index 5cb22e41e48..de60a4c8296 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/ArrayOfNumberOnly.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/ArrayOfNumberOnly.cs @@ -9,14 +9,14 @@ using System; -using System.Linq; -using System.IO; -using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; +using System.Linq; +using System.IO; using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.ComponentModel.DataAnnotations; @@ -29,7 +29,7 @@ namespace Org.OpenAPITools.Model /// ArrayOfNumberOnly /// [DataContract] - public partial class ArrayOfNumberOnly : IEquatable, IValidatableObject + public partial class ArrayOfNumberOnly : IEquatable, IValidatableObject { /// /// Initializes a new instance of the class. @@ -43,7 +43,7 @@ namespace Org.OpenAPITools.Model /// /// Gets or Sets ArrayNumber /// - [DataMember(Name="ArrayNumber", EmitDefaultValue=false)] + [DataMember(Name = "ArrayNumber", EmitDefaultValue = false)] public List ArrayNumber { get; set; } /// diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/ArrayTest.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/ArrayTest.cs index ae62dc5946c..44f8b0a9870 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/ArrayTest.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/ArrayTest.cs @@ -9,14 +9,14 @@ using System; -using System.Linq; -using System.IO; -using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; +using System.Linq; +using System.IO; using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.ComponentModel.DataAnnotations; @@ -29,7 +29,7 @@ namespace Org.OpenAPITools.Model /// ArrayTest /// [DataContract] - public partial class ArrayTest : IEquatable, IValidatableObject + public partial class ArrayTest : IEquatable, IValidatableObject { /// /// Initializes a new instance of the class. @@ -47,19 +47,19 @@ namespace Org.OpenAPITools.Model /// /// Gets or Sets ArrayOfString /// - [DataMember(Name="array_of_string", EmitDefaultValue=false)] + [DataMember(Name = "array_of_string", EmitDefaultValue = false)] public List ArrayOfString { get; set; } /// /// Gets or Sets ArrayArrayOfInteger /// - [DataMember(Name="array_array_of_integer", EmitDefaultValue=false)] + [DataMember(Name = "array_array_of_integer", EmitDefaultValue = false)] public List> ArrayArrayOfInteger { get; set; } /// /// Gets or Sets ArrayArrayOfModel /// - [DataMember(Name="array_array_of_model", EmitDefaultValue=false)] + [DataMember(Name = "array_array_of_model", EmitDefaultValue = false)] public List> ArrayArrayOfModel { get; set; } /// diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/Capitalization.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/Capitalization.cs index 214fa303586..de7ef7431c1 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/Capitalization.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/Capitalization.cs @@ -9,14 +9,14 @@ using System; -using System.Linq; -using System.IO; -using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; +using System.Linq; +using System.IO; using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.ComponentModel.DataAnnotations; @@ -29,7 +29,7 @@ namespace Org.OpenAPITools.Model /// Capitalization /// [DataContract] - public partial class Capitalization : IEquatable, IValidatableObject + public partial class Capitalization : IEquatable, IValidatableObject { /// /// Initializes a new instance of the class. @@ -53,38 +53,38 @@ namespace Org.OpenAPITools.Model /// /// Gets or Sets SmallCamel /// - [DataMember(Name="smallCamel", EmitDefaultValue=false)] + [DataMember(Name = "smallCamel", EmitDefaultValue = false)] public string SmallCamel { get; set; } /// /// Gets or Sets CapitalCamel /// - [DataMember(Name="CapitalCamel", EmitDefaultValue=false)] + [DataMember(Name = "CapitalCamel", EmitDefaultValue = false)] public string CapitalCamel { get; set; } /// /// Gets or Sets SmallSnake /// - [DataMember(Name="small_Snake", EmitDefaultValue=false)] + [DataMember(Name = "small_Snake", EmitDefaultValue = false)] public string SmallSnake { get; set; } /// /// Gets or Sets CapitalSnake /// - [DataMember(Name="Capital_Snake", EmitDefaultValue=false)] + [DataMember(Name = "Capital_Snake", EmitDefaultValue = false)] public string CapitalSnake { get; set; } /// /// Gets or Sets SCAETHFlowPoints /// - [DataMember(Name="SCA_ETH_Flow_Points", EmitDefaultValue=false)] + [DataMember(Name = "SCA_ETH_Flow_Points", EmitDefaultValue = false)] public string SCAETHFlowPoints { get; set; } /// /// Name of the pet /// /// Name of the pet - [DataMember(Name="ATT_NAME", EmitDefaultValue=false)] + [DataMember(Name = "ATT_NAME", EmitDefaultValue = false)] public string ATT_NAME { get; set; } /// diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/Cat.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/Cat.cs index e142a5fffe6..793f47a8536 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/Cat.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/Cat.cs @@ -9,14 +9,14 @@ using System; -using System.Linq; -using System.IO; -using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; +using System.Linq; +using System.IO; using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.ComponentModel.DataAnnotations; @@ -29,7 +29,7 @@ namespace Org.OpenAPITools.Model /// Cat /// [DataContract] - public partial class Cat : Animal, IEquatable, IValidatableObject + public partial class Cat : Animal, IEquatable, IValidatableObject { /// /// Initializes a new instance of the class. @@ -50,7 +50,7 @@ namespace Org.OpenAPITools.Model /// /// Gets or Sets Declawed /// - [DataMember(Name="declawed", EmitDefaultValue=false)] + [DataMember(Name = "declawed", EmitDefaultValue = false)] public bool Declawed { get; set; } /// diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/CatAllOf.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/CatAllOf.cs index 49519a5f691..d7aa2b18ec0 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/CatAllOf.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/CatAllOf.cs @@ -9,14 +9,14 @@ using System; -using System.Linq; -using System.IO; -using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; +using System.Linq; +using System.IO; using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.ComponentModel.DataAnnotations; @@ -29,7 +29,7 @@ namespace Org.OpenAPITools.Model /// CatAllOf /// [DataContract] - public partial class CatAllOf : IEquatable, IValidatableObject + public partial class CatAllOf : IEquatable, IValidatableObject { /// /// Initializes a new instance of the class. @@ -43,7 +43,7 @@ namespace Org.OpenAPITools.Model /// /// Gets or Sets Declawed /// - [DataMember(Name="declawed", EmitDefaultValue=false)] + [DataMember(Name = "declawed", EmitDefaultValue = false)] public bool Declawed { get; set; } /// diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/Category.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/Category.cs index ec605908f1d..64793707ace 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/Category.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/Category.cs @@ -9,14 +9,14 @@ using System; -using System.Linq; -using System.IO; -using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; +using System.Linq; +using System.IO; using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.ComponentModel.DataAnnotations; @@ -29,7 +29,7 @@ namespace Org.OpenAPITools.Model /// Category /// [DataContract] - public partial class Category : IEquatable, IValidatableObject + public partial class Category : IEquatable, IValidatableObject { /// /// Initializes a new instance of the class. @@ -51,13 +51,13 @@ namespace Org.OpenAPITools.Model /// /// Gets or Sets Id /// - [DataMember(Name="id", EmitDefaultValue=false)] + [DataMember(Name = "id", EmitDefaultValue = false)] public long Id { get; set; } /// /// Gets or Sets Name /// - [DataMember(Name="name", EmitDefaultValue=false)] + [DataMember(Name = "name", EmitDefaultValue = false)] public string Name { get; set; } /// diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/ClassModel.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/ClassModel.cs index af0d19a2376..c7244c4e215 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/ClassModel.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/ClassModel.cs @@ -9,14 +9,14 @@ using System; -using System.Linq; -using System.IO; -using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; +using System.Linq; +using System.IO; using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.ComponentModel.DataAnnotations; @@ -29,7 +29,7 @@ namespace Org.OpenAPITools.Model /// Model for testing model with \"_class\" property /// [DataContract] - public partial class ClassModel : IEquatable, IValidatableObject + public partial class ClassModel : IEquatable, IValidatableObject { /// /// Initializes a new instance of the class. @@ -43,7 +43,7 @@ namespace Org.OpenAPITools.Model /// /// Gets or Sets Class /// - [DataMember(Name="_class", EmitDefaultValue=false)] + [DataMember(Name = "_class", EmitDefaultValue = false)] public string Class { get; set; } /// diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/Dog.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/Dog.cs index 2e4eaac43d5..c99c9137856 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/Dog.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/Dog.cs @@ -9,14 +9,14 @@ using System; -using System.Linq; -using System.IO; -using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; +using System.Linq; +using System.IO; using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.ComponentModel.DataAnnotations; @@ -29,7 +29,7 @@ namespace Org.OpenAPITools.Model /// Dog /// [DataContract] - public partial class Dog : Animal, IEquatable, IValidatableObject + public partial class Dog : Animal, IEquatable, IValidatableObject { /// /// Initializes a new instance of the class. @@ -50,7 +50,7 @@ namespace Org.OpenAPITools.Model /// /// Gets or Sets Breed /// - [DataMember(Name="breed", EmitDefaultValue=false)] + [DataMember(Name = "breed", EmitDefaultValue = false)] public string Breed { get; set; } /// diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/DogAllOf.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/DogAllOf.cs index cb89e3c4e44..a6a2d090a3c 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/DogAllOf.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/DogAllOf.cs @@ -9,14 +9,14 @@ using System; -using System.Linq; -using System.IO; -using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; +using System.Linq; +using System.IO; using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.ComponentModel.DataAnnotations; @@ -29,7 +29,7 @@ namespace Org.OpenAPITools.Model /// DogAllOf /// [DataContract] - public partial class DogAllOf : IEquatable, IValidatableObject + public partial class DogAllOf : IEquatable, IValidatableObject { /// /// Initializes a new instance of the class. @@ -43,7 +43,7 @@ namespace Org.OpenAPITools.Model /// /// Gets or Sets Breed /// - [DataMember(Name="breed", EmitDefaultValue=false)] + [DataMember(Name = "breed", EmitDefaultValue = false)] public string Breed { get; set; } /// diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/EnumArrays.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/EnumArrays.cs index 55567f8833f..cdc8103d8f3 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/EnumArrays.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/EnumArrays.cs @@ -9,14 +9,14 @@ using System; -using System.Linq; -using System.IO; -using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; +using System.Linq; +using System.IO; using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.ComponentModel.DataAnnotations; @@ -29,7 +29,7 @@ namespace Org.OpenAPITools.Model /// EnumArrays /// [DataContract] - public partial class EnumArrays : IEquatable, IValidatableObject + public partial class EnumArrays : IEquatable, IValidatableObject { /// /// Defines JustSymbol @@ -54,7 +54,7 @@ namespace Org.OpenAPITools.Model /// /// Gets or Sets JustSymbol /// - [DataMember(Name="just_symbol", EmitDefaultValue=false)] + [DataMember(Name = "just_symbol", EmitDefaultValue = false)] public JustSymbolEnum? JustSymbol { get; set; } /// /// Defines ArrayEnum @@ -80,7 +80,7 @@ namespace Org.OpenAPITools.Model /// /// Gets or Sets ArrayEnum /// - [DataMember(Name="array_enum", EmitDefaultValue=false)] + [DataMember(Name = "array_enum", EmitDefaultValue = false)] public List ArrayEnum { get; set; } /// /// Initializes a new instance of the class. diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/EnumClass.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/EnumClass.cs index 77d71cfde61..83e51941724 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/EnumClass.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/EnumClass.cs @@ -9,14 +9,14 @@ using System; -using System.Linq; -using System.IO; -using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; +using System.Linq; +using System.IO; using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.ComponentModel.DataAnnotations; diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/EnumTest.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/EnumTest.cs index 83386a4e39b..58687dbf785 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/EnumTest.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/EnumTest.cs @@ -9,14 +9,14 @@ using System; -using System.Linq; -using System.IO; -using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; +using System.Linq; +using System.IO; using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.ComponentModel.DataAnnotations; @@ -29,7 +29,7 @@ namespace Org.OpenAPITools.Model /// EnumTest /// [DataContract] - public partial class EnumTest : IEquatable, IValidatableObject + public partial class EnumTest : IEquatable, IValidatableObject { /// /// Defines EnumString @@ -60,7 +60,7 @@ namespace Org.OpenAPITools.Model /// /// Gets or Sets EnumString /// - [DataMember(Name="enum_string", EmitDefaultValue=false)] + [DataMember(Name = "enum_string", EmitDefaultValue = false)] public EnumStringEnum? EnumString { get; set; } /// /// Defines EnumStringRequired @@ -91,7 +91,7 @@ namespace Org.OpenAPITools.Model /// /// Gets or Sets EnumStringRequired /// - [DataMember(Name="enum_string_required", EmitDefaultValue=false)] + [DataMember(Name = "enum_string_required", EmitDefaultValue = false)] public EnumStringRequiredEnum EnumStringRequired { get; set; } /// /// Defines EnumInteger @@ -113,7 +113,7 @@ namespace Org.OpenAPITools.Model /// /// Gets or Sets EnumInteger /// - [DataMember(Name="enum_integer", EmitDefaultValue=false)] + [DataMember(Name = "enum_integer", EmitDefaultValue = false)] public EnumIntegerEnum? EnumInteger { get; set; } /// /// Defines EnumNumber @@ -138,27 +138,27 @@ namespace Org.OpenAPITools.Model /// /// Gets or Sets EnumNumber /// - [DataMember(Name="enum_number", EmitDefaultValue=false)] + [DataMember(Name = "enum_number", EmitDefaultValue = false)] public EnumNumberEnum? EnumNumber { get; set; } /// /// Gets or Sets OuterEnum /// - [DataMember(Name="outerEnum", EmitDefaultValue=true)] + [DataMember(Name = "outerEnum", EmitDefaultValue = true)] public OuterEnum? OuterEnum { get; set; } /// /// Gets or Sets OuterEnumInteger /// - [DataMember(Name="outerEnumInteger", EmitDefaultValue=false)] + [DataMember(Name = "outerEnumInteger", EmitDefaultValue = false)] public OuterEnumInteger? OuterEnumInteger { get; set; } /// /// Gets or Sets OuterEnumDefaultValue /// - [DataMember(Name="outerEnumDefaultValue", EmitDefaultValue=false)] + [DataMember(Name = "outerEnumDefaultValue", EmitDefaultValue = false)] public OuterEnumDefaultValue? OuterEnumDefaultValue { get; set; } /// /// Gets or Sets OuterEnumIntegerDefaultValue /// - [DataMember(Name="outerEnumIntegerDefaultValue", EmitDefaultValue=false)] + [DataMember(Name = "outerEnumIntegerDefaultValue", EmitDefaultValue = false)] public OuterEnumIntegerDefaultValue? OuterEnumIntegerDefaultValue { get; set; } /// /// Initializes a new instance of the class. diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/File.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/File.cs index e213c24e761..ea755621bcb 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/File.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/File.cs @@ -9,14 +9,14 @@ using System; -using System.Linq; -using System.IO; -using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; +using System.Linq; +using System.IO; using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.ComponentModel.DataAnnotations; @@ -29,7 +29,7 @@ namespace Org.OpenAPITools.Model /// Must be named `File` for test. /// [DataContract] - public partial class File : IEquatable, IValidatableObject + public partial class File : IEquatable, IValidatableObject { /// /// Initializes a new instance of the class. @@ -44,7 +44,7 @@ namespace Org.OpenAPITools.Model /// Test capitalization /// /// Test capitalization - [DataMember(Name="sourceURI", EmitDefaultValue=false)] + [DataMember(Name = "sourceURI", EmitDefaultValue = false)] public string SourceURI { get; set; } /// diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/FileSchemaTestClass.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/FileSchemaTestClass.cs index 6877624e792..66a658d287a 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/FileSchemaTestClass.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/FileSchemaTestClass.cs @@ -9,14 +9,14 @@ using System; -using System.Linq; -using System.IO; -using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; +using System.Linq; +using System.IO; using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.ComponentModel.DataAnnotations; @@ -29,7 +29,7 @@ namespace Org.OpenAPITools.Model /// FileSchemaTestClass /// [DataContract] - public partial class FileSchemaTestClass : IEquatable, IValidatableObject + public partial class FileSchemaTestClass : IEquatable, IValidatableObject { /// /// Initializes a new instance of the class. @@ -45,13 +45,13 @@ namespace Org.OpenAPITools.Model /// /// Gets or Sets File /// - [DataMember(Name="file", EmitDefaultValue=false)] + [DataMember(Name = "file", EmitDefaultValue = false)] public File File { get; set; } /// /// Gets or Sets Files /// - [DataMember(Name="files", EmitDefaultValue=false)] + [DataMember(Name = "files", EmitDefaultValue = false)] public List Files { get; set; } /// diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/Foo.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/Foo.cs index 68be2d60b9a..e31cfbcfeef 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/Foo.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/Foo.cs @@ -9,14 +9,14 @@ using System; -using System.Linq; -using System.IO; -using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; +using System.Linq; +using System.IO; using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.ComponentModel.DataAnnotations; @@ -29,7 +29,7 @@ namespace Org.OpenAPITools.Model /// Foo /// [DataContract] - public partial class Foo : IEquatable, IValidatableObject + public partial class Foo : IEquatable, IValidatableObject { /// /// Initializes a new instance of the class. @@ -44,7 +44,7 @@ namespace Org.OpenAPITools.Model /// /// Gets or Sets Bar /// - [DataMember(Name="bar", EmitDefaultValue=false)] + [DataMember(Name = "bar", EmitDefaultValue = false)] public string Bar { get; set; } /// diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/FormatTest.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/FormatTest.cs index 102ebc4eddf..80372fe36b0 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/FormatTest.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/FormatTest.cs @@ -9,14 +9,14 @@ using System; -using System.Linq; -using System.IO; -using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; +using System.Linq; +using System.IO; using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.ComponentModel.DataAnnotations; @@ -29,7 +29,7 @@ namespace Org.OpenAPITools.Model /// FormatTest /// [DataContract] - public partial class FormatTest : IEquatable, IValidatableObject + public partial class FormatTest : IEquatable, IValidatableObject { /// /// Initializes a new instance of the class. @@ -78,94 +78,94 @@ namespace Org.OpenAPITools.Model /// /// Gets or Sets Integer /// - [DataMember(Name="integer", EmitDefaultValue=false)] + [DataMember(Name = "integer", EmitDefaultValue = false)] public int Integer { get; set; } /// /// Gets or Sets Int32 /// - [DataMember(Name="int32", EmitDefaultValue=false)] + [DataMember(Name = "int32", EmitDefaultValue = false)] public int Int32 { get; set; } /// /// Gets or Sets Int64 /// - [DataMember(Name="int64", EmitDefaultValue=false)] + [DataMember(Name = "int64", EmitDefaultValue = false)] public long Int64 { get; set; } /// /// Gets or Sets Number /// - [DataMember(Name="number", EmitDefaultValue=false)] + [DataMember(Name = "number", EmitDefaultValue = false)] public decimal Number { get; set; } /// /// Gets or Sets Float /// - [DataMember(Name="float", EmitDefaultValue=false)] + [DataMember(Name = "float", EmitDefaultValue = false)] public float Float { get; set; } /// /// Gets or Sets Double /// - [DataMember(Name="double", EmitDefaultValue=false)] + [DataMember(Name = "double", EmitDefaultValue = false)] public double Double { get; set; } /// /// Gets or Sets String /// - [DataMember(Name="string", EmitDefaultValue=false)] + [DataMember(Name = "string", EmitDefaultValue = false)] public string String { get; set; } /// /// Gets or Sets Byte /// - [DataMember(Name="byte", EmitDefaultValue=false)] + [DataMember(Name = "byte", EmitDefaultValue = false)] public byte[] Byte { get; set; } /// /// Gets or Sets Binary /// - [DataMember(Name="binary", EmitDefaultValue=false)] + [DataMember(Name = "binary", EmitDefaultValue = false)] public System.IO.Stream Binary { get; set; } /// /// Gets or Sets Date /// - [DataMember(Name="date", EmitDefaultValue=false)] + [DataMember(Name = "date", EmitDefaultValue = false)] [JsonConverter(typeof(OpenAPIDateConverter))] public DateTime Date { get; set; } /// /// Gets or Sets DateTime /// - [DataMember(Name="dateTime", EmitDefaultValue=false)] + [DataMember(Name = "dateTime", EmitDefaultValue = false)] public DateTime DateTime { get; set; } /// /// Gets or Sets Uuid /// - [DataMember(Name="uuid", EmitDefaultValue=false)] + [DataMember(Name = "uuid", EmitDefaultValue = false)] public Guid Uuid { get; set; } /// /// Gets or Sets Password /// - [DataMember(Name="password", EmitDefaultValue=false)] + [DataMember(Name = "password", EmitDefaultValue = false)] public string Password { get; set; } /// /// A string that is a 10 digit number. Can have leading zeros. /// /// A string that is a 10 digit number. Can have leading zeros. - [DataMember(Name="pattern_with_digits", EmitDefaultValue=false)] + [DataMember(Name = "pattern_with_digits", EmitDefaultValue = false)] public string PatternWithDigits { get; set; } /// /// A string starting with 'image_' (case insensitive) and one to three digits following i.e. Image_01. /// /// A string starting with 'image_' (case insensitive) and one to three digits following i.e. Image_01. - [DataMember(Name="pattern_with_digits_and_delimiter", EmitDefaultValue=false)] + [DataMember(Name = "pattern_with_digits_and_delimiter", EmitDefaultValue = false)] public string PatternWithDigitsAndDelimiter { get; set; } /// diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/HasOnlyReadOnly.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/HasOnlyReadOnly.cs index 6c33e97425c..42450fed6df 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/HasOnlyReadOnly.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/HasOnlyReadOnly.cs @@ -9,14 +9,14 @@ using System; -using System.Linq; -using System.IO; -using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; +using System.Linq; +using System.IO; using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.ComponentModel.DataAnnotations; @@ -29,7 +29,7 @@ namespace Org.OpenAPITools.Model /// HasOnlyReadOnly /// [DataContract] - public partial class HasOnlyReadOnly : IEquatable, IValidatableObject + public partial class HasOnlyReadOnly : IEquatable, IValidatableObject { /// /// Initializes a new instance of the class. @@ -42,13 +42,13 @@ namespace Org.OpenAPITools.Model /// /// Gets or Sets Bar /// - [DataMember(Name="bar", EmitDefaultValue=false)] + [DataMember(Name = "bar", EmitDefaultValue = false)] public string Bar { get; private set; } /// /// Gets or Sets Foo /// - [DataMember(Name="foo", EmitDefaultValue=false)] + [DataMember(Name = "foo", EmitDefaultValue = false)] public string Foo { get; private set; } /// diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/HealthCheckResult.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/HealthCheckResult.cs index 8fe6391ea4f..1d3342fcffc 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/HealthCheckResult.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/HealthCheckResult.cs @@ -9,14 +9,14 @@ using System; -using System.Linq; -using System.IO; -using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; +using System.Linq; +using System.IO; using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.ComponentModel.DataAnnotations; @@ -29,7 +29,7 @@ namespace Org.OpenAPITools.Model /// Just a string to inform instance is up and running. Make it nullable in hope to get it as pointer in generated model. /// [DataContract] - public partial class HealthCheckResult : IEquatable, IValidatableObject + public partial class HealthCheckResult : IEquatable, IValidatableObject { /// /// Initializes a new instance of the class. @@ -43,7 +43,7 @@ namespace Org.OpenAPITools.Model /// /// Gets or Sets NullableMessage /// - [DataMember(Name="NullableMessage", EmitDefaultValue=true)] + [DataMember(Name = "NullableMessage", EmitDefaultValue = true)] public string NullableMessage { get; set; } /// diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/InlineObject.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/InlineObject.cs index 0d5e45d322e..d5d28d23fb7 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/InlineObject.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/InlineObject.cs @@ -9,14 +9,14 @@ using System; -using System.Linq; -using System.IO; -using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; +using System.Linq; +using System.IO; using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.ComponentModel.DataAnnotations; @@ -29,7 +29,7 @@ namespace Org.OpenAPITools.Model /// InlineObject /// [DataContract] - public partial class InlineObject : IEquatable, IValidatableObject + public partial class InlineObject : IEquatable, IValidatableObject { /// /// Initializes a new instance of the class. @@ -46,14 +46,14 @@ namespace Org.OpenAPITools.Model /// Updated name of the pet /// /// Updated name of the pet - [DataMember(Name="name", EmitDefaultValue=false)] + [DataMember(Name = "name", EmitDefaultValue = false)] public string Name { get; set; } /// /// Updated status of the pet /// /// Updated status of the pet - [DataMember(Name="status", EmitDefaultValue=false)] + [DataMember(Name = "status", EmitDefaultValue = false)] public string Status { get; set; } /// diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/InlineObject1.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/InlineObject1.cs index da605cc1193..6bff6af1277 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/InlineObject1.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/InlineObject1.cs @@ -9,14 +9,14 @@ using System; -using System.Linq; -using System.IO; -using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; +using System.Linq; +using System.IO; using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.ComponentModel.DataAnnotations; @@ -29,7 +29,7 @@ namespace Org.OpenAPITools.Model /// InlineObject1 /// [DataContract] - public partial class InlineObject1 : IEquatable, IValidatableObject + public partial class InlineObject1 : IEquatable, IValidatableObject { /// /// Initializes a new instance of the class. @@ -46,14 +46,14 @@ namespace Org.OpenAPITools.Model /// Additional data to pass to server /// /// Additional data to pass to server - [DataMember(Name="additionalMetadata", EmitDefaultValue=false)] + [DataMember(Name = "additionalMetadata", EmitDefaultValue = false)] public string AdditionalMetadata { get; set; } /// /// file to upload /// /// file to upload - [DataMember(Name="file", EmitDefaultValue=false)] + [DataMember(Name = "file", EmitDefaultValue = false)] public System.IO.Stream File { get; set; } /// diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/InlineObject2.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/InlineObject2.cs index 3f7aa3a202b..7ea325bb251 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/InlineObject2.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/InlineObject2.cs @@ -9,14 +9,14 @@ using System; -using System.Linq; -using System.IO; -using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; +using System.Linq; +using System.IO; using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.ComponentModel.DataAnnotations; @@ -29,7 +29,7 @@ namespace Org.OpenAPITools.Model /// InlineObject2 /// [DataContract] - public partial class InlineObject2 : IEquatable, IValidatableObject + public partial class InlineObject2 : IEquatable, IValidatableObject { /// /// Defines EnumFormStringArray @@ -56,7 +56,7 @@ namespace Org.OpenAPITools.Model /// Form parameter enum test (string array) /// /// Form parameter enum test (string array) - [DataMember(Name="enum_form_string_array", EmitDefaultValue=false)] + [DataMember(Name = "enum_form_string_array", EmitDefaultValue = false)] public List EnumFormStringArray { get; set; } /// /// Form parameter enum test (string) @@ -89,7 +89,7 @@ namespace Org.OpenAPITools.Model /// Form parameter enum test (string) /// /// Form parameter enum test (string) - [DataMember(Name="enum_form_string", EmitDefaultValue=false)] + [DataMember(Name = "enum_form_string", EmitDefaultValue = false)] public EnumFormStringEnum? EnumFormString { get; set; } /// /// Initializes a new instance of the class. diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/InlineObject3.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/InlineObject3.cs index 0662cc9e672..bf1cdaeac58 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/InlineObject3.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/InlineObject3.cs @@ -9,14 +9,14 @@ using System; -using System.Linq; -using System.IO; -using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; +using System.Linq; +using System.IO; using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.ComponentModel.DataAnnotations; @@ -29,7 +29,7 @@ namespace Org.OpenAPITools.Model /// InlineObject3 /// [DataContract] - public partial class InlineObject3 : IEquatable, IValidatableObject + public partial class InlineObject3 : IEquatable, IValidatableObject { /// /// Initializes a new instance of the class. @@ -77,77 +77,77 @@ namespace Org.OpenAPITools.Model /// None /// /// None - [DataMember(Name="integer", EmitDefaultValue=false)] + [DataMember(Name = "integer", EmitDefaultValue = false)] public int Integer { get; set; } /// /// None /// /// None - [DataMember(Name="int32", EmitDefaultValue=false)] + [DataMember(Name = "int32", EmitDefaultValue = false)] public int Int32 { get; set; } /// /// None /// /// None - [DataMember(Name="int64", EmitDefaultValue=false)] + [DataMember(Name = "int64", EmitDefaultValue = false)] public long Int64 { get; set; } /// /// None /// /// None - [DataMember(Name="number", EmitDefaultValue=false)] + [DataMember(Name = "number", EmitDefaultValue = false)] public decimal Number { get; set; } /// /// None /// /// None - [DataMember(Name="float", EmitDefaultValue=false)] + [DataMember(Name = "float", EmitDefaultValue = false)] public float Float { get; set; } /// /// None /// /// None - [DataMember(Name="double", EmitDefaultValue=false)] + [DataMember(Name = "double", EmitDefaultValue = false)] public double Double { get; set; } /// /// None /// /// None - [DataMember(Name="string", EmitDefaultValue=false)] + [DataMember(Name = "string", EmitDefaultValue = false)] public string String { get; set; } /// /// None /// /// None - [DataMember(Name="pattern_without_delimiter", EmitDefaultValue=false)] + [DataMember(Name = "pattern_without_delimiter", EmitDefaultValue = false)] public string PatternWithoutDelimiter { get; set; } /// /// None /// /// None - [DataMember(Name="byte", EmitDefaultValue=false)] + [DataMember(Name = "byte", EmitDefaultValue = false)] public byte[] Byte { get; set; } /// /// None /// /// None - [DataMember(Name="binary", EmitDefaultValue=false)] + [DataMember(Name = "binary", EmitDefaultValue = false)] public System.IO.Stream Binary { get; set; } /// /// None /// /// None - [DataMember(Name="date", EmitDefaultValue=false)] + [DataMember(Name = "date", EmitDefaultValue = false)] [JsonConverter(typeof(OpenAPIDateConverter))] public DateTime Date { get; set; } @@ -155,21 +155,21 @@ namespace Org.OpenAPITools.Model /// None /// /// None - [DataMember(Name="dateTime", EmitDefaultValue=false)] + [DataMember(Name = "dateTime", EmitDefaultValue = false)] public DateTime DateTime { get; set; } /// /// None /// /// None - [DataMember(Name="password", EmitDefaultValue=false)] + [DataMember(Name = "password", EmitDefaultValue = false)] public string Password { get; set; } /// /// None /// /// None - [DataMember(Name="callback", EmitDefaultValue=false)] + [DataMember(Name = "callback", EmitDefaultValue = false)] public string Callback { get; set; } /// diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/InlineObject4.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/InlineObject4.cs index c5eb34ace4d..7619b1dd7aa 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/InlineObject4.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/InlineObject4.cs @@ -9,14 +9,14 @@ using System; -using System.Linq; -using System.IO; -using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; +using System.Linq; +using System.IO; using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.ComponentModel.DataAnnotations; @@ -29,7 +29,7 @@ namespace Org.OpenAPITools.Model /// InlineObject4 /// [DataContract] - public partial class InlineObject4 : IEquatable, IValidatableObject + public partial class InlineObject4 : IEquatable, IValidatableObject { /// /// Initializes a new instance of the class. @@ -53,14 +53,14 @@ namespace Org.OpenAPITools.Model /// field1 /// /// field1 - [DataMember(Name="param", EmitDefaultValue=false)] + [DataMember(Name = "param", EmitDefaultValue = false)] public string Param { get; set; } /// /// field2 /// /// field2 - [DataMember(Name="param2", EmitDefaultValue=false)] + [DataMember(Name = "param2", EmitDefaultValue = false)] public string Param2 { get; set; } /// diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/InlineObject5.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/InlineObject5.cs index c7a3d8c47ef..9c7b8c0d3ea 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/InlineObject5.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/InlineObject5.cs @@ -9,14 +9,14 @@ using System; -using System.Linq; -using System.IO; -using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; +using System.Linq; +using System.IO; using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.ComponentModel.DataAnnotations; @@ -29,7 +29,7 @@ namespace Org.OpenAPITools.Model /// InlineObject5 /// [DataContract] - public partial class InlineObject5 : IEquatable, IValidatableObject + public partial class InlineObject5 : IEquatable, IValidatableObject { /// /// Initializes a new instance of the class. @@ -52,14 +52,14 @@ namespace Org.OpenAPITools.Model /// Additional data to pass to server /// /// Additional data to pass to server - [DataMember(Name="additionalMetadata", EmitDefaultValue=false)] + [DataMember(Name = "additionalMetadata", EmitDefaultValue = false)] public string AdditionalMetadata { get; set; } /// /// file to upload /// /// file to upload - [DataMember(Name="requiredFile", EmitDefaultValue=false)] + [DataMember(Name = "requiredFile", EmitDefaultValue = false)] public System.IO.Stream RequiredFile { get; set; } /// diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/InlineResponseDefault.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/InlineResponseDefault.cs index 10f74b872a5..fde7ec25c47 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/InlineResponseDefault.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/InlineResponseDefault.cs @@ -9,14 +9,14 @@ using System; -using System.Linq; -using System.IO; -using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; +using System.Linq; +using System.IO; using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.ComponentModel.DataAnnotations; @@ -29,7 +29,7 @@ namespace Org.OpenAPITools.Model /// InlineResponseDefault /// [DataContract] - public partial class InlineResponseDefault : IEquatable, IValidatableObject + public partial class InlineResponseDefault : IEquatable, IValidatableObject { /// /// Initializes a new instance of the class. @@ -43,7 +43,7 @@ namespace Org.OpenAPITools.Model /// /// Gets or Sets String /// - [DataMember(Name="string", EmitDefaultValue=false)] + [DataMember(Name = "string", EmitDefaultValue = false)] public Foo String { get; set; } /// diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/List.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/List.cs index 98d88d57a00..44d892601ec 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/List.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/List.cs @@ -9,14 +9,14 @@ using System; -using System.Linq; -using System.IO; -using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; +using System.Linq; +using System.IO; using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.ComponentModel.DataAnnotations; @@ -29,7 +29,7 @@ namespace Org.OpenAPITools.Model /// List /// [DataContract] - public partial class List : IEquatable, IValidatableObject + public partial class List : IEquatable, IValidatableObject { /// /// Initializes a new instance of the class. @@ -43,7 +43,7 @@ namespace Org.OpenAPITools.Model /// /// Gets or Sets _123List /// - [DataMember(Name="123-list", EmitDefaultValue=false)] + [DataMember(Name = "123-list", EmitDefaultValue = false)] public string _123List { get; set; } /// diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/MapTest.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/MapTest.cs index 32dd700cf84..5c711d7269a 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/MapTest.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/MapTest.cs @@ -9,14 +9,14 @@ using System; -using System.Linq; -using System.IO; -using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; +using System.Linq; +using System.IO; using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.ComponentModel.DataAnnotations; @@ -29,7 +29,7 @@ namespace Org.OpenAPITools.Model /// MapTest /// [DataContract] - public partial class MapTest : IEquatable, IValidatableObject + public partial class MapTest : IEquatable, IValidatableObject { /// /// Defines Inner @@ -55,7 +55,7 @@ namespace Org.OpenAPITools.Model /// /// Gets or Sets MapOfEnumString /// - [DataMember(Name="map_of_enum_string", EmitDefaultValue=false)] + [DataMember(Name = "map_of_enum_string", EmitDefaultValue = false)] public Dictionary MapOfEnumString { get; set; } /// /// Initializes a new instance of the class. @@ -75,19 +75,19 @@ namespace Org.OpenAPITools.Model /// /// Gets or Sets MapMapOfString /// - [DataMember(Name="map_map_of_string", EmitDefaultValue=false)] + [DataMember(Name = "map_map_of_string", EmitDefaultValue = false)] public Dictionary> MapMapOfString { get; set; } /// /// Gets or Sets DirectMap /// - [DataMember(Name="direct_map", EmitDefaultValue=false)] + [DataMember(Name = "direct_map", EmitDefaultValue = false)] public Dictionary DirectMap { get; set; } /// /// Gets or Sets IndirectMap /// - [DataMember(Name="indirect_map", EmitDefaultValue=false)] + [DataMember(Name = "indirect_map", EmitDefaultValue = false)] public Dictionary IndirectMap { get; set; } /// diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/MixedPropertiesAndAdditionalPropertiesClass.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/MixedPropertiesAndAdditionalPropertiesClass.cs index b063641c816..61025f2761d 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/MixedPropertiesAndAdditionalPropertiesClass.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/MixedPropertiesAndAdditionalPropertiesClass.cs @@ -9,14 +9,14 @@ using System; -using System.Linq; -using System.IO; -using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; +using System.Linq; +using System.IO; using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.ComponentModel.DataAnnotations; @@ -29,7 +29,7 @@ namespace Org.OpenAPITools.Model /// MixedPropertiesAndAdditionalPropertiesClass /// [DataContract] - public partial class MixedPropertiesAndAdditionalPropertiesClass : IEquatable, IValidatableObject + public partial class MixedPropertiesAndAdditionalPropertiesClass : IEquatable, IValidatableObject { /// /// Initializes a new instance of the class. @@ -47,19 +47,19 @@ namespace Org.OpenAPITools.Model /// /// Gets or Sets Uuid /// - [DataMember(Name="uuid", EmitDefaultValue=false)] + [DataMember(Name = "uuid", EmitDefaultValue = false)] public Guid Uuid { get; set; } /// /// Gets or Sets DateTime /// - [DataMember(Name="dateTime", EmitDefaultValue=false)] + [DataMember(Name = "dateTime", EmitDefaultValue = false)] public DateTime DateTime { get; set; } /// /// Gets or Sets Map /// - [DataMember(Name="map", EmitDefaultValue=false)] + [DataMember(Name = "map", EmitDefaultValue = false)] public Dictionary Map { get; set; } /// diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/Model200Response.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/Model200Response.cs index aef95cb9fe2..a5c41c24b85 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/Model200Response.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/Model200Response.cs @@ -9,14 +9,14 @@ using System; -using System.Linq; -using System.IO; -using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; +using System.Linq; +using System.IO; using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.ComponentModel.DataAnnotations; @@ -29,7 +29,7 @@ namespace Org.OpenAPITools.Model /// Model for testing model name starting with number /// [DataContract] - public partial class Model200Response : IEquatable, IValidatableObject + public partial class Model200Response : IEquatable, IValidatableObject { /// /// Initializes a new instance of the class. @@ -45,13 +45,13 @@ namespace Org.OpenAPITools.Model /// /// Gets or Sets Name /// - [DataMember(Name="name", EmitDefaultValue=false)] + [DataMember(Name = "name", EmitDefaultValue = false)] public int Name { get; set; } /// /// Gets or Sets Class /// - [DataMember(Name="class", EmitDefaultValue=false)] + [DataMember(Name = "class", EmitDefaultValue = false)] public string Class { get; set; } /// diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/ModelClient.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/ModelClient.cs index d439a5ce8e9..cf0d4cc18c9 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/ModelClient.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/ModelClient.cs @@ -9,14 +9,14 @@ using System; -using System.Linq; -using System.IO; -using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; +using System.Linq; +using System.IO; using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.ComponentModel.DataAnnotations; @@ -29,7 +29,7 @@ namespace Org.OpenAPITools.Model /// ModelClient /// [DataContract] - public partial class ModelClient : IEquatable, IValidatableObject + public partial class ModelClient : IEquatable, IValidatableObject { /// /// Initializes a new instance of the class. @@ -43,7 +43,7 @@ namespace Org.OpenAPITools.Model /// /// Gets or Sets __Client /// - [DataMember(Name="client", EmitDefaultValue=false)] + [DataMember(Name = "client", EmitDefaultValue = false)] public string __Client { get; set; } /// diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/Name.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/Name.cs index 022c13414fc..38d3804ad45 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/Name.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/Name.cs @@ -9,14 +9,14 @@ using System; -using System.Linq; -using System.IO; -using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; +using System.Linq; +using System.IO; using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.ComponentModel.DataAnnotations; @@ -29,7 +29,7 @@ namespace Org.OpenAPITools.Model /// Model for testing model name same as property name /// [DataContract] - public partial class Name : IEquatable, IValidatableObject + public partial class Name : IEquatable, IValidatableObject { /// /// Initializes a new instance of the class. @@ -50,25 +50,25 @@ namespace Org.OpenAPITools.Model /// /// Gets or Sets _Name /// - [DataMember(Name="name", EmitDefaultValue=false)] + [DataMember(Name = "name", EmitDefaultValue = false)] public int _Name { get; set; } /// /// Gets or Sets SnakeCase /// - [DataMember(Name="snake_case", EmitDefaultValue=false)] + [DataMember(Name = "snake_case", EmitDefaultValue = false)] public int SnakeCase { get; private set; } /// /// Gets or Sets Property /// - [DataMember(Name="property", EmitDefaultValue=false)] + [DataMember(Name = "property", EmitDefaultValue = false)] public string Property { get; set; } /// /// Gets or Sets _123Number /// - [DataMember(Name="123Number", EmitDefaultValue=false)] + [DataMember(Name = "123Number", EmitDefaultValue = false)] public int _123Number { get; private set; } /// diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/NullableClass.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/NullableClass.cs index e0048755410..68e687ca57c 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/NullableClass.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/NullableClass.cs @@ -9,14 +9,14 @@ using System; -using System.Linq; -using System.IO; -using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; +using System.Linq; +using System.IO; using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.ComponentModel.DataAnnotations; @@ -29,7 +29,7 @@ namespace Org.OpenAPITools.Model /// NullableClass /// [DataContract] - public partial class NullableClass : Dictionary, IEquatable, IValidatableObject + public partial class NullableClass : Dictionary, IEquatable, IValidatableObject { /// /// Initializes a new instance of the class. @@ -65,74 +65,74 @@ namespace Org.OpenAPITools.Model /// /// Gets or Sets IntegerProp /// - [DataMember(Name="integer_prop", EmitDefaultValue=true)] + [DataMember(Name = "integer_prop", EmitDefaultValue = true)] public int? IntegerProp { get; set; } /// /// Gets or Sets NumberProp /// - [DataMember(Name="number_prop", EmitDefaultValue=true)] + [DataMember(Name = "number_prop", EmitDefaultValue = true)] public decimal? NumberProp { get; set; } /// /// Gets or Sets BooleanProp /// - [DataMember(Name="boolean_prop", EmitDefaultValue=true)] + [DataMember(Name = "boolean_prop", EmitDefaultValue = true)] public bool? BooleanProp { get; set; } /// /// Gets or Sets StringProp /// - [DataMember(Name="string_prop", EmitDefaultValue=true)] + [DataMember(Name = "string_prop", EmitDefaultValue = true)] public string StringProp { get; set; } /// /// Gets or Sets DateProp /// - [DataMember(Name="date_prop", EmitDefaultValue=true)] + [DataMember(Name = "date_prop", EmitDefaultValue = true)] [JsonConverter(typeof(OpenAPIDateConverter))] public DateTime? DateProp { get; set; } /// /// Gets or Sets DatetimeProp /// - [DataMember(Name="datetime_prop", EmitDefaultValue=true)] + [DataMember(Name = "datetime_prop", EmitDefaultValue = true)] public DateTime? DatetimeProp { get; set; } /// /// Gets or Sets ArrayNullableProp /// - [DataMember(Name="array_nullable_prop", EmitDefaultValue=true)] + [DataMember(Name = "array_nullable_prop", EmitDefaultValue = true)] public List ArrayNullableProp { get; set; } /// /// Gets or Sets ArrayAndItemsNullableProp /// - [DataMember(Name="array_and_items_nullable_prop", EmitDefaultValue=true)] + [DataMember(Name = "array_and_items_nullable_prop", EmitDefaultValue = true)] public List ArrayAndItemsNullableProp { get; set; } /// /// Gets or Sets ArrayItemsNullable /// - [DataMember(Name="array_items_nullable", EmitDefaultValue=false)] + [DataMember(Name = "array_items_nullable", EmitDefaultValue = false)] public List ArrayItemsNullable { get; set; } /// /// Gets or Sets ObjectNullableProp /// - [DataMember(Name="object_nullable_prop", EmitDefaultValue=true)] + [DataMember(Name = "object_nullable_prop", EmitDefaultValue = true)] public Dictionary ObjectNullableProp { get; set; } /// /// Gets or Sets ObjectAndItemsNullableProp /// - [DataMember(Name="object_and_items_nullable_prop", EmitDefaultValue=true)] + [DataMember(Name = "object_and_items_nullable_prop", EmitDefaultValue = true)] public Dictionary ObjectAndItemsNullableProp { get; set; } /// /// Gets or Sets ObjectItemsNullable /// - [DataMember(Name="object_items_nullable", EmitDefaultValue=false)] + [DataMember(Name = "object_items_nullable", EmitDefaultValue = false)] public Dictionary ObjectItemsNullable { get; set; } /// diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/NumberOnly.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/NumberOnly.cs index 4ef1d6c0375..e07e3d55b78 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/NumberOnly.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/NumberOnly.cs @@ -9,14 +9,14 @@ using System; -using System.Linq; -using System.IO; -using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; +using System.Linq; +using System.IO; using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.ComponentModel.DataAnnotations; @@ -29,7 +29,7 @@ namespace Org.OpenAPITools.Model /// NumberOnly /// [DataContract] - public partial class NumberOnly : IEquatable, IValidatableObject + public partial class NumberOnly : IEquatable, IValidatableObject { /// /// Initializes a new instance of the class. @@ -43,7 +43,7 @@ namespace Org.OpenAPITools.Model /// /// Gets or Sets JustNumber /// - [DataMember(Name="JustNumber", EmitDefaultValue=false)] + [DataMember(Name = "JustNumber", EmitDefaultValue = false)] public decimal JustNumber { get; set; } /// diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/Order.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/Order.cs index c534561b9f0..5d74095fbba 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/Order.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/Order.cs @@ -9,14 +9,14 @@ using System; -using System.Linq; -using System.IO; -using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; +using System.Linq; +using System.IO; using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.ComponentModel.DataAnnotations; @@ -29,7 +29,7 @@ namespace Org.OpenAPITools.Model /// Order /// [DataContract] - public partial class Order : IEquatable, IValidatableObject + public partial class Order : IEquatable, IValidatableObject { /// /// Order Status @@ -62,7 +62,7 @@ namespace Org.OpenAPITools.Model /// Order Status /// /// Order Status - [DataMember(Name="status", EmitDefaultValue=false)] + [DataMember(Name = "status", EmitDefaultValue = false)] public StatusEnum? Status { get; set; } /// /// Initializes a new instance of the class. @@ -86,31 +86,31 @@ namespace Org.OpenAPITools.Model /// /// Gets or Sets Id /// - [DataMember(Name="id", EmitDefaultValue=false)] + [DataMember(Name = "id", EmitDefaultValue = false)] public long Id { get; set; } /// /// Gets or Sets PetId /// - [DataMember(Name="petId", EmitDefaultValue=false)] + [DataMember(Name = "petId", EmitDefaultValue = false)] public long PetId { get; set; } /// /// Gets or Sets Quantity /// - [DataMember(Name="quantity", EmitDefaultValue=false)] + [DataMember(Name = "quantity", EmitDefaultValue = false)] public int Quantity { get; set; } /// /// Gets or Sets ShipDate /// - [DataMember(Name="shipDate", EmitDefaultValue=false)] + [DataMember(Name = "shipDate", EmitDefaultValue = false)] public DateTime ShipDate { get; set; } /// /// Gets or Sets Complete /// - [DataMember(Name="complete", EmitDefaultValue=false)] + [DataMember(Name = "complete", EmitDefaultValue = false)] public bool Complete { get; set; } /// diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/OuterComposite.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/OuterComposite.cs index ae55c32f752..13f4cf275c0 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/OuterComposite.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/OuterComposite.cs @@ -9,14 +9,14 @@ using System; -using System.Linq; -using System.IO; -using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; +using System.Linq; +using System.IO; using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.ComponentModel.DataAnnotations; @@ -29,7 +29,7 @@ namespace Org.OpenAPITools.Model /// OuterComposite /// [DataContract] - public partial class OuterComposite : IEquatable, IValidatableObject + public partial class OuterComposite : IEquatable, IValidatableObject { /// /// Initializes a new instance of the class. @@ -47,19 +47,19 @@ namespace Org.OpenAPITools.Model /// /// Gets or Sets MyNumber /// - [DataMember(Name="my_number", EmitDefaultValue=false)] + [DataMember(Name = "my_number", EmitDefaultValue = false)] public decimal MyNumber { get; set; } /// /// Gets or Sets MyString /// - [DataMember(Name="my_string", EmitDefaultValue=false)] + [DataMember(Name = "my_string", EmitDefaultValue = false)] public string MyString { get; set; } /// /// Gets or Sets MyBoolean /// - [DataMember(Name="my_boolean", EmitDefaultValue=false)] + [DataMember(Name = "my_boolean", EmitDefaultValue = false)] public bool MyBoolean { get; set; } /// diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/OuterEnum.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/OuterEnum.cs index 9c1fb69cfa4..05db0c82a3b 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/OuterEnum.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/OuterEnum.cs @@ -9,14 +9,14 @@ using System; -using System.Linq; -using System.IO; -using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; +using System.Linq; +using System.IO; using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.ComponentModel.DataAnnotations; diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/OuterEnumDefaultValue.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/OuterEnumDefaultValue.cs index 64f0955898e..1fde02761fe 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/OuterEnumDefaultValue.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/OuterEnumDefaultValue.cs @@ -9,14 +9,14 @@ using System; -using System.Linq; -using System.IO; -using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; +using System.Linq; +using System.IO; using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.ComponentModel.DataAnnotations; diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/OuterEnumInteger.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/OuterEnumInteger.cs index 7ad60a1a96c..0b327bcaf00 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/OuterEnumInteger.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/OuterEnumInteger.cs @@ -9,14 +9,14 @@ using System; -using System.Linq; -using System.IO; -using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; +using System.Linq; +using System.IO; using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.ComponentModel.DataAnnotations; diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/OuterEnumIntegerDefaultValue.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/OuterEnumIntegerDefaultValue.cs index 5cd33917381..7db41e8cccc 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/OuterEnumIntegerDefaultValue.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/OuterEnumIntegerDefaultValue.cs @@ -9,14 +9,14 @@ using System; -using System.Linq; -using System.IO; -using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; +using System.Linq; +using System.IO; using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.ComponentModel.DataAnnotations; diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/Pet.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/Pet.cs index f824e52c9b3..d15f5180bec 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/Pet.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/Pet.cs @@ -9,14 +9,14 @@ using System; -using System.Linq; -using System.IO; -using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; +using System.Linq; +using System.IO; using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.ComponentModel.DataAnnotations; @@ -29,7 +29,7 @@ namespace Org.OpenAPITools.Model /// Pet /// [DataContract] - public partial class Pet : IEquatable, IValidatableObject + public partial class Pet : IEquatable, IValidatableObject { /// /// pet status in the store @@ -62,7 +62,7 @@ namespace Org.OpenAPITools.Model /// pet status in the store /// /// pet status in the store - [DataMember(Name="status", EmitDefaultValue=false)] + [DataMember(Name = "status", EmitDefaultValue = false)] public StatusEnum? Status { get; set; } /// /// Initializes a new instance of the class. @@ -93,31 +93,31 @@ namespace Org.OpenAPITools.Model /// /// Gets or Sets Id /// - [DataMember(Name="id", EmitDefaultValue=false)] + [DataMember(Name = "id", EmitDefaultValue = false)] public long Id { get; set; } /// /// Gets or Sets Category /// - [DataMember(Name="category", EmitDefaultValue=false)] + [DataMember(Name = "category", EmitDefaultValue = false)] public Category Category { get; set; } /// /// Gets or Sets Name /// - [DataMember(Name="name", EmitDefaultValue=false)] + [DataMember(Name = "name", EmitDefaultValue = false)] public string Name { get; set; } /// /// Gets or Sets PhotoUrls /// - [DataMember(Name="photoUrls", EmitDefaultValue=false)] + [DataMember(Name = "photoUrls", EmitDefaultValue = false)] public List PhotoUrls { get; set; } /// /// Gets or Sets Tags /// - [DataMember(Name="tags", EmitDefaultValue=false)] + [DataMember(Name = "tags", EmitDefaultValue = false)] public List Tags { get; set; } /// diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/ReadOnlyFirst.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/ReadOnlyFirst.cs index 9b873c62ff3..5edc2b02656 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/ReadOnlyFirst.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/ReadOnlyFirst.cs @@ -9,14 +9,14 @@ using System; -using System.Linq; -using System.IO; -using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; +using System.Linq; +using System.IO; using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.ComponentModel.DataAnnotations; @@ -29,7 +29,7 @@ namespace Org.OpenAPITools.Model /// ReadOnlyFirst /// [DataContract] - public partial class ReadOnlyFirst : IEquatable, IValidatableObject + public partial class ReadOnlyFirst : IEquatable, IValidatableObject { /// /// Initializes a new instance of the class. @@ -43,13 +43,13 @@ namespace Org.OpenAPITools.Model /// /// Gets or Sets Bar /// - [DataMember(Name="bar", EmitDefaultValue=false)] + [DataMember(Name = "bar", EmitDefaultValue = false)] public string Bar { get; private set; } /// /// Gets or Sets Baz /// - [DataMember(Name="baz", EmitDefaultValue=false)] + [DataMember(Name = "baz", EmitDefaultValue = false)] public string Baz { get; set; } /// diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/Return.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/Return.cs index 6fa75241602..883f4e75415 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/Return.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/Return.cs @@ -9,14 +9,14 @@ using System; -using System.Linq; -using System.IO; -using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; +using System.Linq; +using System.IO; using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.ComponentModel.DataAnnotations; @@ -29,7 +29,7 @@ namespace Org.OpenAPITools.Model /// Model for testing reserved words /// [DataContract] - public partial class Return : IEquatable, IValidatableObject + public partial class Return : IEquatable, IValidatableObject { /// /// Initializes a new instance of the class. @@ -43,7 +43,7 @@ namespace Org.OpenAPITools.Model /// /// Gets or Sets _Return /// - [DataMember(Name="return", EmitDefaultValue=false)] + [DataMember(Name = "return", EmitDefaultValue = false)] public int _Return { get; set; } /// diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/SpecialModelName.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/SpecialModelName.cs index 1d3bc1f9ea4..977390b2718 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/SpecialModelName.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/SpecialModelName.cs @@ -9,14 +9,14 @@ using System; -using System.Linq; -using System.IO; -using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; +using System.Linq; +using System.IO; using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.ComponentModel.DataAnnotations; @@ -29,7 +29,7 @@ namespace Org.OpenAPITools.Model /// SpecialModelName /// [DataContract] - public partial class SpecialModelName : IEquatable, IValidatableObject + public partial class SpecialModelName : IEquatable, IValidatableObject { /// /// Initializes a new instance of the class. @@ -43,7 +43,7 @@ namespace Org.OpenAPITools.Model /// /// Gets or Sets SpecialPropertyName /// - [DataMember(Name="$special[property.name]", EmitDefaultValue=false)] + [DataMember(Name = "$special[property.name]", EmitDefaultValue = false)] public long SpecialPropertyName { get; set; } /// diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/Tag.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/Tag.cs index 46e3e32bd07..52d221a4b4b 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/Tag.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/Tag.cs @@ -9,14 +9,14 @@ using System; -using System.Linq; -using System.IO; -using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; +using System.Linq; +using System.IO; using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.ComponentModel.DataAnnotations; @@ -29,7 +29,7 @@ namespace Org.OpenAPITools.Model /// Tag /// [DataContract] - public partial class Tag : IEquatable, IValidatableObject + public partial class Tag : IEquatable, IValidatableObject { /// /// Initializes a new instance of the class. @@ -45,13 +45,13 @@ namespace Org.OpenAPITools.Model /// /// Gets or Sets Id /// - [DataMember(Name="id", EmitDefaultValue=false)] + [DataMember(Name = "id", EmitDefaultValue = false)] public long Id { get; set; } /// /// Gets or Sets Name /// - [DataMember(Name="name", EmitDefaultValue=false)] + [DataMember(Name = "name", EmitDefaultValue = false)] public string Name { get; set; } /// diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/User.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/User.cs index 4eff5b81d6b..806c09e8b14 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/User.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/User.cs @@ -9,14 +9,14 @@ using System; -using System.Linq; -using System.IO; -using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; +using System.Linq; +using System.IO; using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.ComponentModel.DataAnnotations; @@ -29,7 +29,7 @@ namespace Org.OpenAPITools.Model /// User /// [DataContract] - public partial class User : IEquatable, IValidatableObject + public partial class User : IEquatable, IValidatableObject { /// /// Initializes a new instance of the class. @@ -57,50 +57,50 @@ namespace Org.OpenAPITools.Model /// /// Gets or Sets Id /// - [DataMember(Name="id", EmitDefaultValue=false)] + [DataMember(Name = "id", EmitDefaultValue = false)] public long Id { get; set; } /// /// Gets or Sets Username /// - [DataMember(Name="username", EmitDefaultValue=false)] + [DataMember(Name = "username", EmitDefaultValue = false)] public string Username { get; set; } /// /// Gets or Sets FirstName /// - [DataMember(Name="firstName", EmitDefaultValue=false)] + [DataMember(Name = "firstName", EmitDefaultValue = false)] public string FirstName { get; set; } /// /// Gets or Sets LastName /// - [DataMember(Name="lastName", EmitDefaultValue=false)] + [DataMember(Name = "lastName", EmitDefaultValue = false)] public string LastName { get; set; } /// /// Gets or Sets Email /// - [DataMember(Name="email", EmitDefaultValue=false)] + [DataMember(Name = "email", EmitDefaultValue = false)] public string Email { get; set; } /// /// Gets or Sets Password /// - [DataMember(Name="password", EmitDefaultValue=false)] + [DataMember(Name = "password", EmitDefaultValue = false)] public string Password { get; set; } /// /// Gets or Sets Phone /// - [DataMember(Name="phone", EmitDefaultValue=false)] + [DataMember(Name = "phone", EmitDefaultValue = false)] public string Phone { get; set; } /// /// User Status /// /// User Status - [DataMember(Name="userStatus", EmitDefaultValue=false)] + [DataMember(Name = "userStatus", EmitDefaultValue = false)] public int UserStatus { get; set; } /// diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Api/AnotherFakeApi.cs b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Api/AnotherFakeApi.cs index cb9b588a58a..d934f08a9c3 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Api/AnotherFakeApi.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Api/AnotherFakeApi.cs @@ -35,7 +35,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// client model /// ModelClient - ModelClient Call123TestSpecialTags (ModelClient modelClient); + ModelClient Call123TestSpecialTags(ModelClient modelClient); /// /// To test special tags @@ -46,7 +46,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// client model /// ApiResponse of ModelClient - ApiResponse Call123TestSpecialTagsWithHttpInfo (ModelClient modelClient); + ApiResponse Call123TestSpecialTagsWithHttpInfo(ModelClient modelClient); #endregion Synchronous Operations } @@ -66,7 +66,7 @@ namespace Org.OpenAPITools.Api /// client model /// Cancellation Token to cancel the request. /// Task of ModelClient - System.Threading.Tasks.Task Call123TestSpecialTagsAsync (ModelClient modelClient, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task Call123TestSpecialTagsAsync(ModelClient modelClient, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// To test special tags @@ -78,7 +78,7 @@ namespace Org.OpenAPITools.Api /// client model /// Cancellation Token to cancel the request. /// Task of ApiResponse (ModelClient) - System.Threading.Tasks.Task> Call123TestSpecialTagsWithHttpInfoAsync (ModelClient modelClient, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task> Call123TestSpecialTagsWithHttpInfoAsync(ModelClient modelClient, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); #endregion Asynchronous Operations } @@ -101,7 +101,7 @@ namespace Org.OpenAPITools.Api /// Initializes a new instance of the class. /// /// - public AnotherFakeApi() : this((string) null) + public AnotherFakeApi() : this((string)null) { } @@ -146,11 +146,11 @@ namespace Org.OpenAPITools.Api /// The client interface for synchronous API access. /// The client interface for asynchronous API access. /// The configuration object. - public AnotherFakeApi(Org.OpenAPITools.Client.ISynchronousClient client,Org.OpenAPITools.Client.IAsynchronousClient asyncClient, Org.OpenAPITools.Client.IReadableConfiguration configuration) + public AnotherFakeApi(Org.OpenAPITools.Client.ISynchronousClient client, Org.OpenAPITools.Client.IAsynchronousClient asyncClient, Org.OpenAPITools.Client.IReadableConfiguration configuration) { - if(client == null) throw new ArgumentNullException("client"); - if(asyncClient == null) throw new ArgumentNullException("asyncClient"); - if(configuration == null) throw new ArgumentNullException("configuration"); + if (client == null) throw new ArgumentNullException("client"); + if (asyncClient == null) throw new ArgumentNullException("asyncClient"); + if (configuration == null) throw new ArgumentNullException("configuration"); this.Client = client; this.AsynchronousClient = asyncClient; @@ -181,7 +181,7 @@ namespace Org.OpenAPITools.Api /// Gets or sets the configuration object /// /// An instance of the Configuration - public Org.OpenAPITools.Client.IReadableConfiguration Configuration {get; set;} + public Org.OpenAPITools.Client.IReadableConfiguration Configuration { get; set; } /// /// Provides a factory method hook for the creation of exceptions. @@ -205,10 +205,10 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// client model /// ModelClient - public ModelClient Call123TestSpecialTags (ModelClient modelClient) + public ModelClient Call123TestSpecialTags(ModelClient modelClient) { - Org.OpenAPITools.Client.ApiResponse localVarResponse = Call123TestSpecialTagsWithHttpInfo(modelClient); - return localVarResponse.Data; + Org.OpenAPITools.Client.ApiResponse localVarResponse = Call123TestSpecialTagsWithHttpInfo(modelClient); + return localVarResponse.Data; } /// @@ -217,7 +217,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// client model /// ApiResponse of ModelClient - public Org.OpenAPITools.Client.ApiResponse< ModelClient > Call123TestSpecialTagsWithHttpInfo (ModelClient modelClient) + public Org.OpenAPITools.Client.ApiResponse Call123TestSpecialTagsWithHttpInfo(ModelClient modelClient) { // verify the required parameter 'modelClient' is set if (modelClient == null) @@ -244,7 +244,7 @@ namespace Org.OpenAPITools.Api // make the HTTP request - var localVarResponse = this.Client.Patch< ModelClient >("/another-fake/dummy", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Patch("/another-fake/dummy", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { @@ -262,10 +262,10 @@ namespace Org.OpenAPITools.Api /// client model /// Cancellation Token to cancel the request. /// Task of ModelClient - public async System.Threading.Tasks.Task Call123TestSpecialTagsAsync (ModelClient modelClient, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task Call123TestSpecialTagsAsync(ModelClient modelClient, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.ApiResponse localVarResponse = await Call123TestSpecialTagsWithHttpInfoAsync(modelClient, cancellationToken); - return localVarResponse.Data; + Org.OpenAPITools.Client.ApiResponse localVarResponse = await Call123TestSpecialTagsWithHttpInfoAsync(modelClient, cancellationToken); + return localVarResponse.Data; } /// @@ -275,7 +275,7 @@ namespace Org.OpenAPITools.Api /// client model /// Cancellation Token to cancel the request. /// Task of ApiResponse (ModelClient) - public async System.Threading.Tasks.Task> Call123TestSpecialTagsWithHttpInfoAsync (ModelClient modelClient, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> Call123TestSpecialTagsWithHttpInfoAsync(ModelClient modelClient, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'modelClient' is set if (modelClient == null) diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Api/DefaultApi.cs b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Api/DefaultApi.cs index eb8ff109acc..150606b6f69 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Api/DefaultApi.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Api/DefaultApi.cs @@ -31,7 +31,7 @@ namespace Org.OpenAPITools.Api /// /// Thrown when fails to make API call /// InlineResponseDefault - InlineResponseDefault FooGet (); + InlineResponseDefault FooGet(); /// /// @@ -41,7 +41,7 @@ namespace Org.OpenAPITools.Api /// /// Thrown when fails to make API call /// ApiResponse of InlineResponseDefault - ApiResponse FooGetWithHttpInfo (); + ApiResponse FooGetWithHttpInfo(); #endregion Synchronous Operations } @@ -60,7 +60,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// Cancellation Token to cancel the request. /// Task of InlineResponseDefault - System.Threading.Tasks.Task FooGetAsync (System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task FooGetAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// @@ -71,7 +71,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// Cancellation Token to cancel the request. /// Task of ApiResponse (InlineResponseDefault) - System.Threading.Tasks.Task> FooGetWithHttpInfoAsync (System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task> FooGetWithHttpInfoAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); #endregion Asynchronous Operations } @@ -94,7 +94,7 @@ namespace Org.OpenAPITools.Api /// Initializes a new instance of the class. /// /// - public DefaultApi() : this((string) null) + public DefaultApi() : this((string)null) { } @@ -139,11 +139,11 @@ namespace Org.OpenAPITools.Api /// The client interface for synchronous API access. /// The client interface for asynchronous API access. /// The configuration object. - public DefaultApi(Org.OpenAPITools.Client.ISynchronousClient client,Org.OpenAPITools.Client.IAsynchronousClient asyncClient, Org.OpenAPITools.Client.IReadableConfiguration configuration) + public DefaultApi(Org.OpenAPITools.Client.ISynchronousClient client, Org.OpenAPITools.Client.IAsynchronousClient asyncClient, Org.OpenAPITools.Client.IReadableConfiguration configuration) { - if(client == null) throw new ArgumentNullException("client"); - if(asyncClient == null) throw new ArgumentNullException("asyncClient"); - if(configuration == null) throw new ArgumentNullException("configuration"); + if (client == null) throw new ArgumentNullException("client"); + if (asyncClient == null) throw new ArgumentNullException("asyncClient"); + if (configuration == null) throw new ArgumentNullException("configuration"); this.Client = client; this.AsynchronousClient = asyncClient; @@ -174,7 +174,7 @@ namespace Org.OpenAPITools.Api /// Gets or sets the configuration object /// /// An instance of the Configuration - public Org.OpenAPITools.Client.IReadableConfiguration Configuration {get; set;} + public Org.OpenAPITools.Client.IReadableConfiguration Configuration { get; set; } /// /// Provides a factory method hook for the creation of exceptions. @@ -197,10 +197,10 @@ namespace Org.OpenAPITools.Api /// /// Thrown when fails to make API call /// InlineResponseDefault - public InlineResponseDefault FooGet () + public InlineResponseDefault FooGet() { - Org.OpenAPITools.Client.ApiResponse localVarResponse = FooGetWithHttpInfo(); - return localVarResponse.Data; + Org.OpenAPITools.Client.ApiResponse localVarResponse = FooGetWithHttpInfo(); + return localVarResponse.Data; } /// @@ -208,7 +208,7 @@ namespace Org.OpenAPITools.Api /// /// Thrown when fails to make API call /// ApiResponse of InlineResponseDefault - public Org.OpenAPITools.Client.ApiResponse< InlineResponseDefault > FooGetWithHttpInfo () + public Org.OpenAPITools.Client.ApiResponse FooGetWithHttpInfo() { Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); @@ -229,7 +229,7 @@ namespace Org.OpenAPITools.Api // make the HTTP request - var localVarResponse = this.Client.Get< InlineResponseDefault >("/foo", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get("/foo", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { @@ -246,10 +246,10 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// Cancellation Token to cancel the request. /// Task of InlineResponseDefault - public async System.Threading.Tasks.Task FooGetAsync (System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task FooGetAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.ApiResponse localVarResponse = await FooGetWithHttpInfoAsync(cancellationToken); - return localVarResponse.Data; + Org.OpenAPITools.Client.ApiResponse localVarResponse = await FooGetWithHttpInfoAsync(cancellationToken); + return localVarResponse.Data; } /// @@ -258,7 +258,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// Cancellation Token to cancel the request. /// Task of ApiResponse (InlineResponseDefault) - public async System.Threading.Tasks.Task> FooGetWithHttpInfoAsync (System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> FooGetWithHttpInfoAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Api/FakeApi.cs b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Api/FakeApi.cs index 3af0e35f7d6..0a354599ae9 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Api/FakeApi.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Api/FakeApi.cs @@ -31,7 +31,7 @@ namespace Org.OpenAPITools.Api /// /// Thrown when fails to make API call /// HealthCheckResult - HealthCheckResult FakeHealthGet (); + HealthCheckResult FakeHealthGet(); /// /// Health check endpoint @@ -41,7 +41,7 @@ namespace Org.OpenAPITools.Api /// /// Thrown when fails to make API call /// ApiResponse of HealthCheckResult - ApiResponse FakeHealthGetWithHttpInfo (); + ApiResponse FakeHealthGetWithHttpInfo(); /// /// test http signature authentication /// @@ -50,7 +50,7 @@ namespace Org.OpenAPITools.Api /// query parameter (optional) /// header parameter (optional) /// - void FakeHttpSignatureTest (Pet pet, string query1 = default(string), string header1 = default(string)); + void FakeHttpSignatureTest(Pet pet, string query1 = default(string), string header1 = default(string)); /// /// test http signature authentication @@ -63,7 +63,7 @@ namespace Org.OpenAPITools.Api /// query parameter (optional) /// header parameter (optional) /// ApiResponse of Object(void) - ApiResponse FakeHttpSignatureTestWithHttpInfo (Pet pet, string query1 = default(string), string header1 = default(string)); + ApiResponse FakeHttpSignatureTestWithHttpInfo(Pet pet, string query1 = default(string), string header1 = default(string)); /// /// /// @@ -73,7 +73,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// Input boolean as post body (optional) /// bool - bool FakeOuterBooleanSerialize (bool? body = default(bool?)); + bool FakeOuterBooleanSerialize(bool? body = default(bool?)); /// /// @@ -84,7 +84,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// Input boolean as post body (optional) /// ApiResponse of bool - ApiResponse FakeOuterBooleanSerializeWithHttpInfo (bool? body = default(bool?)); + ApiResponse FakeOuterBooleanSerializeWithHttpInfo(bool? body = default(bool?)); /// /// /// @@ -94,7 +94,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// Input composite as post body (optional) /// OuterComposite - OuterComposite FakeOuterCompositeSerialize (OuterComposite outerComposite = default(OuterComposite)); + OuterComposite FakeOuterCompositeSerialize(OuterComposite outerComposite = default(OuterComposite)); /// /// @@ -105,7 +105,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// Input composite as post body (optional) /// ApiResponse of OuterComposite - ApiResponse FakeOuterCompositeSerializeWithHttpInfo (OuterComposite outerComposite = default(OuterComposite)); + ApiResponse FakeOuterCompositeSerializeWithHttpInfo(OuterComposite outerComposite = default(OuterComposite)); /// /// /// @@ -115,7 +115,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// Input number as post body (optional) /// decimal - decimal FakeOuterNumberSerialize (decimal? body = default(decimal?)); + decimal FakeOuterNumberSerialize(decimal? body = default(decimal?)); /// /// @@ -126,7 +126,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// Input number as post body (optional) /// ApiResponse of decimal - ApiResponse FakeOuterNumberSerializeWithHttpInfo (decimal? body = default(decimal?)); + ApiResponse FakeOuterNumberSerializeWithHttpInfo(decimal? body = default(decimal?)); /// /// /// @@ -136,7 +136,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// Input string as post body (optional) /// string - string FakeOuterStringSerialize (string body = default(string)); + string FakeOuterStringSerialize(string body = default(string)); /// /// @@ -147,7 +147,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// Input string as post body (optional) /// ApiResponse of string - ApiResponse FakeOuterStringSerializeWithHttpInfo (string body = default(string)); + ApiResponse FakeOuterStringSerializeWithHttpInfo(string body = default(string)); /// /// /// @@ -157,7 +157,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// /// - void TestBodyWithFileSchema (FileSchemaTestClass fileSchemaTestClass); + void TestBodyWithFileSchema(FileSchemaTestClass fileSchemaTestClass); /// /// @@ -168,7 +168,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// /// ApiResponse of Object(void) - ApiResponse TestBodyWithFileSchemaWithHttpInfo (FileSchemaTestClass fileSchemaTestClass); + ApiResponse TestBodyWithFileSchemaWithHttpInfo(FileSchemaTestClass fileSchemaTestClass); /// /// /// @@ -176,7 +176,7 @@ namespace Org.OpenAPITools.Api /// /// /// - void TestBodyWithQueryParams (string query, User user); + void TestBodyWithQueryParams(string query, User user); /// /// @@ -188,7 +188,7 @@ namespace Org.OpenAPITools.Api /// /// /// ApiResponse of Object(void) - ApiResponse TestBodyWithQueryParamsWithHttpInfo (string query, User user); + ApiResponse TestBodyWithQueryParamsWithHttpInfo(string query, User user); /// /// To test \"client\" model /// @@ -198,7 +198,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// client model /// ModelClient - ModelClient TestClientModel (ModelClient modelClient); + ModelClient TestClientModel(ModelClient modelClient); /// /// To test \"client\" model @@ -209,7 +209,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// client model /// ApiResponse of ModelClient - ApiResponse TestClientModelWithHttpInfo (ModelClient modelClient); + ApiResponse TestClientModelWithHttpInfo(ModelClient modelClient); /// /// Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트 /// @@ -232,7 +232,7 @@ namespace Org.OpenAPITools.Api /// None (optional) /// None (optional) /// - void TestEndpointParameters (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)); + void TestEndpointParameters(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)); /// /// Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트 @@ -256,7 +256,7 @@ namespace Org.OpenAPITools.Api /// None (optional) /// None (optional) /// ApiResponse of Object(void) - ApiResponse TestEndpointParametersWithHttpInfo (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)); + ApiResponse TestEndpointParametersWithHttpInfo(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)); /// /// To test enum parameters /// @@ -273,7 +273,7 @@ namespace Org.OpenAPITools.Api /// Form parameter enum test (string array) (optional, default to $) /// Form parameter enum test (string) (optional, default to -efg) /// - void TestEnumParameters (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)); + void TestEnumParameters(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)); /// /// To test enum parameters @@ -291,7 +291,7 @@ namespace Org.OpenAPITools.Api /// Form parameter enum test (string array) (optional, default to $) /// Form parameter enum test (string) (optional, default to -efg) /// ApiResponse of Object(void) - ApiResponse TestEnumParametersWithHttpInfo (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)); + ApiResponse TestEnumParametersWithHttpInfo(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)); /// /// Fake endpoint to test group parameters (optional) /// @@ -306,7 +306,7 @@ namespace Org.OpenAPITools.Api /// Boolean in group parameters (optional) /// Integer in group parameters (optional) /// - void TestGroupParameters (int requiredStringGroup, bool requiredBooleanGroup, long requiredInt64Group, int? stringGroup = default(int?), bool? booleanGroup = default(bool?), long? int64Group = default(long?)); + void TestGroupParameters(int requiredStringGroup, bool requiredBooleanGroup, long requiredInt64Group, int? stringGroup = default(int?), bool? booleanGroup = default(bool?), long? int64Group = default(long?)); /// /// Fake endpoint to test group parameters (optional) @@ -322,14 +322,14 @@ namespace Org.OpenAPITools.Api /// Boolean in group parameters (optional) /// Integer in group parameters (optional) /// ApiResponse of Object(void) - ApiResponse TestGroupParametersWithHttpInfo (int requiredStringGroup, bool requiredBooleanGroup, long requiredInt64Group, int? stringGroup = default(int?), bool? booleanGroup = default(bool?), long? int64Group = default(long?)); + ApiResponse TestGroupParametersWithHttpInfo(int requiredStringGroup, bool requiredBooleanGroup, long requiredInt64Group, int? stringGroup = default(int?), bool? booleanGroup = default(bool?), long? int64Group = default(long?)); /// /// test inline additionalProperties /// /// Thrown when fails to make API call /// request body /// - void TestInlineAdditionalProperties (Dictionary requestBody); + void TestInlineAdditionalProperties(Dictionary requestBody); /// /// test inline additionalProperties @@ -340,7 +340,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// request body /// ApiResponse of Object(void) - ApiResponse TestInlineAdditionalPropertiesWithHttpInfo (Dictionary requestBody); + ApiResponse TestInlineAdditionalPropertiesWithHttpInfo(Dictionary requestBody); /// /// test json serialization of form data /// @@ -348,7 +348,7 @@ namespace Org.OpenAPITools.Api /// field1 /// field2 /// - void TestJsonFormData (string param, string param2); + void TestJsonFormData(string param, string param2); /// /// test json serialization of form data @@ -360,7 +360,7 @@ namespace Org.OpenAPITools.Api /// field1 /// field2 /// ApiResponse of Object(void) - ApiResponse TestJsonFormDataWithHttpInfo (string param, string param2); + ApiResponse TestJsonFormDataWithHttpInfo(string param, string param2); /// /// /// @@ -374,7 +374,7 @@ namespace Org.OpenAPITools.Api /// /// /// - void TestQueryParameterCollectionFormat (List pipe, List ioutil, List http, List url, List context); + void TestQueryParameterCollectionFormat(List pipe, List ioutil, List http, List url, List context); /// /// @@ -389,7 +389,7 @@ namespace Org.OpenAPITools.Api /// /// /// ApiResponse of Object(void) - ApiResponse TestQueryParameterCollectionFormatWithHttpInfo (List pipe, List ioutil, List http, List url, List context); + ApiResponse TestQueryParameterCollectionFormatWithHttpInfo(List pipe, List ioutil, List http, List url, List context); #endregion Synchronous Operations } @@ -408,7 +408,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// Cancellation Token to cancel the request. /// Task of HealthCheckResult - System.Threading.Tasks.Task FakeHealthGetAsync (System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task FakeHealthGetAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// Health check endpoint @@ -419,7 +419,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// Cancellation Token to cancel the request. /// Task of ApiResponse (HealthCheckResult) - System.Threading.Tasks.Task> FakeHealthGetWithHttpInfoAsync (System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task> FakeHealthGetWithHttpInfoAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// test http signature authentication /// @@ -432,7 +432,7 @@ namespace Org.OpenAPITools.Api /// header parameter (optional) /// Cancellation Token to cancel the request. /// Task of void - System.Threading.Tasks.Task FakeHttpSignatureTestAsync (Pet pet, string query1 = default(string), string header1 = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task FakeHttpSignatureTestAsync(Pet pet, string query1 = default(string), string header1 = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// test http signature authentication @@ -446,7 +446,7 @@ namespace Org.OpenAPITools.Api /// header parameter (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse - System.Threading.Tasks.Task> FakeHttpSignatureTestWithHttpInfoAsync (Pet pet, string query1 = default(string), string header1 = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task> FakeHttpSignatureTestWithHttpInfoAsync(Pet pet, string query1 = default(string), string header1 = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// /// @@ -457,7 +457,7 @@ namespace Org.OpenAPITools.Api /// Input boolean as post body (optional) /// Cancellation Token to cancel the request. /// Task of bool - System.Threading.Tasks.Task FakeOuterBooleanSerializeAsync (bool? body = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task FakeOuterBooleanSerializeAsync(bool? body = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// @@ -469,7 +469,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> FakeOuterBooleanSerializeWithHttpInfoAsync (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)); /// /// /// @@ -480,7 +480,7 @@ namespace Org.OpenAPITools.Api /// Input composite as post body (optional) /// Cancellation Token to cancel the request. /// Task of OuterComposite - System.Threading.Tasks.Task FakeOuterCompositeSerializeAsync (OuterComposite outerComposite = default(OuterComposite), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task FakeOuterCompositeSerializeAsync(OuterComposite outerComposite = default(OuterComposite), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// @@ -492,7 +492,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> FakeOuterCompositeSerializeWithHttpInfoAsync (OuterComposite outerComposite = default(OuterComposite), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task> FakeOuterCompositeSerializeWithHttpInfoAsync(OuterComposite outerComposite = default(OuterComposite), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// /// @@ -503,7 +503,7 @@ namespace Org.OpenAPITools.Api /// Input number as post body (optional) /// Cancellation Token to cancel the request. /// Task of decimal - System.Threading.Tasks.Task FakeOuterNumberSerializeAsync (decimal? body = default(decimal?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task FakeOuterNumberSerializeAsync(decimal? body = default(decimal?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// @@ -515,7 +515,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> FakeOuterNumberSerializeWithHttpInfoAsync (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)); /// /// /// @@ -526,7 +526,7 @@ namespace Org.OpenAPITools.Api /// Input string as post body (optional) /// Cancellation Token to cancel the request. /// Task of string - System.Threading.Tasks.Task FakeOuterStringSerializeAsync (string body = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task FakeOuterStringSerializeAsync(string body = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// @@ -538,7 +538,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> FakeOuterStringSerializeWithHttpInfoAsync (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)); /// /// /// @@ -549,7 +549,7 @@ namespace Org.OpenAPITools.Api /// /// Cancellation Token to cancel the request. /// Task of void - System.Threading.Tasks.Task TestBodyWithFileSchemaAsync (FileSchemaTestClass fileSchemaTestClass, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task TestBodyWithFileSchemaAsync(FileSchemaTestClass fileSchemaTestClass, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// @@ -561,7 +561,7 @@ namespace Org.OpenAPITools.Api /// /// Cancellation Token to cancel the request. /// Task of ApiResponse - System.Threading.Tasks.Task> TestBodyWithFileSchemaWithHttpInfoAsync (FileSchemaTestClass fileSchemaTestClass, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task> TestBodyWithFileSchemaWithHttpInfoAsync(FileSchemaTestClass fileSchemaTestClass, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// /// @@ -573,7 +573,7 @@ namespace Org.OpenAPITools.Api /// /// Cancellation Token to cancel the request. /// Task of void - System.Threading.Tasks.Task TestBodyWithQueryParamsAsync (string query, User user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task TestBodyWithQueryParamsAsync(string query, User user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// @@ -586,7 +586,7 @@ namespace Org.OpenAPITools.Api /// /// Cancellation Token to cancel the request. /// Task of ApiResponse - System.Threading.Tasks.Task> TestBodyWithQueryParamsWithHttpInfoAsync (string query, User user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task> TestBodyWithQueryParamsWithHttpInfoAsync(string query, User user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// To test \"client\" model /// @@ -597,7 +597,7 @@ namespace Org.OpenAPITools.Api /// client model /// Cancellation Token to cancel the request. /// Task of ModelClient - System.Threading.Tasks.Task TestClientModelAsync (ModelClient modelClient, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task TestClientModelAsync(ModelClient modelClient, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// To test \"client\" model @@ -609,7 +609,7 @@ namespace Org.OpenAPITools.Api /// client model /// Cancellation Token to cancel the request. /// Task of ApiResponse (ModelClient) - System.Threading.Tasks.Task> TestClientModelWithHttpInfoAsync (ModelClient modelClient, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task> TestClientModelWithHttpInfoAsync(ModelClient modelClient, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트 /// @@ -633,7 +633,7 @@ namespace Org.OpenAPITools.Api /// None (optional) /// Cancellation Token to cancel the request. /// Task of void - 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)); + 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)); /// /// Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트 @@ -658,7 +658,7 @@ namespace Org.OpenAPITools.Api /// None (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse - 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)); + 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 /// @@ -676,7 +676,7 @@ namespace Org.OpenAPITools.Api /// Form parameter enum test (string) (optional, default to -efg) /// Cancellation Token to cancel the request. /// Task of void - 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)); + 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)); /// /// To test enum parameters @@ -695,7 +695,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> 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)); + 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) /// @@ -711,7 +711,7 @@ namespace Org.OpenAPITools.Api /// Integer in group parameters (optional) /// Cancellation Token to cancel the request. /// Task of void - 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)); + 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)); /// /// Fake endpoint to test group parameters (optional) @@ -728,7 +728,7 @@ namespace Org.OpenAPITools.Api /// Integer in group parameters (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse - 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)); + 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 /// @@ -739,7 +739,7 @@ namespace Org.OpenAPITools.Api /// request body /// Cancellation Token to cancel the request. /// Task of void - System.Threading.Tasks.Task TestInlineAdditionalPropertiesAsync (Dictionary requestBody, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task TestInlineAdditionalPropertiesAsync(Dictionary requestBody, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// test inline additionalProperties @@ -751,7 +751,7 @@ namespace Org.OpenAPITools.Api /// request body /// Cancellation Token to cancel the request. /// Task of ApiResponse - System.Threading.Tasks.Task> TestInlineAdditionalPropertiesWithHttpInfoAsync (Dictionary requestBody, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task> TestInlineAdditionalPropertiesWithHttpInfoAsync(Dictionary requestBody, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// test json serialization of form data /// @@ -763,7 +763,7 @@ namespace Org.OpenAPITools.Api /// field2 /// Cancellation Token to cancel the request. /// Task of void - System.Threading.Tasks.Task TestJsonFormDataAsync (string param, string param2, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task TestJsonFormDataAsync(string param, string param2, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// test json serialization of form data @@ -776,7 +776,7 @@ namespace Org.OpenAPITools.Api /// field2 /// Cancellation Token to cancel the request. /// Task of ApiResponse - System.Threading.Tasks.Task> TestJsonFormDataWithHttpInfoAsync (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)); /// /// /// @@ -791,7 +791,7 @@ namespace Org.OpenAPITools.Api /// /// Cancellation Token to cancel the request. /// Task of void - System.Threading.Tasks.Task TestQueryParameterCollectionFormatAsync (List pipe, List ioutil, List http, List url, List context, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task TestQueryParameterCollectionFormatAsync(List pipe, List ioutil, List http, List url, List context, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// @@ -807,7 +807,7 @@ namespace Org.OpenAPITools.Api /// /// Cancellation Token to cancel the request. /// Task of ApiResponse - System.Threading.Tasks.Task> TestQueryParameterCollectionFormatWithHttpInfoAsync (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 } @@ -830,7 +830,7 @@ namespace Org.OpenAPITools.Api /// Initializes a new instance of the class. /// /// - public FakeApi() : this((string) null) + public FakeApi() : this((string)null) { } @@ -875,11 +875,11 @@ namespace Org.OpenAPITools.Api /// The client interface for synchronous API access. /// The client interface for asynchronous API access. /// The configuration object. - public FakeApi(Org.OpenAPITools.Client.ISynchronousClient client,Org.OpenAPITools.Client.IAsynchronousClient asyncClient, Org.OpenAPITools.Client.IReadableConfiguration configuration) + public FakeApi(Org.OpenAPITools.Client.ISynchronousClient client, Org.OpenAPITools.Client.IAsynchronousClient asyncClient, Org.OpenAPITools.Client.IReadableConfiguration configuration) { - if(client == null) throw new ArgumentNullException("client"); - if(asyncClient == null) throw new ArgumentNullException("asyncClient"); - if(configuration == null) throw new ArgumentNullException("configuration"); + if (client == null) throw new ArgumentNullException("client"); + if (asyncClient == null) throw new ArgumentNullException("asyncClient"); + if (configuration == null) throw new ArgumentNullException("configuration"); this.Client = client; this.AsynchronousClient = asyncClient; @@ -910,7 +910,7 @@ namespace Org.OpenAPITools.Api /// Gets or sets the configuration object /// /// An instance of the Configuration - public Org.OpenAPITools.Client.IReadableConfiguration Configuration {get; set;} + public Org.OpenAPITools.Client.IReadableConfiguration Configuration { get; set; } /// /// Provides a factory method hook for the creation of exceptions. @@ -933,10 +933,10 @@ namespace Org.OpenAPITools.Api /// /// Thrown when fails to make API call /// HealthCheckResult - public HealthCheckResult FakeHealthGet () + public HealthCheckResult FakeHealthGet() { - Org.OpenAPITools.Client.ApiResponse localVarResponse = FakeHealthGetWithHttpInfo(); - return localVarResponse.Data; + Org.OpenAPITools.Client.ApiResponse localVarResponse = FakeHealthGetWithHttpInfo(); + return localVarResponse.Data; } /// @@ -944,7 +944,7 @@ namespace Org.OpenAPITools.Api /// /// Thrown when fails to make API call /// ApiResponse of HealthCheckResult - public Org.OpenAPITools.Client.ApiResponse< HealthCheckResult > FakeHealthGetWithHttpInfo () + public Org.OpenAPITools.Client.ApiResponse FakeHealthGetWithHttpInfo() { Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); @@ -965,7 +965,7 @@ namespace Org.OpenAPITools.Api // make the HTTP request - var localVarResponse = this.Client.Get< HealthCheckResult >("/fake/health", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get("/fake/health", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { @@ -982,10 +982,10 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// Cancellation Token to cancel the request. /// Task of HealthCheckResult - public async System.Threading.Tasks.Task FakeHealthGetAsync (System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task FakeHealthGetAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.ApiResponse localVarResponse = await FakeHealthGetWithHttpInfoAsync(cancellationToken); - return localVarResponse.Data; + Org.OpenAPITools.Client.ApiResponse localVarResponse = await FakeHealthGetWithHttpInfoAsync(cancellationToken); + return localVarResponse.Data; } /// @@ -994,7 +994,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// Cancellation Token to cancel the request. /// Task of ApiResponse (HealthCheckResult) - public async System.Threading.Tasks.Task> FakeHealthGetWithHttpInfoAsync (System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> FakeHealthGetWithHttpInfoAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); @@ -1037,9 +1037,9 @@ namespace Org.OpenAPITools.Api /// query parameter (optional) /// header parameter (optional) /// - public void FakeHttpSignatureTest (Pet pet, string query1 = default(string), string header1 = default(string)) + public void FakeHttpSignatureTest(Pet pet, string query1 = default(string), string header1 = default(string)) { - FakeHttpSignatureTestWithHttpInfo(pet, query1, header1); + FakeHttpSignatureTestWithHttpInfo(pet, query1, header1); } /// @@ -1050,7 +1050,7 @@ namespace Org.OpenAPITools.Api /// query parameter (optional) /// header parameter (optional) /// ApiResponse of Object(void) - public Org.OpenAPITools.Client.ApiResponse FakeHttpSignatureTestWithHttpInfo (Pet pet, string query1 = default(string), string header1 = default(string)) + public Org.OpenAPITools.Client.ApiResponse FakeHttpSignatureTestWithHttpInfo(Pet pet, string query1 = default(string), string header1 = default(string)) { // verify the required parameter 'pet' is set if (pet == null) @@ -1106,9 +1106,9 @@ namespace Org.OpenAPITools.Api /// header parameter (optional) /// Cancellation Token to cancel the request. /// Task of void - public async System.Threading.Tasks.Task FakeHttpSignatureTestAsync (Pet pet, string query1 = default(string), string header1 = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task FakeHttpSignatureTestAsync(Pet pet, string query1 = default(string), string header1 = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - await FakeHttpSignatureTestWithHttpInfoAsync(pet, query1, header1, cancellationToken); + await FakeHttpSignatureTestWithHttpInfoAsync(pet, query1, header1, cancellationToken); } /// @@ -1120,7 +1120,7 @@ namespace Org.OpenAPITools.Api /// header parameter (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> FakeHttpSignatureTestWithHttpInfoAsync (Pet pet, string query1 = default(string), string header1 = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> FakeHttpSignatureTestWithHttpInfoAsync(Pet pet, string query1 = default(string), string header1 = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'pet' is set if (pet == null) @@ -1176,10 +1176,10 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// Input boolean as post body (optional) /// bool - public bool FakeOuterBooleanSerialize (bool? body = default(bool?)) + public bool FakeOuterBooleanSerialize(bool? body = default(bool?)) { - Org.OpenAPITools.Client.ApiResponse localVarResponse = FakeOuterBooleanSerializeWithHttpInfo(body); - return localVarResponse.Data; + Org.OpenAPITools.Client.ApiResponse localVarResponse = FakeOuterBooleanSerializeWithHttpInfo(body); + return localVarResponse.Data; } /// @@ -1188,7 +1188,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// Input boolean as post body (optional) /// ApiResponse of bool - public Org.OpenAPITools.Client.ApiResponse< bool > FakeOuterBooleanSerializeWithHttpInfo (bool? body = default(bool?)) + public Org.OpenAPITools.Client.ApiResponse FakeOuterBooleanSerializeWithHttpInfo(bool? body = default(bool?)) { Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); @@ -1211,7 +1211,7 @@ namespace Org.OpenAPITools.Api // make the HTTP request - var localVarResponse = this.Client.Post< bool >("/fake/outer/boolean", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Post("/fake/outer/boolean", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { @@ -1229,10 +1229,10 @@ namespace Org.OpenAPITools.Api /// Input boolean as post body (optional) /// Cancellation Token to cancel the request. /// Task of bool - public async System.Threading.Tasks.Task FakeOuterBooleanSerializeAsync (bool? body = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + 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 FakeOuterBooleanSerializeWithHttpInfoAsync(body, cancellationToken); - return localVarResponse.Data; + Org.OpenAPITools.Client.ApiResponse localVarResponse = await FakeOuterBooleanSerializeWithHttpInfoAsync(body, cancellationToken); + return localVarResponse.Data; } /// @@ -1242,7 +1242,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> FakeOuterBooleanSerializeWithHttpInfoAsync (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(); @@ -1285,10 +1285,10 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// Input composite as post body (optional) /// OuterComposite - public OuterComposite FakeOuterCompositeSerialize (OuterComposite outerComposite = default(OuterComposite)) + public OuterComposite FakeOuterCompositeSerialize(OuterComposite outerComposite = default(OuterComposite)) { - Org.OpenAPITools.Client.ApiResponse localVarResponse = FakeOuterCompositeSerializeWithHttpInfo(outerComposite); - return localVarResponse.Data; + Org.OpenAPITools.Client.ApiResponse localVarResponse = FakeOuterCompositeSerializeWithHttpInfo(outerComposite); + return localVarResponse.Data; } /// @@ -1297,7 +1297,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// Input composite as post body (optional) /// ApiResponse of OuterComposite - public Org.OpenAPITools.Client.ApiResponse< OuterComposite > FakeOuterCompositeSerializeWithHttpInfo (OuterComposite outerComposite = default(OuterComposite)) + public Org.OpenAPITools.Client.ApiResponse FakeOuterCompositeSerializeWithHttpInfo(OuterComposite outerComposite = default(OuterComposite)) { Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); @@ -1320,7 +1320,7 @@ namespace Org.OpenAPITools.Api // make the HTTP request - var localVarResponse = this.Client.Post< OuterComposite >("/fake/outer/composite", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Post("/fake/outer/composite", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { @@ -1338,10 +1338,10 @@ namespace Org.OpenAPITools.Api /// Input composite as post body (optional) /// Cancellation Token to cancel the request. /// Task of OuterComposite - public async System.Threading.Tasks.Task FakeOuterCompositeSerializeAsync (OuterComposite outerComposite = default(OuterComposite), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task FakeOuterCompositeSerializeAsync(OuterComposite outerComposite = default(OuterComposite), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.ApiResponse localVarResponse = await FakeOuterCompositeSerializeWithHttpInfoAsync(outerComposite, cancellationToken); - return localVarResponse.Data; + Org.OpenAPITools.Client.ApiResponse localVarResponse = await FakeOuterCompositeSerializeWithHttpInfoAsync(outerComposite, cancellationToken); + return localVarResponse.Data; } /// @@ -1351,7 +1351,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> FakeOuterCompositeSerializeWithHttpInfoAsync (OuterComposite outerComposite = default(OuterComposite), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> FakeOuterCompositeSerializeWithHttpInfoAsync(OuterComposite outerComposite = default(OuterComposite), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); @@ -1394,10 +1394,10 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// Input number as post body (optional) /// decimal - public decimal FakeOuterNumberSerialize (decimal? body = default(decimal?)) + public decimal FakeOuterNumberSerialize(decimal? body = default(decimal?)) { - Org.OpenAPITools.Client.ApiResponse localVarResponse = FakeOuterNumberSerializeWithHttpInfo(body); - return localVarResponse.Data; + Org.OpenAPITools.Client.ApiResponse localVarResponse = FakeOuterNumberSerializeWithHttpInfo(body); + return localVarResponse.Data; } /// @@ -1406,7 +1406,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// Input number as post body (optional) /// ApiResponse of decimal - public Org.OpenAPITools.Client.ApiResponse< decimal > FakeOuterNumberSerializeWithHttpInfo (decimal? body = default(decimal?)) + public Org.OpenAPITools.Client.ApiResponse FakeOuterNumberSerializeWithHttpInfo(decimal? body = default(decimal?)) { Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); @@ -1429,7 +1429,7 @@ namespace Org.OpenAPITools.Api // make the HTTP request - var localVarResponse = this.Client.Post< decimal >("/fake/outer/number", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Post("/fake/outer/number", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { @@ -1447,10 +1447,10 @@ namespace Org.OpenAPITools.Api /// Input number as post body (optional) /// Cancellation Token to cancel the request. /// Task of decimal - public async System.Threading.Tasks.Task FakeOuterNumberSerializeAsync (decimal? body = default(decimal?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + 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 FakeOuterNumberSerializeWithHttpInfoAsync(body, cancellationToken); - return localVarResponse.Data; + Org.OpenAPITools.Client.ApiResponse localVarResponse = await FakeOuterNumberSerializeWithHttpInfoAsync(body, cancellationToken); + return localVarResponse.Data; } /// @@ -1460,7 +1460,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> FakeOuterNumberSerializeWithHttpInfoAsync (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(); @@ -1503,10 +1503,10 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// Input string as post body (optional) /// string - public string FakeOuterStringSerialize (string body = default(string)) + public string FakeOuterStringSerialize(string body = default(string)) { - Org.OpenAPITools.Client.ApiResponse localVarResponse = FakeOuterStringSerializeWithHttpInfo(body); - return localVarResponse.Data; + Org.OpenAPITools.Client.ApiResponse localVarResponse = FakeOuterStringSerializeWithHttpInfo(body); + return localVarResponse.Data; } /// @@ -1515,7 +1515,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// Input string as post body (optional) /// ApiResponse of string - public Org.OpenAPITools.Client.ApiResponse< string > FakeOuterStringSerializeWithHttpInfo (string body = default(string)) + public Org.OpenAPITools.Client.ApiResponse FakeOuterStringSerializeWithHttpInfo(string body = default(string)) { Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); @@ -1538,7 +1538,7 @@ namespace Org.OpenAPITools.Api // make the HTTP request - var localVarResponse = this.Client.Post< string >("/fake/outer/string", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Post("/fake/outer/string", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { @@ -1556,10 +1556,10 @@ namespace Org.OpenAPITools.Api /// Input string as post body (optional) /// Cancellation Token to cancel the request. /// Task of string - public async System.Threading.Tasks.Task FakeOuterStringSerializeAsync (string body = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + 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 FakeOuterStringSerializeWithHttpInfoAsync(body, cancellationToken); - return localVarResponse.Data; + Org.OpenAPITools.Client.ApiResponse localVarResponse = await FakeOuterStringSerializeWithHttpInfoAsync(body, cancellationToken); + return localVarResponse.Data; } /// @@ -1569,7 +1569,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> FakeOuterStringSerializeWithHttpInfoAsync (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(); @@ -1612,9 +1612,9 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// /// - public void TestBodyWithFileSchema (FileSchemaTestClass fileSchemaTestClass) + public void TestBodyWithFileSchema(FileSchemaTestClass fileSchemaTestClass) { - TestBodyWithFileSchemaWithHttpInfo(fileSchemaTestClass); + TestBodyWithFileSchemaWithHttpInfo(fileSchemaTestClass); } /// @@ -1623,7 +1623,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// /// ApiResponse of Object(void) - public Org.OpenAPITools.Client.ApiResponse TestBodyWithFileSchemaWithHttpInfo (FileSchemaTestClass fileSchemaTestClass) + public Org.OpenAPITools.Client.ApiResponse TestBodyWithFileSchemaWithHttpInfo(FileSchemaTestClass fileSchemaTestClass) { // verify the required parameter 'fileSchemaTestClass' is set if (fileSchemaTestClass == null) @@ -1667,9 +1667,9 @@ namespace Org.OpenAPITools.Api /// /// Cancellation Token to cancel the request. /// Task of void - public async System.Threading.Tasks.Task TestBodyWithFileSchemaAsync (FileSchemaTestClass fileSchemaTestClass, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task TestBodyWithFileSchemaAsync(FileSchemaTestClass fileSchemaTestClass, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - await TestBodyWithFileSchemaWithHttpInfoAsync(fileSchemaTestClass, cancellationToken); + await TestBodyWithFileSchemaWithHttpInfoAsync(fileSchemaTestClass, cancellationToken); } /// @@ -1679,7 +1679,7 @@ namespace Org.OpenAPITools.Api /// /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> TestBodyWithFileSchemaWithHttpInfoAsync (FileSchemaTestClass fileSchemaTestClass, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> TestBodyWithFileSchemaWithHttpInfoAsync(FileSchemaTestClass fileSchemaTestClass, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'fileSchemaTestClass' is set if (fileSchemaTestClass == null) @@ -1726,9 +1726,9 @@ namespace Org.OpenAPITools.Api /// /// /// - public void TestBodyWithQueryParams (string query, User user) + public void TestBodyWithQueryParams(string query, User user) { - TestBodyWithQueryParamsWithHttpInfo(query, user); + TestBodyWithQueryParamsWithHttpInfo(query, user); } /// @@ -1738,7 +1738,7 @@ namespace Org.OpenAPITools.Api /// /// /// ApiResponse of Object(void) - public Org.OpenAPITools.Client.ApiResponse TestBodyWithQueryParamsWithHttpInfo (string query, User user) + public Org.OpenAPITools.Client.ApiResponse TestBodyWithQueryParamsWithHttpInfo(string query, User user) { // verify the required parameter 'query' is set if (query == null) @@ -1788,9 +1788,9 @@ namespace Org.OpenAPITools.Api /// /// Cancellation Token to cancel the request. /// Task of void - public async System.Threading.Tasks.Task TestBodyWithQueryParamsAsync (string query, User user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task TestBodyWithQueryParamsAsync(string query, User user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - await TestBodyWithQueryParamsWithHttpInfoAsync(query, user, cancellationToken); + await TestBodyWithQueryParamsWithHttpInfoAsync(query, user, cancellationToken); } /// @@ -1801,7 +1801,7 @@ namespace Org.OpenAPITools.Api /// /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> TestBodyWithQueryParamsWithHttpInfoAsync (string query, User user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> TestBodyWithQueryParamsWithHttpInfoAsync(string query, User user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'query' is set if (query == null) @@ -1852,10 +1852,10 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// client model /// ModelClient - public ModelClient TestClientModel (ModelClient modelClient) + public ModelClient TestClientModel(ModelClient modelClient) { - Org.OpenAPITools.Client.ApiResponse localVarResponse = TestClientModelWithHttpInfo(modelClient); - return localVarResponse.Data; + Org.OpenAPITools.Client.ApiResponse localVarResponse = TestClientModelWithHttpInfo(modelClient); + return localVarResponse.Data; } /// @@ -1864,7 +1864,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// client model /// ApiResponse of ModelClient - public Org.OpenAPITools.Client.ApiResponse< ModelClient > TestClientModelWithHttpInfo (ModelClient modelClient) + public Org.OpenAPITools.Client.ApiResponse TestClientModelWithHttpInfo(ModelClient modelClient) { // verify the required parameter 'modelClient' is set if (modelClient == null) @@ -1891,7 +1891,7 @@ namespace Org.OpenAPITools.Api // make the HTTP request - var localVarResponse = this.Client.Patch< ModelClient >("/fake", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Patch("/fake", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { @@ -1909,10 +1909,10 @@ namespace Org.OpenAPITools.Api /// client model /// Cancellation Token to cancel the request. /// Task of ModelClient - public async System.Threading.Tasks.Task TestClientModelAsync (ModelClient modelClient, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task TestClientModelAsync(ModelClient modelClient, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.ApiResponse localVarResponse = await TestClientModelWithHttpInfoAsync(modelClient, cancellationToken); - return localVarResponse.Data; + Org.OpenAPITools.Client.ApiResponse localVarResponse = await TestClientModelWithHttpInfoAsync(modelClient, cancellationToken); + return localVarResponse.Data; } /// @@ -1922,7 +1922,7 @@ namespace Org.OpenAPITools.Api /// client model /// Cancellation Token to cancel the request. /// Task of ApiResponse (ModelClient) - public async System.Threading.Tasks.Task> TestClientModelWithHttpInfoAsync (ModelClient modelClient, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> TestClientModelWithHttpInfoAsync(ModelClient modelClient, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'modelClient' is set if (modelClient == null) @@ -1982,9 +1982,9 @@ namespace Org.OpenAPITools.Api /// None (optional) /// None (optional) /// - public void TestEndpointParameters (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)) + public void TestEndpointParameters(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)) { - TestEndpointParametersWithHttpInfo(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, _string, binary, date, dateTime, password, callback); + TestEndpointParametersWithHttpInfo(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, _string, binary, date, dateTime, password, callback); } /// @@ -2006,7 +2006,7 @@ namespace Org.OpenAPITools.Api /// None (optional) /// None (optional) /// ApiResponse of Object(void) - public Org.OpenAPITools.Client.ApiResponse TestEndpointParametersWithHttpInfo (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)) + public Org.OpenAPITools.Client.ApiResponse TestEndpointParametersWithHttpInfo(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)) { // verify the required parameter 'patternWithoutDelimiter' is set if (patternWithoutDelimiter == null) @@ -2116,9 +2116,9 @@ namespace Org.OpenAPITools.Api /// None (optional) /// Cancellation Token to cancel the request. /// 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)) + 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 TestEndpointParametersWithHttpInfoAsync(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); } /// @@ -2141,7 +2141,7 @@ namespace Org.OpenAPITools.Api /// None (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse - 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)) + 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) @@ -2247,9 +2247,9 @@ namespace Org.OpenAPITools.Api /// Form parameter enum test (string array) (optional, default to $) /// Form parameter enum test (string) (optional, default to -efg) /// - public void TestEnumParameters (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)) + public void TestEnumParameters(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)) { - TestEnumParametersWithHttpInfo(enumHeaderStringArray, enumHeaderString, enumQueryStringArray, enumQueryString, enumQueryInteger, enumQueryDouble, enumFormStringArray, enumFormString); + TestEnumParametersWithHttpInfo(enumHeaderStringArray, enumHeaderString, enumQueryStringArray, enumQueryString, enumQueryInteger, enumQueryDouble, enumFormStringArray, enumFormString); } /// @@ -2265,7 +2265,7 @@ namespace Org.OpenAPITools.Api /// Form parameter enum test (string array) (optional, default to $) /// Form parameter enum test (string) (optional, default to -efg) /// ApiResponse of Object(void) - public Org.OpenAPITools.Client.ApiResponse TestEnumParametersWithHttpInfo (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)) + public Org.OpenAPITools.Client.ApiResponse TestEnumParametersWithHttpInfo(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)) { Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); @@ -2343,9 +2343,9 @@ namespace Org.OpenAPITools.Api /// Form parameter enum test (string) (optional, default to -efg) /// Cancellation Token to cancel the request. /// 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)) + 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 TestEnumParametersWithHttpInfoAsync(enumHeaderStringArray, enumHeaderString, enumQueryStringArray, enumQueryString, enumQueryInteger, enumQueryDouble, enumFormStringArray, enumFormString, cancellationToken); + await TestEnumParametersWithHttpInfoAsync(enumHeaderStringArray, enumHeaderString, enumQueryStringArray, enumQueryString, enumQueryInteger, enumQueryDouble, enumFormStringArray, enumFormString, cancellationToken); } /// @@ -2362,7 +2362,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> 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)) + 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(); @@ -2440,9 +2440,9 @@ namespace Org.OpenAPITools.Api /// Boolean in group parameters (optional) /// Integer in group parameters (optional) /// - public void TestGroupParameters (int requiredStringGroup, bool requiredBooleanGroup, long requiredInt64Group, int? stringGroup = default(int?), bool? booleanGroup = default(bool?), long? int64Group = default(long?)) + public void TestGroupParameters(int requiredStringGroup, bool requiredBooleanGroup, long requiredInt64Group, int? stringGroup = default(int?), bool? booleanGroup = default(bool?), long? int64Group = default(long?)) { - TestGroupParametersWithHttpInfo(requiredStringGroup, requiredBooleanGroup, requiredInt64Group, stringGroup, booleanGroup, int64Group); + TestGroupParametersWithHttpInfo(requiredStringGroup, requiredBooleanGroup, requiredInt64Group, stringGroup, booleanGroup, int64Group); } /// @@ -2456,7 +2456,7 @@ namespace Org.OpenAPITools.Api /// Boolean in group parameters (optional) /// Integer in group parameters (optional) /// ApiResponse of Object(void) - public Org.OpenAPITools.Client.ApiResponse TestGroupParametersWithHttpInfo (int requiredStringGroup, bool requiredBooleanGroup, long requiredInt64Group, int? stringGroup = default(int?), bool? booleanGroup = default(bool?), long? int64Group = default(long?)) + public Org.OpenAPITools.Client.ApiResponse TestGroupParametersWithHttpInfo(int requiredStringGroup, bool requiredBooleanGroup, long requiredInt64Group, int? stringGroup = default(int?), bool? booleanGroup = default(bool?), long? int64Group = default(long?)) { Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); @@ -2520,9 +2520,9 @@ namespace Org.OpenAPITools.Api /// Integer in group parameters (optional) /// Cancellation Token to cancel the request. /// 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)) + 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 TestGroupParametersWithHttpInfoAsync(requiredStringGroup, requiredBooleanGroup, requiredInt64Group, stringGroup, booleanGroup, int64Group, cancellationToken); + await TestGroupParametersWithHttpInfoAsync(requiredStringGroup, requiredBooleanGroup, requiredInt64Group, stringGroup, booleanGroup, int64Group, cancellationToken); } /// @@ -2537,7 +2537,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> 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)) + 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(); @@ -2598,9 +2598,9 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// request body /// - public void TestInlineAdditionalProperties (Dictionary requestBody) + public void TestInlineAdditionalProperties(Dictionary requestBody) { - TestInlineAdditionalPropertiesWithHttpInfo(requestBody); + TestInlineAdditionalPropertiesWithHttpInfo(requestBody); } /// @@ -2609,7 +2609,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// request body /// ApiResponse of Object(void) - public Org.OpenAPITools.Client.ApiResponse TestInlineAdditionalPropertiesWithHttpInfo (Dictionary requestBody) + public Org.OpenAPITools.Client.ApiResponse TestInlineAdditionalPropertiesWithHttpInfo(Dictionary requestBody) { // verify the required parameter 'requestBody' is set if (requestBody == null) @@ -2653,9 +2653,9 @@ namespace Org.OpenAPITools.Api /// request body /// Cancellation Token to cancel the request. /// Task of void - public async System.Threading.Tasks.Task TestInlineAdditionalPropertiesAsync (Dictionary requestBody, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task TestInlineAdditionalPropertiesAsync(Dictionary requestBody, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - await TestInlineAdditionalPropertiesWithHttpInfoAsync(requestBody, cancellationToken); + await TestInlineAdditionalPropertiesWithHttpInfoAsync(requestBody, cancellationToken); } /// @@ -2665,7 +2665,7 @@ namespace Org.OpenAPITools.Api /// request body /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> TestInlineAdditionalPropertiesWithHttpInfoAsync (Dictionary requestBody, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> TestInlineAdditionalPropertiesWithHttpInfoAsync(Dictionary requestBody, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'requestBody' is set if (requestBody == null) @@ -2712,9 +2712,9 @@ namespace Org.OpenAPITools.Api /// field1 /// field2 /// - public void TestJsonFormData (string param, string param2) + public void TestJsonFormData(string param, string param2) { - TestJsonFormDataWithHttpInfo(param, param2); + TestJsonFormDataWithHttpInfo(param, param2); } /// @@ -2724,7 +2724,7 @@ namespace Org.OpenAPITools.Api /// field1 /// field2 /// ApiResponse of Object(void) - public Org.OpenAPITools.Client.ApiResponse TestJsonFormDataWithHttpInfo (string param, string param2) + public Org.OpenAPITools.Client.ApiResponse TestJsonFormDataWithHttpInfo(string param, string param2) { // verify the required parameter 'param' is set if (param == null) @@ -2774,9 +2774,9 @@ namespace Org.OpenAPITools.Api /// field2 /// Cancellation Token to cancel the request. /// Task of void - public async System.Threading.Tasks.Task TestJsonFormDataAsync (string param, string param2, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task TestJsonFormDataAsync(string param, string param2, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - await TestJsonFormDataWithHttpInfoAsync(param, param2, cancellationToken); + await TestJsonFormDataWithHttpInfoAsync(param, param2, cancellationToken); } /// @@ -2787,7 +2787,7 @@ namespace Org.OpenAPITools.Api /// field2 /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> TestJsonFormDataWithHttpInfoAsync (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) @@ -2842,9 +2842,9 @@ namespace Org.OpenAPITools.Api /// /// /// - public void TestQueryParameterCollectionFormat (List pipe, List ioutil, List http, List url, List context) + public void TestQueryParameterCollectionFormat(List pipe, List ioutil, List http, List url, List context) { - TestQueryParameterCollectionFormatWithHttpInfo(pipe, ioutil, http, url, context); + TestQueryParameterCollectionFormatWithHttpInfo(pipe, ioutil, http, url, context); } /// @@ -2857,7 +2857,7 @@ namespace Org.OpenAPITools.Api /// /// /// ApiResponse of Object(void) - public Org.OpenAPITools.Client.ApiResponse TestQueryParameterCollectionFormatWithHttpInfo (List pipe, List ioutil, List http, List url, List context) + public Org.OpenAPITools.Client.ApiResponse TestQueryParameterCollectionFormatWithHttpInfo(List pipe, List ioutil, List http, List url, List context) { // verify the required parameter 'pipe' is set if (pipe == null) @@ -2924,9 +2924,9 @@ namespace Org.OpenAPITools.Api /// /// Cancellation Token to cancel the request. /// 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)) + 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 TestQueryParameterCollectionFormatWithHttpInfoAsync(pipe, ioutil, http, url, context, cancellationToken); + await TestQueryParameterCollectionFormatWithHttpInfoAsync(pipe, ioutil, http, url, context, cancellationToken); } /// @@ -2940,7 +2940,7 @@ namespace Org.OpenAPITools.Api /// /// Cancellation Token to cancel the request. /// Task of ApiResponse - 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)) + 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/OpenAPIClientCore/src/Org.OpenAPITools/Api/FakeClassnameTags123Api.cs b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Api/FakeClassnameTags123Api.cs index 497cc1638d8..15526a446d8 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Api/FakeClassnameTags123Api.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Api/FakeClassnameTags123Api.cs @@ -35,7 +35,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// client model /// ModelClient - ModelClient TestClassname (ModelClient modelClient); + ModelClient TestClassname(ModelClient modelClient); /// /// To test class name in snake case @@ -46,7 +46,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// client model /// ApiResponse of ModelClient - ApiResponse TestClassnameWithHttpInfo (ModelClient modelClient); + ApiResponse TestClassnameWithHttpInfo(ModelClient modelClient); #endregion Synchronous Operations } @@ -66,7 +66,7 @@ namespace Org.OpenAPITools.Api /// client model /// Cancellation Token to cancel the request. /// Task of ModelClient - System.Threading.Tasks.Task TestClassnameAsync (ModelClient modelClient, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task TestClassnameAsync(ModelClient modelClient, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// To test class name in snake case @@ -78,7 +78,7 @@ namespace Org.OpenAPITools.Api /// client model /// Cancellation Token to cancel the request. /// Task of ApiResponse (ModelClient) - System.Threading.Tasks.Task> TestClassnameWithHttpInfoAsync (ModelClient modelClient, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task> TestClassnameWithHttpInfoAsync(ModelClient modelClient, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); #endregion Asynchronous Operations } @@ -101,7 +101,7 @@ namespace Org.OpenAPITools.Api /// Initializes a new instance of the class. /// /// - public FakeClassnameTags123Api() : this((string) null) + public FakeClassnameTags123Api() : this((string)null) { } @@ -146,11 +146,11 @@ namespace Org.OpenAPITools.Api /// The client interface for synchronous API access. /// The client interface for asynchronous API access. /// The configuration object. - public FakeClassnameTags123Api(Org.OpenAPITools.Client.ISynchronousClient client,Org.OpenAPITools.Client.IAsynchronousClient asyncClient, Org.OpenAPITools.Client.IReadableConfiguration configuration) + public FakeClassnameTags123Api(Org.OpenAPITools.Client.ISynchronousClient client, Org.OpenAPITools.Client.IAsynchronousClient asyncClient, Org.OpenAPITools.Client.IReadableConfiguration configuration) { - if(client == null) throw new ArgumentNullException("client"); - if(asyncClient == null) throw new ArgumentNullException("asyncClient"); - if(configuration == null) throw new ArgumentNullException("configuration"); + if (client == null) throw new ArgumentNullException("client"); + if (asyncClient == null) throw new ArgumentNullException("asyncClient"); + if (configuration == null) throw new ArgumentNullException("configuration"); this.Client = client; this.AsynchronousClient = asyncClient; @@ -181,7 +181,7 @@ namespace Org.OpenAPITools.Api /// Gets or sets the configuration object /// /// An instance of the Configuration - public Org.OpenAPITools.Client.IReadableConfiguration Configuration {get; set;} + public Org.OpenAPITools.Client.IReadableConfiguration Configuration { get; set; } /// /// Provides a factory method hook for the creation of exceptions. @@ -205,10 +205,10 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// client model /// ModelClient - public ModelClient TestClassname (ModelClient modelClient) + public ModelClient TestClassname(ModelClient modelClient) { - Org.OpenAPITools.Client.ApiResponse localVarResponse = TestClassnameWithHttpInfo(modelClient); - return localVarResponse.Data; + Org.OpenAPITools.Client.ApiResponse localVarResponse = TestClassnameWithHttpInfo(modelClient); + return localVarResponse.Data; } /// @@ -217,7 +217,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// client model /// ApiResponse of ModelClient - public Org.OpenAPITools.Client.ApiResponse< ModelClient > TestClassnameWithHttpInfo (ModelClient modelClient) + public Org.OpenAPITools.Client.ApiResponse TestClassnameWithHttpInfo(ModelClient modelClient) { // verify the required parameter 'modelClient' is set if (modelClient == null) @@ -249,7 +249,7 @@ namespace Org.OpenAPITools.Api } // make the HTTP request - var localVarResponse = this.Client.Patch< ModelClient >("/fake_classname_test", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Patch("/fake_classname_test", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { @@ -267,10 +267,10 @@ namespace Org.OpenAPITools.Api /// client model /// Cancellation Token to cancel the request. /// Task of ModelClient - public async System.Threading.Tasks.Task TestClassnameAsync (ModelClient modelClient, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task TestClassnameAsync(ModelClient modelClient, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.ApiResponse localVarResponse = await TestClassnameWithHttpInfoAsync(modelClient, cancellationToken); - return localVarResponse.Data; + Org.OpenAPITools.Client.ApiResponse localVarResponse = await TestClassnameWithHttpInfoAsync(modelClient, cancellationToken); + return localVarResponse.Data; } /// @@ -280,7 +280,7 @@ namespace Org.OpenAPITools.Api /// client model /// Cancellation Token to cancel the request. /// Task of ApiResponse (ModelClient) - public async System.Threading.Tasks.Task> TestClassnameWithHttpInfoAsync (ModelClient modelClient, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> TestClassnameWithHttpInfoAsync(ModelClient modelClient, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'modelClient' is set if (modelClient == null) diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Api/PetApi.cs b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Api/PetApi.cs index b555e11fe0e..ef688876f78 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Api/PetApi.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Api/PetApi.cs @@ -32,7 +32,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// Pet object that needs to be added to the store /// - void AddPet (Pet pet); + void AddPet(Pet pet); /// /// Add a new pet to the store @@ -43,7 +43,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// Pet object that needs to be added to the store /// ApiResponse of Object(void) - ApiResponse AddPetWithHttpInfo (Pet pet); + ApiResponse AddPetWithHttpInfo(Pet pet); /// /// Deletes a pet /// @@ -51,7 +51,7 @@ namespace Org.OpenAPITools.Api /// Pet id to delete /// (optional) /// - void DeletePet (long petId, string apiKey = default(string)); + void DeletePet(long petId, string apiKey = default(string)); /// /// Deletes a pet @@ -63,7 +63,7 @@ namespace Org.OpenAPITools.Api /// Pet id to delete /// (optional) /// ApiResponse of Object(void) - ApiResponse DeletePetWithHttpInfo (long petId, string apiKey = default(string)); + ApiResponse DeletePetWithHttpInfo(long petId, string apiKey = default(string)); /// /// Finds Pets by status /// @@ -73,7 +73,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// Status values that need to be considered for filter /// List<Pet> - List FindPetsByStatus (List status); + List FindPetsByStatus(List status); /// /// Finds Pets by status @@ -84,7 +84,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// Status values that need to be considered for filter /// ApiResponse of List<Pet> - ApiResponse> FindPetsByStatusWithHttpInfo (List status); + ApiResponse> FindPetsByStatusWithHttpInfo(List status); /// /// Finds Pets by tags /// @@ -94,7 +94,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// Tags to filter by /// List<Pet> - List FindPetsByTags (List tags); + List FindPetsByTags(List tags); /// /// Finds Pets by tags @@ -105,7 +105,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// Tags to filter by /// ApiResponse of List<Pet> - ApiResponse> FindPetsByTagsWithHttpInfo (List tags); + ApiResponse> FindPetsByTagsWithHttpInfo(List tags); /// /// Find pet by ID /// @@ -115,7 +115,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// ID of pet to return /// Pet - Pet GetPetById (long petId); + Pet GetPetById(long petId); /// /// Find pet by ID @@ -126,14 +126,14 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// ID of pet to return /// ApiResponse of Pet - ApiResponse GetPetByIdWithHttpInfo (long petId); + ApiResponse GetPetByIdWithHttpInfo(long petId); /// /// Update an existing pet /// /// Thrown when fails to make API call /// Pet object that needs to be added to the store /// - void UpdatePet (Pet pet); + void UpdatePet(Pet pet); /// /// Update an existing pet @@ -144,7 +144,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// Pet object that needs to be added to the store /// ApiResponse of Object(void) - ApiResponse UpdatePetWithHttpInfo (Pet pet); + ApiResponse UpdatePetWithHttpInfo(Pet pet); /// /// Updates a pet in the store with form data /// @@ -153,7 +153,7 @@ namespace Org.OpenAPITools.Api /// Updated name of the pet (optional) /// Updated status of the pet (optional) /// - void UpdatePetWithForm (long petId, string name = default(string), string status = default(string)); + void UpdatePetWithForm(long petId, string name = default(string), string status = default(string)); /// /// Updates a pet in the store with form data @@ -166,7 +166,7 @@ namespace Org.OpenAPITools.Api /// Updated name of the pet (optional) /// Updated status of the pet (optional) /// ApiResponse of Object(void) - ApiResponse UpdatePetWithFormWithHttpInfo (long petId, string name = default(string), string status = default(string)); + ApiResponse UpdatePetWithFormWithHttpInfo(long petId, string name = default(string), string status = default(string)); /// /// uploads an image /// @@ -175,7 +175,7 @@ namespace Org.OpenAPITools.Api /// Additional data to pass to server (optional) /// file to upload (optional) /// ApiResponse - ApiResponse UploadFile (long petId, string additionalMetadata = default(string), System.IO.Stream file = default(System.IO.Stream)); + ApiResponse UploadFile(long petId, string additionalMetadata = default(string), System.IO.Stream file = default(System.IO.Stream)); /// /// uploads an image @@ -188,7 +188,7 @@ namespace Org.OpenAPITools.Api /// Additional data to pass to server (optional) /// file to upload (optional) /// ApiResponse of ApiResponse - ApiResponse UploadFileWithHttpInfo (long petId, string additionalMetadata = default(string), System.IO.Stream file = default(System.IO.Stream)); + ApiResponse UploadFileWithHttpInfo(long petId, string additionalMetadata = default(string), System.IO.Stream file = default(System.IO.Stream)); /// /// uploads an image (required) /// @@ -197,7 +197,7 @@ namespace Org.OpenAPITools.Api /// file to upload /// Additional data to pass to server (optional) /// ApiResponse - ApiResponse UploadFileWithRequiredFile (long petId, System.IO.Stream requiredFile, string additionalMetadata = default(string)); + ApiResponse UploadFileWithRequiredFile(long petId, System.IO.Stream requiredFile, string additionalMetadata = default(string)); /// /// uploads an image (required) @@ -210,7 +210,7 @@ namespace Org.OpenAPITools.Api /// file to upload /// Additional data to pass to server (optional) /// ApiResponse of ApiResponse - ApiResponse UploadFileWithRequiredFileWithHttpInfo (long petId, System.IO.Stream requiredFile, string additionalMetadata = default(string)); + ApiResponse UploadFileWithRequiredFileWithHttpInfo(long petId, System.IO.Stream requiredFile, string additionalMetadata = default(string)); #endregion Synchronous Operations } @@ -230,7 +230,7 @@ namespace Org.OpenAPITools.Api /// Pet object that needs to be added to the store /// Cancellation Token to cancel the request. /// Task of void - System.Threading.Tasks.Task AddPetAsync (Pet pet, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task AddPetAsync(Pet pet, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// Add a new pet to the store @@ -242,7 +242,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> AddPetWithHttpInfoAsync (Pet pet, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task> AddPetWithHttpInfoAsync(Pet pet, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// Deletes a pet /// @@ -254,7 +254,7 @@ namespace Org.OpenAPITools.Api /// (optional) /// Cancellation Token to cancel the request. /// Task of void - System.Threading.Tasks.Task DeletePetAsync (long petId, string apiKey = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task DeletePetAsync(long petId, string apiKey = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// Deletes a pet @@ -267,7 +267,7 @@ namespace Org.OpenAPITools.Api /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse - System.Threading.Tasks.Task> DeletePetWithHttpInfoAsync (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 /// @@ -278,7 +278,7 @@ namespace Org.OpenAPITools.Api /// Status values that need to be considered for filter /// Cancellation Token to cancel the request. /// Task of List<Pet> - System.Threading.Tasks.Task> FindPetsByStatusAsync (List status, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task> FindPetsByStatusAsync(List status, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// Finds Pets by status @@ -290,7 +290,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>> FindPetsByStatusWithHttpInfoAsync (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 /// @@ -301,7 +301,7 @@ namespace Org.OpenAPITools.Api /// Tags to filter by /// Cancellation Token to cancel the request. /// Task of List<Pet> - System.Threading.Tasks.Task> FindPetsByTagsAsync (List tags, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task> FindPetsByTagsAsync(List tags, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// Finds Pets by tags @@ -313,7 +313,7 @@ namespace Org.OpenAPITools.Api /// Tags to filter by /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<Pet>) - System.Threading.Tasks.Task>> FindPetsByTagsWithHttpInfoAsync (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 /// @@ -324,7 +324,7 @@ namespace Org.OpenAPITools.Api /// ID of pet to return /// Cancellation Token to cancel the request. /// Task of Pet - System.Threading.Tasks.Task GetPetByIdAsync (long petId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task GetPetByIdAsync(long petId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// Find pet by ID @@ -336,7 +336,7 @@ namespace Org.OpenAPITools.Api /// ID of pet to return /// Cancellation Token to cancel the request. /// Task of ApiResponse (Pet) - System.Threading.Tasks.Task> GetPetByIdWithHttpInfoAsync (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 /// @@ -347,7 +347,7 @@ namespace Org.OpenAPITools.Api /// Pet object that needs to be added to the store /// Cancellation Token to cancel the request. /// Task of void - System.Threading.Tasks.Task UpdatePetAsync (Pet pet, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task UpdatePetAsync(Pet pet, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// Update an existing pet @@ -359,7 +359,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> UpdatePetWithHttpInfoAsync (Pet pet, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task> UpdatePetWithHttpInfoAsync(Pet pet, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// Updates a pet in the store with form data /// @@ -372,7 +372,7 @@ namespace Org.OpenAPITools.Api /// Updated status of the pet (optional) /// Cancellation Token to cancel the request. /// Task of void - System.Threading.Tasks.Task UpdatePetWithFormAsync (long petId, string name = default(string), string status = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task UpdatePetWithFormAsync(long petId, string name = default(string), string status = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// Updates a pet in the store with form data @@ -386,7 +386,7 @@ namespace Org.OpenAPITools.Api /// Updated status of the pet (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse - System.Threading.Tasks.Task> UpdatePetWithFormWithHttpInfoAsync (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 /// @@ -399,7 +399,7 @@ namespace Org.OpenAPITools.Api /// file to upload (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse - 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)); + 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)); /// /// uploads an image @@ -413,7 +413,7 @@ namespace Org.OpenAPITools.Api /// file to upload (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (ApiResponse) - 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)); + 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) /// @@ -426,7 +426,7 @@ namespace Org.OpenAPITools.Api /// Additional data to pass to server (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse - System.Threading.Tasks.Task UploadFileWithRequiredFileAsync (long petId, System.IO.Stream requiredFile, string additionalMetadata = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task UploadFileWithRequiredFileAsync(long petId, System.IO.Stream requiredFile, string additionalMetadata = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// uploads an image (required) @@ -440,7 +440,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> UploadFileWithRequiredFileWithHttpInfoAsync (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 } @@ -463,7 +463,7 @@ namespace Org.OpenAPITools.Api /// Initializes a new instance of the class. /// /// - public PetApi() : this((string) null) + public PetApi() : this((string)null) { } @@ -508,11 +508,11 @@ namespace Org.OpenAPITools.Api /// The client interface for synchronous API access. /// The client interface for asynchronous API access. /// The configuration object. - public PetApi(Org.OpenAPITools.Client.ISynchronousClient client,Org.OpenAPITools.Client.IAsynchronousClient asyncClient, Org.OpenAPITools.Client.IReadableConfiguration configuration) + public PetApi(Org.OpenAPITools.Client.ISynchronousClient client, Org.OpenAPITools.Client.IAsynchronousClient asyncClient, Org.OpenAPITools.Client.IReadableConfiguration configuration) { - if(client == null) throw new ArgumentNullException("client"); - if(asyncClient == null) throw new ArgumentNullException("asyncClient"); - if(configuration == null) throw new ArgumentNullException("configuration"); + if (client == null) throw new ArgumentNullException("client"); + if (asyncClient == null) throw new ArgumentNullException("asyncClient"); + if (configuration == null) throw new ArgumentNullException("configuration"); this.Client = client; this.AsynchronousClient = asyncClient; @@ -543,7 +543,7 @@ namespace Org.OpenAPITools.Api /// Gets or sets the configuration object /// /// An instance of the Configuration - public Org.OpenAPITools.Client.IReadableConfiguration Configuration {get; set;} + public Org.OpenAPITools.Client.IReadableConfiguration Configuration { get; set; } /// /// Provides a factory method hook for the creation of exceptions. @@ -567,9 +567,9 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// Pet object that needs to be added to the store /// - public void AddPet (Pet pet) + public void AddPet(Pet pet) { - AddPetWithHttpInfo(pet); + AddPetWithHttpInfo(pet); } /// @@ -578,7 +578,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// Pet object that needs to be added to the store /// ApiResponse of Object(void) - public Org.OpenAPITools.Client.ApiResponse AddPetWithHttpInfo (Pet pet) + public Org.OpenAPITools.Client.ApiResponse AddPetWithHttpInfo(Pet pet) { // verify the required parameter 'pet' is set if (pet == null) @@ -629,9 +629,9 @@ namespace Org.OpenAPITools.Api /// Pet object that needs to be added to the store /// Cancellation Token to cancel the request. /// Task of void - public async System.Threading.Tasks.Task AddPetAsync (Pet pet, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task AddPetAsync(Pet pet, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - await AddPetWithHttpInfoAsync(pet, cancellationToken); + await AddPetWithHttpInfoAsync(pet, cancellationToken); } /// @@ -641,7 +641,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> AddPetWithHttpInfoAsync (Pet pet, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> AddPetWithHttpInfoAsync(Pet pet, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'pet' is set if (pet == null) @@ -695,9 +695,9 @@ namespace Org.OpenAPITools.Api /// Pet id to delete /// (optional) /// - public void DeletePet (long petId, string apiKey = default(string)) + public void DeletePet(long petId, string apiKey = default(string)) { - DeletePetWithHttpInfo(petId, apiKey); + DeletePetWithHttpInfo(petId, apiKey); } /// @@ -707,7 +707,7 @@ namespace Org.OpenAPITools.Api /// Pet id to delete /// (optional) /// ApiResponse of Object(void) - public Org.OpenAPITools.Client.ApiResponse DeletePetWithHttpInfo (long petId, string apiKey = default(string)) + public Org.OpenAPITools.Client.ApiResponse DeletePetWithHttpInfo(long petId, string apiKey = default(string)) { Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); @@ -757,9 +757,9 @@ namespace Org.OpenAPITools.Api /// (optional) /// Cancellation Token to cancel the request. /// Task of void - public async System.Threading.Tasks.Task DeletePetAsync (long petId, string apiKey = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task DeletePetAsync(long petId, string apiKey = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - await DeletePetWithHttpInfoAsync(petId, apiKey, cancellationToken); + await DeletePetWithHttpInfoAsync(petId, apiKey, cancellationToken); } /// @@ -770,7 +770,7 @@ namespace Org.OpenAPITools.Api /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> DeletePetWithHttpInfoAsync (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(); @@ -821,10 +821,10 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// Status values that need to be considered for filter /// List<Pet> - public List FindPetsByStatus (List status) + public List FindPetsByStatus(List status) { - Org.OpenAPITools.Client.ApiResponse> localVarResponse = FindPetsByStatusWithHttpInfo(status); - return localVarResponse.Data; + Org.OpenAPITools.Client.ApiResponse> localVarResponse = FindPetsByStatusWithHttpInfo(status); + return localVarResponse.Data; } /// @@ -833,7 +833,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// Status values that need to be considered for filter /// ApiResponse of List<Pet> - public Org.OpenAPITools.Client.ApiResponse< List > FindPetsByStatusWithHttpInfo (List status) + public Org.OpenAPITools.Client.ApiResponse> FindPetsByStatusWithHttpInfo(List status) { // verify the required parameter 'status' is set if (status == null) @@ -866,7 +866,7 @@ namespace Org.OpenAPITools.Api } // make the HTTP request - var localVarResponse = this.Client.Get< List >("/pet/findByStatus", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get>("/pet/findByStatus", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { @@ -884,10 +884,10 @@ namespace Org.OpenAPITools.Api /// Status values that need to be considered for filter /// Cancellation Token to cancel the request. /// Task of List<Pet> - public async System.Threading.Tasks.Task> FindPetsByStatusAsync (List status, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> FindPetsByStatusAsync(List status, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.ApiResponse> localVarResponse = await FindPetsByStatusWithHttpInfoAsync(status, cancellationToken); - return localVarResponse.Data; + Org.OpenAPITools.Client.ApiResponse> localVarResponse = await FindPetsByStatusWithHttpInfoAsync(status, cancellationToken); + return localVarResponse.Data; } /// @@ -897,7 +897,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>> FindPetsByStatusWithHttpInfoAsync (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) @@ -950,10 +950,10 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// Tags to filter by /// List<Pet> - public List FindPetsByTags (List tags) + public List FindPetsByTags(List tags) { - Org.OpenAPITools.Client.ApiResponse> localVarResponse = FindPetsByTagsWithHttpInfo(tags); - return localVarResponse.Data; + Org.OpenAPITools.Client.ApiResponse> localVarResponse = FindPetsByTagsWithHttpInfo(tags); + return localVarResponse.Data; } /// @@ -962,7 +962,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// Tags to filter by /// ApiResponse of List<Pet> - public Org.OpenAPITools.Client.ApiResponse< List > FindPetsByTagsWithHttpInfo (List tags) + public Org.OpenAPITools.Client.ApiResponse> FindPetsByTagsWithHttpInfo(List tags) { // verify the required parameter 'tags' is set if (tags == null) @@ -995,7 +995,7 @@ namespace Org.OpenAPITools.Api } // make the HTTP request - var localVarResponse = this.Client.Get< List >("/pet/findByTags", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get>("/pet/findByTags", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { @@ -1013,10 +1013,10 @@ namespace Org.OpenAPITools.Api /// Tags to filter by /// Cancellation Token to cancel the request. /// Task of List<Pet> - public async System.Threading.Tasks.Task> FindPetsByTagsAsync (List tags, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> FindPetsByTagsAsync(List tags, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.ApiResponse> localVarResponse = await FindPetsByTagsWithHttpInfoAsync(tags, cancellationToken); - return localVarResponse.Data; + Org.OpenAPITools.Client.ApiResponse> localVarResponse = await FindPetsByTagsWithHttpInfoAsync(tags, cancellationToken); + return localVarResponse.Data; } /// @@ -1026,7 +1026,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>> FindPetsByTagsWithHttpInfoAsync (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) @@ -1079,10 +1079,10 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// ID of pet to return /// Pet - public Pet GetPetById (long petId) + public Pet GetPetById(long petId) { - Org.OpenAPITools.Client.ApiResponse localVarResponse = GetPetByIdWithHttpInfo(petId); - return localVarResponse.Data; + Org.OpenAPITools.Client.ApiResponse localVarResponse = GetPetByIdWithHttpInfo(petId); + return localVarResponse.Data; } /// @@ -1091,7 +1091,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// ID of pet to return /// ApiResponse of Pet - public Org.OpenAPITools.Client.ApiResponse< Pet > GetPetByIdWithHttpInfo (long petId) + public Org.OpenAPITools.Client.ApiResponse GetPetByIdWithHttpInfo(long petId) { Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); @@ -1119,7 +1119,7 @@ namespace Org.OpenAPITools.Api } // make the HTTP request - var localVarResponse = this.Client.Get< Pet >("/pet/{petId}", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get("/pet/{petId}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { @@ -1137,10 +1137,10 @@ namespace Org.OpenAPITools.Api /// ID of pet to return /// Cancellation Token to cancel the request. /// Task of Pet - public async System.Threading.Tasks.Task GetPetByIdAsync (long petId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task GetPetByIdAsync(long petId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.ApiResponse localVarResponse = await GetPetByIdWithHttpInfoAsync(petId, cancellationToken); - return localVarResponse.Data; + Org.OpenAPITools.Client.ApiResponse localVarResponse = await GetPetByIdWithHttpInfoAsync(petId, cancellationToken); + return localVarResponse.Data; } /// @@ -1150,7 +1150,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> GetPetByIdWithHttpInfoAsync (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(); @@ -1198,9 +1198,9 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// Pet object that needs to be added to the store /// - public void UpdatePet (Pet pet) + public void UpdatePet(Pet pet) { - UpdatePetWithHttpInfo(pet); + UpdatePetWithHttpInfo(pet); } /// @@ -1209,7 +1209,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// Pet object that needs to be added to the store /// ApiResponse of Object(void) - public Org.OpenAPITools.Client.ApiResponse UpdatePetWithHttpInfo (Pet pet) + public Org.OpenAPITools.Client.ApiResponse UpdatePetWithHttpInfo(Pet pet) { // verify the required parameter 'pet' is set if (pet == null) @@ -1260,9 +1260,9 @@ namespace Org.OpenAPITools.Api /// Pet object that needs to be added to the store /// Cancellation Token to cancel the request. /// Task of void - public async System.Threading.Tasks.Task UpdatePetAsync (Pet pet, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task UpdatePetAsync(Pet pet, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - await UpdatePetWithHttpInfoAsync(pet, cancellationToken); + await UpdatePetWithHttpInfoAsync(pet, cancellationToken); } /// @@ -1272,7 +1272,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> UpdatePetWithHttpInfoAsync (Pet pet, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> UpdatePetWithHttpInfoAsync(Pet pet, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'pet' is set if (pet == null) @@ -1327,9 +1327,9 @@ namespace Org.OpenAPITools.Api /// Updated name of the pet (optional) /// Updated status of the pet (optional) /// - public void UpdatePetWithForm (long petId, string name = default(string), string status = default(string)) + public void UpdatePetWithForm(long petId, string name = default(string), string status = default(string)) { - UpdatePetWithFormWithHttpInfo(petId, name, status); + UpdatePetWithFormWithHttpInfo(petId, name, status); } /// @@ -1340,7 +1340,7 @@ namespace Org.OpenAPITools.Api /// Updated name of the pet (optional) /// Updated status of the pet (optional) /// ApiResponse of Object(void) - public Org.OpenAPITools.Client.ApiResponse UpdatePetWithFormWithHttpInfo (long petId, string name = default(string), string status = default(string)) + public Org.OpenAPITools.Client.ApiResponse UpdatePetWithFormWithHttpInfo(long petId, string name = default(string), string status = default(string)) { Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); @@ -1396,9 +1396,9 @@ namespace Org.OpenAPITools.Api /// Updated status of the pet (optional) /// Cancellation Token to cancel the request. /// 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)) + 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 UpdatePetWithFormWithHttpInfoAsync(petId, name, status, cancellationToken); + await UpdatePetWithFormWithHttpInfoAsync(petId, name, status, cancellationToken); } /// @@ -1410,7 +1410,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> UpdatePetWithFormWithHttpInfoAsync (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(); @@ -1468,10 +1468,10 @@ namespace Org.OpenAPITools.Api /// Additional data to pass to server (optional) /// file to upload (optional) /// ApiResponse - public ApiResponse UploadFile (long petId, string additionalMetadata = default(string), System.IO.Stream file = default(System.IO.Stream)) + public ApiResponse UploadFile(long petId, string additionalMetadata = default(string), System.IO.Stream file = default(System.IO.Stream)) { - Org.OpenAPITools.Client.ApiResponse localVarResponse = UploadFileWithHttpInfo(petId, additionalMetadata, file); - return localVarResponse.Data; + Org.OpenAPITools.Client.ApiResponse localVarResponse = UploadFileWithHttpInfo(petId, additionalMetadata, file); + return localVarResponse.Data; } /// @@ -1482,7 +1482,7 @@ namespace Org.OpenAPITools.Api /// Additional data to pass to server (optional) /// file to upload (optional) /// ApiResponse of ApiResponse - public Org.OpenAPITools.Client.ApiResponse< ApiResponse > UploadFileWithHttpInfo (long petId, string additionalMetadata = default(string), System.IO.Stream file = default(System.IO.Stream)) + public Org.OpenAPITools.Client.ApiResponse UploadFileWithHttpInfo(long petId, string additionalMetadata = default(string), System.IO.Stream file = default(System.IO.Stream)) { Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); @@ -1519,7 +1519,7 @@ namespace Org.OpenAPITools.Api } // make the HTTP request - var localVarResponse = this.Client.Post< ApiResponse >("/pet/{petId}/uploadImage", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Post("/pet/{petId}/uploadImage", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { @@ -1539,10 +1539,10 @@ namespace Org.OpenAPITools.Api /// file to upload (optional) /// Cancellation Token to cancel the request. /// 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)) + 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 UploadFileWithHttpInfoAsync(petId, additionalMetadata, file, cancellationToken); - return localVarResponse.Data; + Org.OpenAPITools.Client.ApiResponse localVarResponse = await UploadFileWithHttpInfoAsync(petId, additionalMetadata, file, cancellationToken); + return localVarResponse.Data; } /// @@ -1554,7 +1554,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> UploadFileWithHttpInfoAsync (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(); @@ -1613,10 +1613,10 @@ namespace Org.OpenAPITools.Api /// file to upload /// Additional data to pass to server (optional) /// ApiResponse - public ApiResponse UploadFileWithRequiredFile (long petId, System.IO.Stream requiredFile, string additionalMetadata = default(string)) + public ApiResponse UploadFileWithRequiredFile(long petId, System.IO.Stream requiredFile, string additionalMetadata = default(string)) { - Org.OpenAPITools.Client.ApiResponse localVarResponse = UploadFileWithRequiredFileWithHttpInfo(petId, requiredFile, additionalMetadata); - return localVarResponse.Data; + Org.OpenAPITools.Client.ApiResponse localVarResponse = UploadFileWithRequiredFileWithHttpInfo(petId, requiredFile, additionalMetadata); + return localVarResponse.Data; } /// @@ -1627,7 +1627,7 @@ namespace Org.OpenAPITools.Api /// file to upload /// Additional data to pass to server (optional) /// ApiResponse of ApiResponse - public Org.OpenAPITools.Client.ApiResponse< ApiResponse > UploadFileWithRequiredFileWithHttpInfo (long petId, System.IO.Stream requiredFile, string additionalMetadata = default(string)) + public Org.OpenAPITools.Client.ApiResponse UploadFileWithRequiredFileWithHttpInfo(long petId, System.IO.Stream requiredFile, string additionalMetadata = default(string)) { // verify the required parameter 'requiredFile' is set if (requiredFile == null) @@ -1665,7 +1665,7 @@ namespace Org.OpenAPITools.Api } // make the HTTP request - var localVarResponse = this.Client.Post< ApiResponse >("/fake/{petId}/uploadImageWithRequiredFile", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Post("/fake/{petId}/uploadImageWithRequiredFile", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { @@ -1685,10 +1685,10 @@ namespace Org.OpenAPITools.Api /// Additional data to pass to server (optional) /// Cancellation Token to cancel the request. /// 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)) + 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 UploadFileWithRequiredFileWithHttpInfoAsync(petId, requiredFile, additionalMetadata, cancellationToken); - return localVarResponse.Data; + Org.OpenAPITools.Client.ApiResponse localVarResponse = await UploadFileWithRequiredFileWithHttpInfoAsync(petId, requiredFile, additionalMetadata, cancellationToken); + return localVarResponse.Data; } /// @@ -1700,7 +1700,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> UploadFileWithRequiredFileWithHttpInfoAsync (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/OpenAPIClientCore/src/Org.OpenAPITools/Api/StoreApi.cs b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Api/StoreApi.cs index ecd4ed9fda8..0d06d8ec977 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Api/StoreApi.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Api/StoreApi.cs @@ -35,7 +35,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// ID of the order that needs to be deleted /// - void DeleteOrder (string orderId); + void DeleteOrder(string orderId); /// /// Delete purchase order by ID @@ -46,7 +46,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// ID of the order that needs to be deleted /// ApiResponse of Object(void) - ApiResponse DeleteOrderWithHttpInfo (string orderId); + ApiResponse DeleteOrderWithHttpInfo(string orderId); /// /// Returns pet inventories by status /// @@ -55,7 +55,7 @@ namespace Org.OpenAPITools.Api /// /// Thrown when fails to make API call /// Dictionary<string, int> - Dictionary GetInventory (); + Dictionary GetInventory(); /// /// Returns pet inventories by status @@ -65,7 +65,7 @@ namespace Org.OpenAPITools.Api /// /// Thrown when fails to make API call /// ApiResponse of Dictionary<string, int> - ApiResponse> GetInventoryWithHttpInfo (); + ApiResponse> GetInventoryWithHttpInfo(); /// /// Find purchase order by ID /// @@ -75,7 +75,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// ID of pet that needs to be fetched /// Order - Order GetOrderById (long orderId); + Order GetOrderById(long orderId); /// /// Find purchase order by ID @@ -86,14 +86,14 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// ID of pet that needs to be fetched /// ApiResponse of Order - ApiResponse GetOrderByIdWithHttpInfo (long orderId); + ApiResponse GetOrderByIdWithHttpInfo(long orderId); /// /// Place an order for a pet /// /// Thrown when fails to make API call /// order placed for purchasing the pet /// Order - Order PlaceOrder (Order order); + Order PlaceOrder(Order order); /// /// Place an order for a pet @@ -104,7 +104,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// order placed for purchasing the pet /// ApiResponse of Order - ApiResponse PlaceOrderWithHttpInfo (Order order); + ApiResponse PlaceOrderWithHttpInfo(Order order); #endregion Synchronous Operations } @@ -124,7 +124,7 @@ namespace Org.OpenAPITools.Api /// ID of the order that needs to be deleted /// Cancellation Token to cancel the request. /// Task of void - System.Threading.Tasks.Task DeleteOrderAsync (string orderId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task DeleteOrderAsync(string orderId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// Delete purchase order by ID @@ -136,7 +136,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> DeleteOrderWithHttpInfoAsync (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 /// @@ -146,7 +146,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// Cancellation Token to cancel the request. /// Task of Dictionary<string, int> - System.Threading.Tasks.Task> GetInventoryAsync (System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task> GetInventoryAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// Returns pet inventories by status @@ -157,7 +157,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// Cancellation Token to cancel the request. /// Task of ApiResponse (Dictionary<string, int>) - System.Threading.Tasks.Task>> GetInventoryWithHttpInfoAsync (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 /// @@ -168,7 +168,7 @@ namespace Org.OpenAPITools.Api /// ID of pet that needs to be fetched /// Cancellation Token to cancel the request. /// Task of Order - System.Threading.Tasks.Task GetOrderByIdAsync (long orderId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task GetOrderByIdAsync(long orderId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// Find purchase order by ID @@ -180,7 +180,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> GetOrderByIdWithHttpInfoAsync (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 /// @@ -191,7 +191,7 @@ namespace Org.OpenAPITools.Api /// order placed for purchasing the pet /// Cancellation Token to cancel the request. /// Task of Order - System.Threading.Tasks.Task PlaceOrderAsync (Order order, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task PlaceOrderAsync(Order order, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// Place an order for a pet @@ -203,7 +203,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> PlaceOrderWithHttpInfoAsync (Order order, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task> PlaceOrderWithHttpInfoAsync(Order order, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); #endregion Asynchronous Operations } @@ -226,7 +226,7 @@ namespace Org.OpenAPITools.Api /// Initializes a new instance of the class. /// /// - public StoreApi() : this((string) null) + public StoreApi() : this((string)null) { } @@ -271,11 +271,11 @@ namespace Org.OpenAPITools.Api /// The client interface for synchronous API access. /// The client interface for asynchronous API access. /// The configuration object. - public StoreApi(Org.OpenAPITools.Client.ISynchronousClient client,Org.OpenAPITools.Client.IAsynchronousClient asyncClient, Org.OpenAPITools.Client.IReadableConfiguration configuration) + public StoreApi(Org.OpenAPITools.Client.ISynchronousClient client, Org.OpenAPITools.Client.IAsynchronousClient asyncClient, Org.OpenAPITools.Client.IReadableConfiguration configuration) { - if(client == null) throw new ArgumentNullException("client"); - if(asyncClient == null) throw new ArgumentNullException("asyncClient"); - if(configuration == null) throw new ArgumentNullException("configuration"); + if (client == null) throw new ArgumentNullException("client"); + if (asyncClient == null) throw new ArgumentNullException("asyncClient"); + if (configuration == null) throw new ArgumentNullException("configuration"); this.Client = client; this.AsynchronousClient = asyncClient; @@ -306,7 +306,7 @@ namespace Org.OpenAPITools.Api /// Gets or sets the configuration object /// /// An instance of the Configuration - public Org.OpenAPITools.Client.IReadableConfiguration Configuration {get; set;} + public Org.OpenAPITools.Client.IReadableConfiguration Configuration { get; set; } /// /// Provides a factory method hook for the creation of exceptions. @@ -330,9 +330,9 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// ID of the order that needs to be deleted /// - public void DeleteOrder (string orderId) + public void DeleteOrder(string orderId) { - DeleteOrderWithHttpInfo(orderId); + DeleteOrderWithHttpInfo(orderId); } /// @@ -341,7 +341,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// ID of the order that needs to be deleted /// ApiResponse of Object(void) - public Org.OpenAPITools.Client.ApiResponse DeleteOrderWithHttpInfo (string orderId) + public Org.OpenAPITools.Client.ApiResponse DeleteOrderWithHttpInfo(string orderId) { // verify the required parameter 'orderId' is set if (orderId == null) @@ -384,9 +384,9 @@ namespace Org.OpenAPITools.Api /// ID of the order that needs to be deleted /// Cancellation Token to cancel the request. /// Task of void - public async System.Threading.Tasks.Task DeleteOrderAsync (string orderId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task DeleteOrderAsync(string orderId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - await DeleteOrderWithHttpInfoAsync(orderId, cancellationToken); + await DeleteOrderWithHttpInfoAsync(orderId, cancellationToken); } /// @@ -396,7 +396,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> DeleteOrderWithHttpInfoAsync (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) @@ -440,10 +440,10 @@ namespace Org.OpenAPITools.Api /// /// Thrown when fails to make API call /// Dictionary<string, int> - public Dictionary GetInventory () + public Dictionary GetInventory() { - Org.OpenAPITools.Client.ApiResponse> localVarResponse = GetInventoryWithHttpInfo(); - return localVarResponse.Data; + Org.OpenAPITools.Client.ApiResponse> localVarResponse = GetInventoryWithHttpInfo(); + return localVarResponse.Data; } /// @@ -451,7 +451,7 @@ namespace Org.OpenAPITools.Api /// /// Thrown when fails to make API call /// ApiResponse of Dictionary<string, int> - public Org.OpenAPITools.Client.ApiResponse< Dictionary > GetInventoryWithHttpInfo () + public Org.OpenAPITools.Client.ApiResponse> GetInventoryWithHttpInfo() { Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); @@ -477,7 +477,7 @@ namespace Org.OpenAPITools.Api } // make the HTTP request - var localVarResponse = this.Client.Get< Dictionary >("/store/inventory", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get>("/store/inventory", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { @@ -494,10 +494,10 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// Cancellation Token to cancel the request. /// Task of Dictionary<string, int> - public async System.Threading.Tasks.Task> GetInventoryAsync (System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> GetInventoryAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.ApiResponse> localVarResponse = await GetInventoryWithHttpInfoAsync(cancellationToken); - return localVarResponse.Data; + Org.OpenAPITools.Client.ApiResponse> localVarResponse = await GetInventoryWithHttpInfoAsync(cancellationToken); + return localVarResponse.Data; } /// @@ -506,7 +506,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// Cancellation Token to cancel the request. /// Task of ApiResponse (Dictionary<string, int>) - public async System.Threading.Tasks.Task>> GetInventoryWithHttpInfoAsync (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(); @@ -552,10 +552,10 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// ID of pet that needs to be fetched /// Order - public Order GetOrderById (long orderId) + public Order GetOrderById(long orderId) { - Org.OpenAPITools.Client.ApiResponse localVarResponse = GetOrderByIdWithHttpInfo(orderId); - return localVarResponse.Data; + Org.OpenAPITools.Client.ApiResponse localVarResponse = GetOrderByIdWithHttpInfo(orderId); + return localVarResponse.Data; } /// @@ -564,7 +564,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// ID of pet that needs to be fetched /// ApiResponse of Order - public Org.OpenAPITools.Client.ApiResponse< Order > GetOrderByIdWithHttpInfo (long orderId) + public Org.OpenAPITools.Client.ApiResponse GetOrderByIdWithHttpInfo(long orderId) { Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); @@ -587,7 +587,7 @@ namespace Org.OpenAPITools.Api // make the HTTP request - var localVarResponse = this.Client.Get< Order >("/store/order/{order_id}", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get("/store/order/{order_id}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { @@ -605,10 +605,10 @@ namespace Org.OpenAPITools.Api /// ID of pet that needs to be fetched /// Cancellation Token to cancel the request. /// Task of Order - public async System.Threading.Tasks.Task GetOrderByIdAsync (long orderId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task GetOrderByIdAsync(long orderId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.ApiResponse localVarResponse = await GetOrderByIdWithHttpInfoAsync(orderId, cancellationToken); - return localVarResponse.Data; + Org.OpenAPITools.Client.ApiResponse localVarResponse = await GetOrderByIdWithHttpInfoAsync(orderId, cancellationToken); + return localVarResponse.Data; } /// @@ -618,7 +618,7 @@ namespace Org.OpenAPITools.Api /// ID of pet that needs to be fetched /// Cancellation Token to cancel the request. /// Task of ApiResponse (Order) - public async System.Threading.Tasks.Task> GetOrderByIdWithHttpInfoAsync (long orderId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> GetOrderByIdWithHttpInfoAsync(long orderId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); @@ -661,10 +661,10 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// order placed for purchasing the pet /// Order - public Order PlaceOrder (Order order) + public Order PlaceOrder(Order order) { - Org.OpenAPITools.Client.ApiResponse localVarResponse = PlaceOrderWithHttpInfo(order); - return localVarResponse.Data; + Org.OpenAPITools.Client.ApiResponse localVarResponse = PlaceOrderWithHttpInfo(order); + return localVarResponse.Data; } /// @@ -673,7 +673,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// order placed for purchasing the pet /// ApiResponse of Order - public Org.OpenAPITools.Client.ApiResponse< Order > PlaceOrderWithHttpInfo (Order order) + public Org.OpenAPITools.Client.ApiResponse PlaceOrderWithHttpInfo(Order order) { // verify the required parameter 'order' is set if (order == null) @@ -701,7 +701,7 @@ namespace Org.OpenAPITools.Api // make the HTTP request - var localVarResponse = this.Client.Post< Order >("/store/order", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Post("/store/order", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { @@ -719,10 +719,10 @@ namespace Org.OpenAPITools.Api /// order placed for purchasing the pet /// Cancellation Token to cancel the request. /// Task of Order - public async System.Threading.Tasks.Task PlaceOrderAsync (Order order, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task PlaceOrderAsync(Order order, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.ApiResponse localVarResponse = await PlaceOrderWithHttpInfoAsync(order, cancellationToken); - return localVarResponse.Data; + Org.OpenAPITools.Client.ApiResponse localVarResponse = await PlaceOrderWithHttpInfoAsync(order, cancellationToken); + return localVarResponse.Data; } /// @@ -732,7 +732,7 @@ namespace Org.OpenAPITools.Api /// order placed for purchasing the pet /// Cancellation Token to cancel the request. /// Task of ApiResponse (Order) - public async System.Threading.Tasks.Task> PlaceOrderWithHttpInfoAsync (Order order, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> PlaceOrderWithHttpInfoAsync(Order order, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'order' is set if (order == null) diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Api/UserApi.cs b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Api/UserApi.cs index 9bad6d36a5c..84d5e397f23 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Api/UserApi.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Api/UserApi.cs @@ -35,7 +35,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// Created user object /// - void CreateUser (User user); + void CreateUser(User user); /// /// Create user @@ -46,14 +46,14 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// Created user object /// ApiResponse of Object(void) - ApiResponse CreateUserWithHttpInfo (User user); + ApiResponse CreateUserWithHttpInfo(User user); /// /// Creates list of users with given input array /// /// Thrown when fails to make API call /// List of user object /// - void CreateUsersWithArrayInput (List user); + void CreateUsersWithArrayInput(List user); /// /// Creates list of users with given input array @@ -64,14 +64,14 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// List of user object /// ApiResponse of Object(void) - ApiResponse CreateUsersWithArrayInputWithHttpInfo (List user); + ApiResponse CreateUsersWithArrayInputWithHttpInfo(List user); /// /// Creates list of users with given input array /// /// Thrown when fails to make API call /// List of user object /// - void CreateUsersWithListInput (List user); + void CreateUsersWithListInput(List user); /// /// Creates list of users with given input array @@ -82,7 +82,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// List of user object /// ApiResponse of Object(void) - ApiResponse CreateUsersWithListInputWithHttpInfo (List user); + ApiResponse CreateUsersWithListInputWithHttpInfo(List user); /// /// Delete user /// @@ -92,7 +92,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// The name that needs to be deleted /// - void DeleteUser (string username); + void DeleteUser(string username); /// /// Delete user @@ -103,14 +103,14 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// The name that needs to be deleted /// ApiResponse of Object(void) - ApiResponse DeleteUserWithHttpInfo (string username); + ApiResponse DeleteUserWithHttpInfo(string username); /// /// Get user by user name /// /// Thrown when fails to make API call /// The name that needs to be fetched. Use user1 for testing. /// User - User GetUserByName (string username); + User GetUserByName(string username); /// /// Get user by user name @@ -121,7 +121,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// The name that needs to be fetched. Use user1 for testing. /// ApiResponse of User - ApiResponse GetUserByNameWithHttpInfo (string username); + ApiResponse GetUserByNameWithHttpInfo(string username); /// /// Logs user into the system /// @@ -129,7 +129,7 @@ namespace Org.OpenAPITools.Api /// The user name for login /// The password for login in clear text /// string - string LoginUser (string username, string password); + string LoginUser(string username, string password); /// /// Logs user into the system @@ -141,13 +141,13 @@ namespace Org.OpenAPITools.Api /// The user name for login /// The password for login in clear text /// ApiResponse of string - ApiResponse LoginUserWithHttpInfo (string username, string password); + ApiResponse LoginUserWithHttpInfo(string username, string password); /// /// Logs out current logged in user session /// /// Thrown when fails to make API call /// - void LogoutUser (); + void LogoutUser(); /// /// Logs out current logged in user session @@ -157,7 +157,7 @@ namespace Org.OpenAPITools.Api /// /// Thrown when fails to make API call /// ApiResponse of Object(void) - ApiResponse LogoutUserWithHttpInfo (); + ApiResponse LogoutUserWithHttpInfo(); /// /// Updated user /// @@ -168,7 +168,7 @@ namespace Org.OpenAPITools.Api /// name that need to be deleted /// Updated user object /// - void UpdateUser (string username, User user); + void UpdateUser(string username, User user); /// /// Updated user @@ -180,7 +180,7 @@ namespace Org.OpenAPITools.Api /// name that need to be deleted /// Updated user object /// ApiResponse of Object(void) - ApiResponse UpdateUserWithHttpInfo (string username, User user); + ApiResponse UpdateUserWithHttpInfo(string username, User user); #endregion Synchronous Operations } @@ -200,7 +200,7 @@ namespace Org.OpenAPITools.Api /// Created user object /// Cancellation Token to cancel the request. /// Task of void - System.Threading.Tasks.Task CreateUserAsync (User user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task CreateUserAsync(User user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// Create user @@ -212,7 +212,7 @@ namespace Org.OpenAPITools.Api /// Created user object /// Cancellation Token to cancel the request. /// Task of ApiResponse - System.Threading.Tasks.Task> CreateUserWithHttpInfoAsync (User user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task> CreateUserWithHttpInfoAsync(User user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// Creates list of users with given input array /// @@ -223,7 +223,7 @@ namespace Org.OpenAPITools.Api /// List of user object /// Cancellation Token to cancel the request. /// Task of void - System.Threading.Tasks.Task CreateUsersWithArrayInputAsync (List user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task CreateUsersWithArrayInputAsync(List user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// Creates list of users with given input array @@ -235,7 +235,7 @@ namespace Org.OpenAPITools.Api /// List of user object /// Cancellation Token to cancel the request. /// Task of ApiResponse - System.Threading.Tasks.Task> CreateUsersWithArrayInputWithHttpInfoAsync (List user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task> CreateUsersWithArrayInputWithHttpInfoAsync(List user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// Creates list of users with given input array /// @@ -246,7 +246,7 @@ namespace Org.OpenAPITools.Api /// List of user object /// Cancellation Token to cancel the request. /// Task of void - System.Threading.Tasks.Task CreateUsersWithListInputAsync (List user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task CreateUsersWithListInputAsync(List user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// Creates list of users with given input array @@ -258,7 +258,7 @@ namespace Org.OpenAPITools.Api /// List of user object /// Cancellation Token to cancel the request. /// Task of ApiResponse - System.Threading.Tasks.Task> CreateUsersWithListInputWithHttpInfoAsync (List user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task> CreateUsersWithListInputWithHttpInfoAsync(List user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// Delete user /// @@ -269,7 +269,7 @@ namespace Org.OpenAPITools.Api /// The name that needs to be deleted /// Cancellation Token to cancel the request. /// Task of void - System.Threading.Tasks.Task DeleteUserAsync (string username, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task DeleteUserAsync(string username, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// Delete user @@ -281,7 +281,7 @@ namespace Org.OpenAPITools.Api /// The name that needs to be deleted /// Cancellation Token to cancel the request. /// Task of ApiResponse - System.Threading.Tasks.Task> DeleteUserWithHttpInfoAsync (string username, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task> DeleteUserWithHttpInfoAsync(string username, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// Get user by user name /// @@ -292,7 +292,7 @@ namespace Org.OpenAPITools.Api /// The name that needs to be fetched. Use user1 for testing. /// Cancellation Token to cancel the request. /// Task of User - System.Threading.Tasks.Task GetUserByNameAsync (string username, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task GetUserByNameAsync(string username, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// Get user by user name @@ -304,7 +304,7 @@ namespace Org.OpenAPITools.Api /// The name that needs to be fetched. Use user1 for testing. /// Cancellation Token to cancel the request. /// Task of ApiResponse (User) - System.Threading.Tasks.Task> GetUserByNameWithHttpInfoAsync (string username, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task> GetUserByNameWithHttpInfoAsync(string username, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// Logs user into the system /// @@ -316,7 +316,7 @@ namespace Org.OpenAPITools.Api /// The password for login in clear text /// Cancellation Token to cancel the request. /// Task of string - System.Threading.Tasks.Task LoginUserAsync (string username, string password, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task LoginUserAsync(string username, string password, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// Logs user into the system @@ -329,7 +329,7 @@ namespace Org.OpenAPITools.Api /// The password for login in clear text /// Cancellation Token to cancel the request. /// Task of ApiResponse (string) - System.Threading.Tasks.Task> LoginUserWithHttpInfoAsync (string username, string password, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task> LoginUserWithHttpInfoAsync(string username, string password, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// Logs out current logged in user session /// @@ -339,7 +339,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// Cancellation Token to cancel the request. /// Task of void - System.Threading.Tasks.Task LogoutUserAsync (System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task LogoutUserAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// Logs out current logged in user session @@ -350,7 +350,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// Cancellation Token to cancel the request. /// Task of ApiResponse - System.Threading.Tasks.Task> LogoutUserWithHttpInfoAsync (System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task> LogoutUserWithHttpInfoAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// Updated user /// @@ -362,7 +362,7 @@ namespace Org.OpenAPITools.Api /// Updated user object /// Cancellation Token to cancel the request. /// Task of void - System.Threading.Tasks.Task UpdateUserAsync (string username, User user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task UpdateUserAsync(string username, User user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// Updated user @@ -375,7 +375,7 @@ namespace Org.OpenAPITools.Api /// Updated user object /// Cancellation Token to cancel the request. /// Task of ApiResponse - System.Threading.Tasks.Task> UpdateUserWithHttpInfoAsync (string username, User user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task> UpdateUserWithHttpInfoAsync(string username, User user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); #endregion Asynchronous Operations } @@ -398,7 +398,7 @@ namespace Org.OpenAPITools.Api /// Initializes a new instance of the class. /// /// - public UserApi() : this((string) null) + public UserApi() : this((string)null) { } @@ -443,11 +443,11 @@ namespace Org.OpenAPITools.Api /// The client interface for synchronous API access. /// The client interface for asynchronous API access. /// The configuration object. - public UserApi(Org.OpenAPITools.Client.ISynchronousClient client,Org.OpenAPITools.Client.IAsynchronousClient asyncClient, Org.OpenAPITools.Client.IReadableConfiguration configuration) + public UserApi(Org.OpenAPITools.Client.ISynchronousClient client, Org.OpenAPITools.Client.IAsynchronousClient asyncClient, Org.OpenAPITools.Client.IReadableConfiguration configuration) { - if(client == null) throw new ArgumentNullException("client"); - if(asyncClient == null) throw new ArgumentNullException("asyncClient"); - if(configuration == null) throw new ArgumentNullException("configuration"); + if (client == null) throw new ArgumentNullException("client"); + if (asyncClient == null) throw new ArgumentNullException("asyncClient"); + if (configuration == null) throw new ArgumentNullException("configuration"); this.Client = client; this.AsynchronousClient = asyncClient; @@ -478,7 +478,7 @@ namespace Org.OpenAPITools.Api /// Gets or sets the configuration object /// /// An instance of the Configuration - public Org.OpenAPITools.Client.IReadableConfiguration Configuration {get; set;} + public Org.OpenAPITools.Client.IReadableConfiguration Configuration { get; set; } /// /// Provides a factory method hook for the creation of exceptions. @@ -502,9 +502,9 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// Created user object /// - public void CreateUser (User user) + public void CreateUser(User user) { - CreateUserWithHttpInfo(user); + CreateUserWithHttpInfo(user); } /// @@ -513,7 +513,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// Created user object /// ApiResponse of Object(void) - public Org.OpenAPITools.Client.ApiResponse CreateUserWithHttpInfo (User user) + public Org.OpenAPITools.Client.ApiResponse CreateUserWithHttpInfo(User user) { // verify the required parameter 'user' is set if (user == null) @@ -557,9 +557,9 @@ namespace Org.OpenAPITools.Api /// Created user object /// Cancellation Token to cancel the request. /// Task of void - public async System.Threading.Tasks.Task CreateUserAsync (User user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task CreateUserAsync(User user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - await CreateUserWithHttpInfoAsync(user, cancellationToken); + await CreateUserWithHttpInfoAsync(user, cancellationToken); } /// @@ -569,7 +569,7 @@ namespace Org.OpenAPITools.Api /// Created user object /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> CreateUserWithHttpInfoAsync (User user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> CreateUserWithHttpInfoAsync(User user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'user' is set if (user == null) @@ -615,9 +615,9 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// List of user object /// - public void CreateUsersWithArrayInput (List user) + public void CreateUsersWithArrayInput(List user) { - CreateUsersWithArrayInputWithHttpInfo(user); + CreateUsersWithArrayInputWithHttpInfo(user); } /// @@ -626,7 +626,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// List of user object /// ApiResponse of Object(void) - public Org.OpenAPITools.Client.ApiResponse CreateUsersWithArrayInputWithHttpInfo (List user) + public Org.OpenAPITools.Client.ApiResponse CreateUsersWithArrayInputWithHttpInfo(List user) { // verify the required parameter 'user' is set if (user == null) @@ -670,9 +670,9 @@ namespace Org.OpenAPITools.Api /// List of user object /// Cancellation Token to cancel the request. /// Task of void - public async System.Threading.Tasks.Task CreateUsersWithArrayInputAsync (List user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task CreateUsersWithArrayInputAsync(List user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - await CreateUsersWithArrayInputWithHttpInfoAsync(user, cancellationToken); + await CreateUsersWithArrayInputWithHttpInfoAsync(user, cancellationToken); } /// @@ -682,7 +682,7 @@ namespace Org.OpenAPITools.Api /// List of user object /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> CreateUsersWithArrayInputWithHttpInfoAsync (List user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> CreateUsersWithArrayInputWithHttpInfoAsync(List user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'user' is set if (user == null) @@ -728,9 +728,9 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// List of user object /// - public void CreateUsersWithListInput (List user) + public void CreateUsersWithListInput(List user) { - CreateUsersWithListInputWithHttpInfo(user); + CreateUsersWithListInputWithHttpInfo(user); } /// @@ -739,7 +739,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// List of user object /// ApiResponse of Object(void) - public Org.OpenAPITools.Client.ApiResponse CreateUsersWithListInputWithHttpInfo (List user) + public Org.OpenAPITools.Client.ApiResponse CreateUsersWithListInputWithHttpInfo(List user) { // verify the required parameter 'user' is set if (user == null) @@ -783,9 +783,9 @@ namespace Org.OpenAPITools.Api /// List of user object /// Cancellation Token to cancel the request. /// Task of void - public async System.Threading.Tasks.Task CreateUsersWithListInputAsync (List user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task CreateUsersWithListInputAsync(List user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - await CreateUsersWithListInputWithHttpInfoAsync(user, cancellationToken); + await CreateUsersWithListInputWithHttpInfoAsync(user, cancellationToken); } /// @@ -795,7 +795,7 @@ namespace Org.OpenAPITools.Api /// List of user object /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> CreateUsersWithListInputWithHttpInfoAsync (List user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> CreateUsersWithListInputWithHttpInfoAsync(List user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'user' is set if (user == null) @@ -841,9 +841,9 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// The name that needs to be deleted /// - public void DeleteUser (string username) + public void DeleteUser(string username) { - DeleteUserWithHttpInfo(username); + DeleteUserWithHttpInfo(username); } /// @@ -852,7 +852,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// The name that needs to be deleted /// ApiResponse of Object(void) - public Org.OpenAPITools.Client.ApiResponse DeleteUserWithHttpInfo (string username) + public Org.OpenAPITools.Client.ApiResponse DeleteUserWithHttpInfo(string username) { // verify the required parameter 'username' is set if (username == null) @@ -895,9 +895,9 @@ namespace Org.OpenAPITools.Api /// The name that needs to be deleted /// Cancellation Token to cancel the request. /// Task of void - public async System.Threading.Tasks.Task DeleteUserAsync (string username, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task DeleteUserAsync(string username, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - await DeleteUserWithHttpInfoAsync(username, cancellationToken); + await DeleteUserWithHttpInfoAsync(username, cancellationToken); } /// @@ -907,7 +907,7 @@ namespace Org.OpenAPITools.Api /// The name that needs to be deleted /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> DeleteUserWithHttpInfoAsync (string username, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> DeleteUserWithHttpInfoAsync(string username, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'username' is set if (username == null) @@ -952,10 +952,10 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// The name that needs to be fetched. Use user1 for testing. /// User - public User GetUserByName (string username) + public User GetUserByName(string username) { - Org.OpenAPITools.Client.ApiResponse localVarResponse = GetUserByNameWithHttpInfo(username); - return localVarResponse.Data; + Org.OpenAPITools.Client.ApiResponse localVarResponse = GetUserByNameWithHttpInfo(username); + return localVarResponse.Data; } /// @@ -964,7 +964,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// The name that needs to be fetched. Use user1 for testing. /// ApiResponse of User - public Org.OpenAPITools.Client.ApiResponse< User > GetUserByNameWithHttpInfo (string username) + public Org.OpenAPITools.Client.ApiResponse GetUserByNameWithHttpInfo(string username) { // verify the required parameter 'username' is set if (username == null) @@ -991,7 +991,7 @@ namespace Org.OpenAPITools.Api // make the HTTP request - var localVarResponse = this.Client.Get< User >("/user/{username}", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get("/user/{username}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { @@ -1009,10 +1009,10 @@ namespace Org.OpenAPITools.Api /// The name that needs to be fetched. Use user1 for testing. /// Cancellation Token to cancel the request. /// Task of User - public async System.Threading.Tasks.Task GetUserByNameAsync (string username, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task GetUserByNameAsync(string username, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.ApiResponse localVarResponse = await GetUserByNameWithHttpInfoAsync(username, cancellationToken); - return localVarResponse.Data; + Org.OpenAPITools.Client.ApiResponse localVarResponse = await GetUserByNameWithHttpInfoAsync(username, cancellationToken); + return localVarResponse.Data; } /// @@ -1022,7 +1022,7 @@ namespace Org.OpenAPITools.Api /// The name that needs to be fetched. Use user1 for testing. /// Cancellation Token to cancel the request. /// Task of ApiResponse (User) - public async System.Threading.Tasks.Task> GetUserByNameWithHttpInfoAsync (string username, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> GetUserByNameWithHttpInfoAsync(string username, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'username' is set if (username == null) @@ -1070,10 +1070,10 @@ namespace Org.OpenAPITools.Api /// The user name for login /// The password for login in clear text /// string - public string LoginUser (string username, string password) + public string LoginUser(string username, string password) { - Org.OpenAPITools.Client.ApiResponse localVarResponse = LoginUserWithHttpInfo(username, password); - return localVarResponse.Data; + Org.OpenAPITools.Client.ApiResponse localVarResponse = LoginUserWithHttpInfo(username, password); + return localVarResponse.Data; } /// @@ -1083,7 +1083,7 @@ namespace Org.OpenAPITools.Api /// The user name for login /// The password for login in clear text /// ApiResponse of string - public Org.OpenAPITools.Client.ApiResponse< string > LoginUserWithHttpInfo (string username, string password) + public Org.OpenAPITools.Client.ApiResponse LoginUserWithHttpInfo(string username, string password) { // verify the required parameter 'username' is set if (username == null) @@ -1115,7 +1115,7 @@ namespace Org.OpenAPITools.Api // make the HTTP request - var localVarResponse = this.Client.Get< string >("/user/login", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get("/user/login", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { @@ -1134,10 +1134,10 @@ namespace Org.OpenAPITools.Api /// The password for login in clear text /// Cancellation Token to cancel the request. /// Task of string - public async System.Threading.Tasks.Task LoginUserAsync (string username, string password, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task LoginUserAsync(string username, string password, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - Org.OpenAPITools.Client.ApiResponse localVarResponse = await LoginUserWithHttpInfoAsync(username, password, cancellationToken); - return localVarResponse.Data; + Org.OpenAPITools.Client.ApiResponse localVarResponse = await LoginUserWithHttpInfoAsync(username, password, cancellationToken); + return localVarResponse.Data; } /// @@ -1148,7 +1148,7 @@ namespace Org.OpenAPITools.Api /// The password for login in clear text /// Cancellation Token to cancel the request. /// Task of ApiResponse (string) - public async System.Threading.Tasks.Task> LoginUserWithHttpInfoAsync (string username, string password, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> LoginUserWithHttpInfoAsync(string username, string password, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'username' is set if (username == null) @@ -1199,9 +1199,9 @@ namespace Org.OpenAPITools.Api /// /// Thrown when fails to make API call /// - public void LogoutUser () + public void LogoutUser() { - LogoutUserWithHttpInfo(); + LogoutUserWithHttpInfo(); } /// @@ -1209,7 +1209,7 @@ namespace Org.OpenAPITools.Api /// /// Thrown when fails to make API call /// ApiResponse of Object(void) - public Org.OpenAPITools.Client.ApiResponse LogoutUserWithHttpInfo () + public Org.OpenAPITools.Client.ApiResponse LogoutUserWithHttpInfo() { Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); @@ -1246,9 +1246,9 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// Cancellation Token to cancel the request. /// Task of void - public async System.Threading.Tasks.Task LogoutUserAsync (System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task LogoutUserAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - await LogoutUserWithHttpInfoAsync(cancellationToken); + await LogoutUserWithHttpInfoAsync(cancellationToken); } /// @@ -1257,7 +1257,7 @@ namespace Org.OpenAPITools.Api /// Thrown when fails to make API call /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> LogoutUserWithHttpInfoAsync (System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> LogoutUserWithHttpInfoAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions(); @@ -1298,9 +1298,9 @@ namespace Org.OpenAPITools.Api /// name that need to be deleted /// Updated user object /// - public void UpdateUser (string username, User user) + public void UpdateUser(string username, User user) { - UpdateUserWithHttpInfo(username, user); + UpdateUserWithHttpInfo(username, user); } /// @@ -1310,7 +1310,7 @@ namespace Org.OpenAPITools.Api /// name that need to be deleted /// Updated user object /// ApiResponse of Object(void) - public Org.OpenAPITools.Client.ApiResponse UpdateUserWithHttpInfo (string username, User user) + public Org.OpenAPITools.Client.ApiResponse UpdateUserWithHttpInfo(string username, User user) { // verify the required parameter 'username' is set if (username == null) @@ -1360,9 +1360,9 @@ namespace Org.OpenAPITools.Api /// Updated user object /// Cancellation Token to cancel the request. /// Task of void - public async System.Threading.Tasks.Task UpdateUserAsync (string username, User user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task UpdateUserAsync(string username, User user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - await UpdateUserWithHttpInfoAsync(username, user, cancellationToken); + await UpdateUserWithHttpInfoAsync(username, user, cancellationToken); } /// @@ -1373,7 +1373,7 @@ namespace Org.OpenAPITools.Api /// Updated user object /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> UpdateUserWithHttpInfoAsync (string username, User user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> UpdateUserWithHttpInfoAsync(string username, User user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'username' is set if (username == null) diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Client/ApiClient.cs b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Client/ApiClient.cs index fbffafb1c34..c1533a0ae4a 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Client/ApiClient.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Client/ApiClient.cs @@ -12,8 +12,6 @@ using System; using System.Collections; using System.Collections.Generic; using System.Globalization; -using System.Text.RegularExpressions; -using System.Threading.Tasks; using System.IO; using System.Web; using System.Linq; @@ -21,6 +19,8 @@ using System.Net; using System.Runtime.Serialization; using System.Runtime.Serialization.Formatters; using System.Text; +using System.Text.RegularExpressions; +using System.Threading.Tasks; using Newtonsoft.Json; using Newtonsoft.Json.Serialization; using RestSharp; @@ -69,7 +69,7 @@ namespace Org.OpenAPITools.Client public T Deserialize(IRestResponse response) { - var result = (T) Deserialize(response, typeof(T)); + var result = (T)Deserialize(response, typeof(T)); return result; } @@ -113,7 +113,7 @@ namespace Org.OpenAPITools.Client if (type.Name.StartsWith("System.Nullable`1[[System.DateTime")) // return a datetime object { - return DateTime.Parse(response.Content, null, System.Globalization.DateTimeStyles.RoundtripKind); + return DateTime.Parse(response.Content, null, System.Globalization.DateTimeStyles.RoundtripKind); } if (type == typeof(String) || type.Name.StartsWith("System.Nullable")) // return primitive type @@ -423,7 +423,7 @@ namespace Org.OpenAPITools.Client if (response.Cookies != null && response.Cookies.Count > 0) { - if(result.Cookies == null) result.Cookies = new List(); + if (result.Cookies == null) result.Cookies = new List(); foreach (var restResponseCookie in response.Cookies) { var cookie = new Cookie( @@ -493,7 +493,7 @@ namespace Org.OpenAPITools.Client if (response.Cookies != null && response.Cookies.Count > 0) { - if(result.Cookies == null) result.Cookies = new List(); + if (result.Cookies == null) result.Cookies = new List(); foreach (var restResponseCookie in response.Cookies) { var cookie = new Cookie( diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Client/ApiException.cs b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Client/ApiException.cs index 4b852afd712..67d9888d6a3 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Client/ApiException.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Client/ApiException.cs @@ -38,7 +38,7 @@ namespace Org.OpenAPITools.Client /// /// Initializes a new instance of the class. /// - public ApiException() {} + public ApiException() { } /// /// Initializes a new instance of the class. @@ -57,7 +57,7 @@ namespace Org.OpenAPITools.Client /// Error message. /// Error content. /// HTTP Headers. - public ApiException(int errorCode, string message, object errorContent = null, Multimap headers = null) : base(message) + public ApiException(int errorCode, string message, object errorContent = null, Multimap headers = null) : base(message) { this.ErrorCode = errorCode; this.ErrorContent = errorContent; diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Client/ApiResponse.cs b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Client/ApiResponse.cs index 85ffcd31b01..1b7d787c84b 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Client/ApiResponse.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Client/ApiResponse.cs @@ -111,7 +111,7 @@ namespace Org.OpenAPITools.Client /// /// The raw content /// - public string RawContent { get;} + public string RawContent { get; } #endregion Properties diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Client/Configuration.cs b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Client/Configuration.cs index 8d7f6148397..89a38c29ef6 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Client/Configuration.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Client/Configuration.cs @@ -9,11 +9,11 @@ using System; -using System.Reflection; using System.Collections.Concurrent; using System.Collections.Generic; using System.IO; using System.Linq; +using System.Reflection; using System.Security.Cryptography.X509Certificates; using System.Text; @@ -155,9 +155,7 @@ namespace Org.OpenAPITools.Client /// public virtual string BasePath { get { return _basePath; } - set { - _basePath = value; - } + set { _basePath = value; } } /// @@ -212,7 +210,7 @@ namespace Org.OpenAPITools.Client public string GetApiKeyWithPrefix(string apiKeyIdentifier) { string apiKeyValue; - ApiKey.TryGetValue (apiKeyIdentifier, out apiKeyValue); + ApiKey.TryGetValue(apiKeyIdentifier, out apiKeyValue); string apiKeyPrefix; if (ApiKeyPrefix.TryGetValue(apiKeyIdentifier, out apiKeyPrefix)) { diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Client/IApiAccessor.cs b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Client/IApiAccessor.cs index cbabbbc2b25..59465ae8e90 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Client/IApiAccessor.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Client/IApiAccessor.cs @@ -21,7 +21,7 @@ namespace Org.OpenAPITools.Client /// Gets or sets the configuration object /// /// An instance of the Configuration - IReadableConfiguration Configuration {get; set;} + IReadableConfiguration Configuration { get; set; } /// /// Gets the base path of the API client. diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/AdditionalPropertiesClass.cs b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/AdditionalPropertiesClass.cs index c102b675b6f..4aeb6ab1cbb 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/AdditionalPropertiesClass.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/AdditionalPropertiesClass.cs @@ -9,14 +9,14 @@ using System; -using System.Linq; -using System.IO; -using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; +using System.Linq; +using System.IO; using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.ComponentModel.DataAnnotations; @@ -29,7 +29,7 @@ namespace Org.OpenAPITools.Model /// AdditionalPropertiesClass /// [DataContract] - public partial class AdditionalPropertiesClass : IEquatable, IValidatableObject + public partial class AdditionalPropertiesClass : IEquatable, IValidatableObject { /// /// Initializes a new instance of the class. @@ -45,13 +45,13 @@ namespace Org.OpenAPITools.Model /// /// Gets or Sets MapProperty /// - [DataMember(Name="map_property", EmitDefaultValue=false)] + [DataMember(Name = "map_property", EmitDefaultValue = false)] public Dictionary MapProperty { get; set; } /// /// Gets or Sets MapOfMapProperty /// - [DataMember(Name="map_of_map_property", EmitDefaultValue=false)] + [DataMember(Name = "map_of_map_property", EmitDefaultValue = false)] public Dictionary> MapOfMapProperty { get; set; } /// diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/Animal.cs b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/Animal.cs index 72e1a0e3815..f803384d41b 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/Animal.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/Animal.cs @@ -9,14 +9,14 @@ using System; -using System.Linq; -using System.IO; -using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; +using System.Linq; +using System.IO; using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using JsonSubTypes; @@ -35,7 +35,7 @@ namespace Org.OpenAPITools.Model [JsonSubtypes.KnownSubType(typeof(Cat), "Cat")] [JsonSubtypes.KnownSubType(typeof(Dog), "Dog")] [JsonSubtypes.KnownSubType(typeof(Cat), "Cat")] - public partial class Animal : IEquatable, IValidatableObject + public partial class Animal : IEquatable, IValidatableObject { /// /// Initializes a new instance of the class. @@ -58,13 +58,13 @@ namespace Org.OpenAPITools.Model /// /// Gets or Sets ClassName /// - [DataMember(Name="className", EmitDefaultValue=false)] + [DataMember(Name = "className", EmitDefaultValue = false)] public string ClassName { get; set; } /// /// Gets or Sets Color /// - [DataMember(Name="color", EmitDefaultValue=false)] + [DataMember(Name = "color", EmitDefaultValue = false)] public string Color { get; set; } /// diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/ApiResponse.cs b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/ApiResponse.cs index 3243ea5bb7e..5081a436a6e 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/ApiResponse.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/ApiResponse.cs @@ -9,14 +9,14 @@ using System; -using System.Linq; -using System.IO; -using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; +using System.Linq; +using System.IO; using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.ComponentModel.DataAnnotations; @@ -29,7 +29,7 @@ namespace Org.OpenAPITools.Model /// ApiResponse /// [DataContract] - public partial class ApiResponse : IEquatable, IValidatableObject + public partial class ApiResponse : IEquatable, IValidatableObject { /// /// Initializes a new instance of the class. @@ -47,19 +47,19 @@ namespace Org.OpenAPITools.Model /// /// Gets or Sets Code /// - [DataMember(Name="code", EmitDefaultValue=false)] + [DataMember(Name = "code", EmitDefaultValue = false)] public int Code { get; set; } /// /// Gets or Sets Type /// - [DataMember(Name="type", EmitDefaultValue=false)] + [DataMember(Name = "type", EmitDefaultValue = false)] public string Type { get; set; } /// /// Gets or Sets Message /// - [DataMember(Name="message", EmitDefaultValue=false)] + [DataMember(Name = "message", EmitDefaultValue = false)] public string Message { get; set; } /// diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/ArrayOfArrayOfNumberOnly.cs b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/ArrayOfArrayOfNumberOnly.cs index 3de03d08ede..19f7506abe0 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/ArrayOfArrayOfNumberOnly.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/ArrayOfArrayOfNumberOnly.cs @@ -9,14 +9,14 @@ using System; -using System.Linq; -using System.IO; -using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; +using System.Linq; +using System.IO; using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.ComponentModel.DataAnnotations; @@ -29,7 +29,7 @@ namespace Org.OpenAPITools.Model /// ArrayOfArrayOfNumberOnly /// [DataContract] - public partial class ArrayOfArrayOfNumberOnly : IEquatable, IValidatableObject + public partial class ArrayOfArrayOfNumberOnly : IEquatable, IValidatableObject { /// /// Initializes a new instance of the class. @@ -43,7 +43,7 @@ namespace Org.OpenAPITools.Model /// /// Gets or Sets ArrayArrayNumber /// - [DataMember(Name="ArrayArrayNumber", EmitDefaultValue=false)] + [DataMember(Name = "ArrayArrayNumber", EmitDefaultValue = false)] public List> ArrayArrayNumber { get; set; } /// diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/ArrayOfNumberOnly.cs b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/ArrayOfNumberOnly.cs index 5cb22e41e48..de60a4c8296 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/ArrayOfNumberOnly.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/ArrayOfNumberOnly.cs @@ -9,14 +9,14 @@ using System; -using System.Linq; -using System.IO; -using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; +using System.Linq; +using System.IO; using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.ComponentModel.DataAnnotations; @@ -29,7 +29,7 @@ namespace Org.OpenAPITools.Model /// ArrayOfNumberOnly /// [DataContract] - public partial class ArrayOfNumberOnly : IEquatable, IValidatableObject + public partial class ArrayOfNumberOnly : IEquatable, IValidatableObject { /// /// Initializes a new instance of the class. @@ -43,7 +43,7 @@ namespace Org.OpenAPITools.Model /// /// Gets or Sets ArrayNumber /// - [DataMember(Name="ArrayNumber", EmitDefaultValue=false)] + [DataMember(Name = "ArrayNumber", EmitDefaultValue = false)] public List ArrayNumber { get; set; } /// diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/ArrayTest.cs b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/ArrayTest.cs index ae62dc5946c..44f8b0a9870 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/ArrayTest.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/ArrayTest.cs @@ -9,14 +9,14 @@ using System; -using System.Linq; -using System.IO; -using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; +using System.Linq; +using System.IO; using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.ComponentModel.DataAnnotations; @@ -29,7 +29,7 @@ namespace Org.OpenAPITools.Model /// ArrayTest /// [DataContract] - public partial class ArrayTest : IEquatable, IValidatableObject + public partial class ArrayTest : IEquatable, IValidatableObject { /// /// Initializes a new instance of the class. @@ -47,19 +47,19 @@ namespace Org.OpenAPITools.Model /// /// Gets or Sets ArrayOfString /// - [DataMember(Name="array_of_string", EmitDefaultValue=false)] + [DataMember(Name = "array_of_string", EmitDefaultValue = false)] public List ArrayOfString { get; set; } /// /// Gets or Sets ArrayArrayOfInteger /// - [DataMember(Name="array_array_of_integer", EmitDefaultValue=false)] + [DataMember(Name = "array_array_of_integer", EmitDefaultValue = false)] public List> ArrayArrayOfInteger { get; set; } /// /// Gets or Sets ArrayArrayOfModel /// - [DataMember(Name="array_array_of_model", EmitDefaultValue=false)] + [DataMember(Name = "array_array_of_model", EmitDefaultValue = false)] public List> ArrayArrayOfModel { get; set; } /// diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/Capitalization.cs b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/Capitalization.cs index 214fa303586..de7ef7431c1 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/Capitalization.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/Capitalization.cs @@ -9,14 +9,14 @@ using System; -using System.Linq; -using System.IO; -using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; +using System.Linq; +using System.IO; using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.ComponentModel.DataAnnotations; @@ -29,7 +29,7 @@ namespace Org.OpenAPITools.Model /// Capitalization /// [DataContract] - public partial class Capitalization : IEquatable, IValidatableObject + public partial class Capitalization : IEquatable, IValidatableObject { /// /// Initializes a new instance of the class. @@ -53,38 +53,38 @@ namespace Org.OpenAPITools.Model /// /// Gets or Sets SmallCamel /// - [DataMember(Name="smallCamel", EmitDefaultValue=false)] + [DataMember(Name = "smallCamel", EmitDefaultValue = false)] public string SmallCamel { get; set; } /// /// Gets or Sets CapitalCamel /// - [DataMember(Name="CapitalCamel", EmitDefaultValue=false)] + [DataMember(Name = "CapitalCamel", EmitDefaultValue = false)] public string CapitalCamel { get; set; } /// /// Gets or Sets SmallSnake /// - [DataMember(Name="small_Snake", EmitDefaultValue=false)] + [DataMember(Name = "small_Snake", EmitDefaultValue = false)] public string SmallSnake { get; set; } /// /// Gets or Sets CapitalSnake /// - [DataMember(Name="Capital_Snake", EmitDefaultValue=false)] + [DataMember(Name = "Capital_Snake", EmitDefaultValue = false)] public string CapitalSnake { get; set; } /// /// Gets or Sets SCAETHFlowPoints /// - [DataMember(Name="SCA_ETH_Flow_Points", EmitDefaultValue=false)] + [DataMember(Name = "SCA_ETH_Flow_Points", EmitDefaultValue = false)] public string SCAETHFlowPoints { get; set; } /// /// Name of the pet /// /// Name of the pet - [DataMember(Name="ATT_NAME", EmitDefaultValue=false)] + [DataMember(Name = "ATT_NAME", EmitDefaultValue = false)] public string ATT_NAME { get; set; } /// diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/Cat.cs b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/Cat.cs index e142a5fffe6..793f47a8536 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/Cat.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/Cat.cs @@ -9,14 +9,14 @@ using System; -using System.Linq; -using System.IO; -using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; +using System.Linq; +using System.IO; using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.ComponentModel.DataAnnotations; @@ -29,7 +29,7 @@ namespace Org.OpenAPITools.Model /// Cat /// [DataContract] - public partial class Cat : Animal, IEquatable, IValidatableObject + public partial class Cat : Animal, IEquatable, IValidatableObject { /// /// Initializes a new instance of the class. @@ -50,7 +50,7 @@ namespace Org.OpenAPITools.Model /// /// Gets or Sets Declawed /// - [DataMember(Name="declawed", EmitDefaultValue=false)] + [DataMember(Name = "declawed", EmitDefaultValue = false)] public bool Declawed { get; set; } /// diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/CatAllOf.cs b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/CatAllOf.cs index 49519a5f691..d7aa2b18ec0 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/CatAllOf.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/CatAllOf.cs @@ -9,14 +9,14 @@ using System; -using System.Linq; -using System.IO; -using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; +using System.Linq; +using System.IO; using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.ComponentModel.DataAnnotations; @@ -29,7 +29,7 @@ namespace Org.OpenAPITools.Model /// CatAllOf /// [DataContract] - public partial class CatAllOf : IEquatable, IValidatableObject + public partial class CatAllOf : IEquatable, IValidatableObject { /// /// Initializes a new instance of the class. @@ -43,7 +43,7 @@ namespace Org.OpenAPITools.Model /// /// Gets or Sets Declawed /// - [DataMember(Name="declawed", EmitDefaultValue=false)] + [DataMember(Name = "declawed", EmitDefaultValue = false)] public bool Declawed { get; set; } /// diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/Category.cs b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/Category.cs index ec605908f1d..64793707ace 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/Category.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/Category.cs @@ -9,14 +9,14 @@ using System; -using System.Linq; -using System.IO; -using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; +using System.Linq; +using System.IO; using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.ComponentModel.DataAnnotations; @@ -29,7 +29,7 @@ namespace Org.OpenAPITools.Model /// Category /// [DataContract] - public partial class Category : IEquatable, IValidatableObject + public partial class Category : IEquatable, IValidatableObject { /// /// Initializes a new instance of the class. @@ -51,13 +51,13 @@ namespace Org.OpenAPITools.Model /// /// Gets or Sets Id /// - [DataMember(Name="id", EmitDefaultValue=false)] + [DataMember(Name = "id", EmitDefaultValue = false)] public long Id { get; set; } /// /// Gets or Sets Name /// - [DataMember(Name="name", EmitDefaultValue=false)] + [DataMember(Name = "name", EmitDefaultValue = false)] public string Name { get; set; } /// diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/ClassModel.cs b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/ClassModel.cs index af0d19a2376..c7244c4e215 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/ClassModel.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/ClassModel.cs @@ -9,14 +9,14 @@ using System; -using System.Linq; -using System.IO; -using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; +using System.Linq; +using System.IO; using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.ComponentModel.DataAnnotations; @@ -29,7 +29,7 @@ namespace Org.OpenAPITools.Model /// Model for testing model with \"_class\" property /// [DataContract] - public partial class ClassModel : IEquatable, IValidatableObject + public partial class ClassModel : IEquatable, IValidatableObject { /// /// Initializes a new instance of the class. @@ -43,7 +43,7 @@ namespace Org.OpenAPITools.Model /// /// Gets or Sets Class /// - [DataMember(Name="_class", EmitDefaultValue=false)] + [DataMember(Name = "_class", EmitDefaultValue = false)] public string Class { get; set; } /// diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/Dog.cs b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/Dog.cs index 2e4eaac43d5..c99c9137856 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/Dog.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/Dog.cs @@ -9,14 +9,14 @@ using System; -using System.Linq; -using System.IO; -using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; +using System.Linq; +using System.IO; using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.ComponentModel.DataAnnotations; @@ -29,7 +29,7 @@ namespace Org.OpenAPITools.Model /// Dog /// [DataContract] - public partial class Dog : Animal, IEquatable, IValidatableObject + public partial class Dog : Animal, IEquatable, IValidatableObject { /// /// Initializes a new instance of the class. @@ -50,7 +50,7 @@ namespace Org.OpenAPITools.Model /// /// Gets or Sets Breed /// - [DataMember(Name="breed", EmitDefaultValue=false)] + [DataMember(Name = "breed", EmitDefaultValue = false)] public string Breed { get; set; } /// diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/DogAllOf.cs b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/DogAllOf.cs index cb89e3c4e44..a6a2d090a3c 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/DogAllOf.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/DogAllOf.cs @@ -9,14 +9,14 @@ using System; -using System.Linq; -using System.IO; -using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; +using System.Linq; +using System.IO; using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.ComponentModel.DataAnnotations; @@ -29,7 +29,7 @@ namespace Org.OpenAPITools.Model /// DogAllOf /// [DataContract] - public partial class DogAllOf : IEquatable, IValidatableObject + public partial class DogAllOf : IEquatable, IValidatableObject { /// /// Initializes a new instance of the class. @@ -43,7 +43,7 @@ namespace Org.OpenAPITools.Model /// /// Gets or Sets Breed /// - [DataMember(Name="breed", EmitDefaultValue=false)] + [DataMember(Name = "breed", EmitDefaultValue = false)] public string Breed { get; set; } /// diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/EnumArrays.cs b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/EnumArrays.cs index 55567f8833f..cdc8103d8f3 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/EnumArrays.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/EnumArrays.cs @@ -9,14 +9,14 @@ using System; -using System.Linq; -using System.IO; -using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; +using System.Linq; +using System.IO; using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.ComponentModel.DataAnnotations; @@ -29,7 +29,7 @@ namespace Org.OpenAPITools.Model /// EnumArrays /// [DataContract] - public partial class EnumArrays : IEquatable, IValidatableObject + public partial class EnumArrays : IEquatable, IValidatableObject { /// /// Defines JustSymbol @@ -54,7 +54,7 @@ namespace Org.OpenAPITools.Model /// /// Gets or Sets JustSymbol /// - [DataMember(Name="just_symbol", EmitDefaultValue=false)] + [DataMember(Name = "just_symbol", EmitDefaultValue = false)] public JustSymbolEnum? JustSymbol { get; set; } /// /// Defines ArrayEnum @@ -80,7 +80,7 @@ namespace Org.OpenAPITools.Model /// /// Gets or Sets ArrayEnum /// - [DataMember(Name="array_enum", EmitDefaultValue=false)] + [DataMember(Name = "array_enum", EmitDefaultValue = false)] public List ArrayEnum { get; set; } /// /// Initializes a new instance of the class. diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/EnumClass.cs b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/EnumClass.cs index 77d71cfde61..83e51941724 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/EnumClass.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/EnumClass.cs @@ -9,14 +9,14 @@ using System; -using System.Linq; -using System.IO; -using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; +using System.Linq; +using System.IO; using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.ComponentModel.DataAnnotations; diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/EnumTest.cs b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/EnumTest.cs index 83386a4e39b..58687dbf785 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/EnumTest.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/EnumTest.cs @@ -9,14 +9,14 @@ using System; -using System.Linq; -using System.IO; -using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; +using System.Linq; +using System.IO; using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.ComponentModel.DataAnnotations; @@ -29,7 +29,7 @@ namespace Org.OpenAPITools.Model /// EnumTest /// [DataContract] - public partial class EnumTest : IEquatable, IValidatableObject + public partial class EnumTest : IEquatable, IValidatableObject { /// /// Defines EnumString @@ -60,7 +60,7 @@ namespace Org.OpenAPITools.Model /// /// Gets or Sets EnumString /// - [DataMember(Name="enum_string", EmitDefaultValue=false)] + [DataMember(Name = "enum_string", EmitDefaultValue = false)] public EnumStringEnum? EnumString { get; set; } /// /// Defines EnumStringRequired @@ -91,7 +91,7 @@ namespace Org.OpenAPITools.Model /// /// Gets or Sets EnumStringRequired /// - [DataMember(Name="enum_string_required", EmitDefaultValue=false)] + [DataMember(Name = "enum_string_required", EmitDefaultValue = false)] public EnumStringRequiredEnum EnumStringRequired { get; set; } /// /// Defines EnumInteger @@ -113,7 +113,7 @@ namespace Org.OpenAPITools.Model /// /// Gets or Sets EnumInteger /// - [DataMember(Name="enum_integer", EmitDefaultValue=false)] + [DataMember(Name = "enum_integer", EmitDefaultValue = false)] public EnumIntegerEnum? EnumInteger { get; set; } /// /// Defines EnumNumber @@ -138,27 +138,27 @@ namespace Org.OpenAPITools.Model /// /// Gets or Sets EnumNumber /// - [DataMember(Name="enum_number", EmitDefaultValue=false)] + [DataMember(Name = "enum_number", EmitDefaultValue = false)] public EnumNumberEnum? EnumNumber { get; set; } /// /// Gets or Sets OuterEnum /// - [DataMember(Name="outerEnum", EmitDefaultValue=true)] + [DataMember(Name = "outerEnum", EmitDefaultValue = true)] public OuterEnum? OuterEnum { get; set; } /// /// Gets or Sets OuterEnumInteger /// - [DataMember(Name="outerEnumInteger", EmitDefaultValue=false)] + [DataMember(Name = "outerEnumInteger", EmitDefaultValue = false)] public OuterEnumInteger? OuterEnumInteger { get; set; } /// /// Gets or Sets OuterEnumDefaultValue /// - [DataMember(Name="outerEnumDefaultValue", EmitDefaultValue=false)] + [DataMember(Name = "outerEnumDefaultValue", EmitDefaultValue = false)] public OuterEnumDefaultValue? OuterEnumDefaultValue { get; set; } /// /// Gets or Sets OuterEnumIntegerDefaultValue /// - [DataMember(Name="outerEnumIntegerDefaultValue", EmitDefaultValue=false)] + [DataMember(Name = "outerEnumIntegerDefaultValue", EmitDefaultValue = false)] public OuterEnumIntegerDefaultValue? OuterEnumIntegerDefaultValue { get; set; } /// /// Initializes a new instance of the class. diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/File.cs b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/File.cs index e213c24e761..ea755621bcb 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/File.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/File.cs @@ -9,14 +9,14 @@ using System; -using System.Linq; -using System.IO; -using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; +using System.Linq; +using System.IO; using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.ComponentModel.DataAnnotations; @@ -29,7 +29,7 @@ namespace Org.OpenAPITools.Model /// Must be named `File` for test. /// [DataContract] - public partial class File : IEquatable, IValidatableObject + public partial class File : IEquatable, IValidatableObject { /// /// Initializes a new instance of the class. @@ -44,7 +44,7 @@ namespace Org.OpenAPITools.Model /// Test capitalization /// /// Test capitalization - [DataMember(Name="sourceURI", EmitDefaultValue=false)] + [DataMember(Name = "sourceURI", EmitDefaultValue = false)] public string SourceURI { get; set; } /// diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/FileSchemaTestClass.cs b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/FileSchemaTestClass.cs index 6877624e792..66a658d287a 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/FileSchemaTestClass.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/FileSchemaTestClass.cs @@ -9,14 +9,14 @@ using System; -using System.Linq; -using System.IO; -using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; +using System.Linq; +using System.IO; using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.ComponentModel.DataAnnotations; @@ -29,7 +29,7 @@ namespace Org.OpenAPITools.Model /// FileSchemaTestClass /// [DataContract] - public partial class FileSchemaTestClass : IEquatable, IValidatableObject + public partial class FileSchemaTestClass : IEquatable, IValidatableObject { /// /// Initializes a new instance of the class. @@ -45,13 +45,13 @@ namespace Org.OpenAPITools.Model /// /// Gets or Sets File /// - [DataMember(Name="file", EmitDefaultValue=false)] + [DataMember(Name = "file", EmitDefaultValue = false)] public File File { get; set; } /// /// Gets or Sets Files /// - [DataMember(Name="files", EmitDefaultValue=false)] + [DataMember(Name = "files", EmitDefaultValue = false)] public List Files { get; set; } /// diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/Foo.cs b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/Foo.cs index 68be2d60b9a..e31cfbcfeef 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/Foo.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/Foo.cs @@ -9,14 +9,14 @@ using System; -using System.Linq; -using System.IO; -using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; +using System.Linq; +using System.IO; using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.ComponentModel.DataAnnotations; @@ -29,7 +29,7 @@ namespace Org.OpenAPITools.Model /// Foo /// [DataContract] - public partial class Foo : IEquatable, IValidatableObject + public partial class Foo : IEquatable, IValidatableObject { /// /// Initializes a new instance of the class. @@ -44,7 +44,7 @@ namespace Org.OpenAPITools.Model /// /// Gets or Sets Bar /// - [DataMember(Name="bar", EmitDefaultValue=false)] + [DataMember(Name = "bar", EmitDefaultValue = false)] public string Bar { get; set; } /// diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/FormatTest.cs b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/FormatTest.cs index 102ebc4eddf..80372fe36b0 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/FormatTest.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/FormatTest.cs @@ -9,14 +9,14 @@ using System; -using System.Linq; -using System.IO; -using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; +using System.Linq; +using System.IO; using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.ComponentModel.DataAnnotations; @@ -29,7 +29,7 @@ namespace Org.OpenAPITools.Model /// FormatTest /// [DataContract] - public partial class FormatTest : IEquatable, IValidatableObject + public partial class FormatTest : IEquatable, IValidatableObject { /// /// Initializes a new instance of the class. @@ -78,94 +78,94 @@ namespace Org.OpenAPITools.Model /// /// Gets or Sets Integer /// - [DataMember(Name="integer", EmitDefaultValue=false)] + [DataMember(Name = "integer", EmitDefaultValue = false)] public int Integer { get; set; } /// /// Gets or Sets Int32 /// - [DataMember(Name="int32", EmitDefaultValue=false)] + [DataMember(Name = "int32", EmitDefaultValue = false)] public int Int32 { get; set; } /// /// Gets or Sets Int64 /// - [DataMember(Name="int64", EmitDefaultValue=false)] + [DataMember(Name = "int64", EmitDefaultValue = false)] public long Int64 { get; set; } /// /// Gets or Sets Number /// - [DataMember(Name="number", EmitDefaultValue=false)] + [DataMember(Name = "number", EmitDefaultValue = false)] public decimal Number { get; set; } /// /// Gets or Sets Float /// - [DataMember(Name="float", EmitDefaultValue=false)] + [DataMember(Name = "float", EmitDefaultValue = false)] public float Float { get; set; } /// /// Gets or Sets Double /// - [DataMember(Name="double", EmitDefaultValue=false)] + [DataMember(Name = "double", EmitDefaultValue = false)] public double Double { get; set; } /// /// Gets or Sets String /// - [DataMember(Name="string", EmitDefaultValue=false)] + [DataMember(Name = "string", EmitDefaultValue = false)] public string String { get; set; } /// /// Gets or Sets Byte /// - [DataMember(Name="byte", EmitDefaultValue=false)] + [DataMember(Name = "byte", EmitDefaultValue = false)] public byte[] Byte { get; set; } /// /// Gets or Sets Binary /// - [DataMember(Name="binary", EmitDefaultValue=false)] + [DataMember(Name = "binary", EmitDefaultValue = false)] public System.IO.Stream Binary { get; set; } /// /// Gets or Sets Date /// - [DataMember(Name="date", EmitDefaultValue=false)] + [DataMember(Name = "date", EmitDefaultValue = false)] [JsonConverter(typeof(OpenAPIDateConverter))] public DateTime Date { get; set; } /// /// Gets or Sets DateTime /// - [DataMember(Name="dateTime", EmitDefaultValue=false)] + [DataMember(Name = "dateTime", EmitDefaultValue = false)] public DateTime DateTime { get; set; } /// /// Gets or Sets Uuid /// - [DataMember(Name="uuid", EmitDefaultValue=false)] + [DataMember(Name = "uuid", EmitDefaultValue = false)] public Guid Uuid { get; set; } /// /// Gets or Sets Password /// - [DataMember(Name="password", EmitDefaultValue=false)] + [DataMember(Name = "password", EmitDefaultValue = false)] public string Password { get; set; } /// /// A string that is a 10 digit number. Can have leading zeros. /// /// A string that is a 10 digit number. Can have leading zeros. - [DataMember(Name="pattern_with_digits", EmitDefaultValue=false)] + [DataMember(Name = "pattern_with_digits", EmitDefaultValue = false)] public string PatternWithDigits { get; set; } /// /// A string starting with 'image_' (case insensitive) and one to three digits following i.e. Image_01. /// /// A string starting with 'image_' (case insensitive) and one to three digits following i.e. Image_01. - [DataMember(Name="pattern_with_digits_and_delimiter", EmitDefaultValue=false)] + [DataMember(Name = "pattern_with_digits_and_delimiter", EmitDefaultValue = false)] public string PatternWithDigitsAndDelimiter { get; set; } /// diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/HasOnlyReadOnly.cs b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/HasOnlyReadOnly.cs index 6c33e97425c..42450fed6df 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/HasOnlyReadOnly.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/HasOnlyReadOnly.cs @@ -9,14 +9,14 @@ using System; -using System.Linq; -using System.IO; -using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; +using System.Linq; +using System.IO; using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.ComponentModel.DataAnnotations; @@ -29,7 +29,7 @@ namespace Org.OpenAPITools.Model /// HasOnlyReadOnly /// [DataContract] - public partial class HasOnlyReadOnly : IEquatable, IValidatableObject + public partial class HasOnlyReadOnly : IEquatable, IValidatableObject { /// /// Initializes a new instance of the class. @@ -42,13 +42,13 @@ namespace Org.OpenAPITools.Model /// /// Gets or Sets Bar /// - [DataMember(Name="bar", EmitDefaultValue=false)] + [DataMember(Name = "bar", EmitDefaultValue = false)] public string Bar { get; private set; } /// /// Gets or Sets Foo /// - [DataMember(Name="foo", EmitDefaultValue=false)] + [DataMember(Name = "foo", EmitDefaultValue = false)] public string Foo { get; private set; } /// diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/HealthCheckResult.cs b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/HealthCheckResult.cs index 8fe6391ea4f..1d3342fcffc 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/HealthCheckResult.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/HealthCheckResult.cs @@ -9,14 +9,14 @@ using System; -using System.Linq; -using System.IO; -using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; +using System.Linq; +using System.IO; using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.ComponentModel.DataAnnotations; @@ -29,7 +29,7 @@ namespace Org.OpenAPITools.Model /// Just a string to inform instance is up and running. Make it nullable in hope to get it as pointer in generated model. /// [DataContract] - public partial class HealthCheckResult : IEquatable, IValidatableObject + public partial class HealthCheckResult : IEquatable, IValidatableObject { /// /// Initializes a new instance of the class. @@ -43,7 +43,7 @@ namespace Org.OpenAPITools.Model /// /// Gets or Sets NullableMessage /// - [DataMember(Name="NullableMessage", EmitDefaultValue=true)] + [DataMember(Name = "NullableMessage", EmitDefaultValue = true)] public string NullableMessage { get; set; } /// diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/InlineObject.cs b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/InlineObject.cs index 0d5e45d322e..d5d28d23fb7 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/InlineObject.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/InlineObject.cs @@ -9,14 +9,14 @@ using System; -using System.Linq; -using System.IO; -using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; +using System.Linq; +using System.IO; using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.ComponentModel.DataAnnotations; @@ -29,7 +29,7 @@ namespace Org.OpenAPITools.Model /// InlineObject /// [DataContract] - public partial class InlineObject : IEquatable, IValidatableObject + public partial class InlineObject : IEquatable, IValidatableObject { /// /// Initializes a new instance of the class. @@ -46,14 +46,14 @@ namespace Org.OpenAPITools.Model /// Updated name of the pet /// /// Updated name of the pet - [DataMember(Name="name", EmitDefaultValue=false)] + [DataMember(Name = "name", EmitDefaultValue = false)] public string Name { get; set; } /// /// Updated status of the pet /// /// Updated status of the pet - [DataMember(Name="status", EmitDefaultValue=false)] + [DataMember(Name = "status", EmitDefaultValue = false)] public string Status { get; set; } /// diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/InlineObject1.cs b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/InlineObject1.cs index da605cc1193..6bff6af1277 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/InlineObject1.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/InlineObject1.cs @@ -9,14 +9,14 @@ using System; -using System.Linq; -using System.IO; -using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; +using System.Linq; +using System.IO; using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.ComponentModel.DataAnnotations; @@ -29,7 +29,7 @@ namespace Org.OpenAPITools.Model /// InlineObject1 /// [DataContract] - public partial class InlineObject1 : IEquatable, IValidatableObject + public partial class InlineObject1 : IEquatable, IValidatableObject { /// /// Initializes a new instance of the class. @@ -46,14 +46,14 @@ namespace Org.OpenAPITools.Model /// Additional data to pass to server /// /// Additional data to pass to server - [DataMember(Name="additionalMetadata", EmitDefaultValue=false)] + [DataMember(Name = "additionalMetadata", EmitDefaultValue = false)] public string AdditionalMetadata { get; set; } /// /// file to upload /// /// file to upload - [DataMember(Name="file", EmitDefaultValue=false)] + [DataMember(Name = "file", EmitDefaultValue = false)] public System.IO.Stream File { get; set; } /// diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/InlineObject2.cs b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/InlineObject2.cs index 3f7aa3a202b..7ea325bb251 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/InlineObject2.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/InlineObject2.cs @@ -9,14 +9,14 @@ using System; -using System.Linq; -using System.IO; -using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; +using System.Linq; +using System.IO; using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.ComponentModel.DataAnnotations; @@ -29,7 +29,7 @@ namespace Org.OpenAPITools.Model /// InlineObject2 /// [DataContract] - public partial class InlineObject2 : IEquatable, IValidatableObject + public partial class InlineObject2 : IEquatable, IValidatableObject { /// /// Defines EnumFormStringArray @@ -56,7 +56,7 @@ namespace Org.OpenAPITools.Model /// Form parameter enum test (string array) /// /// Form parameter enum test (string array) - [DataMember(Name="enum_form_string_array", EmitDefaultValue=false)] + [DataMember(Name = "enum_form_string_array", EmitDefaultValue = false)] public List EnumFormStringArray { get; set; } /// /// Form parameter enum test (string) @@ -89,7 +89,7 @@ namespace Org.OpenAPITools.Model /// Form parameter enum test (string) /// /// Form parameter enum test (string) - [DataMember(Name="enum_form_string", EmitDefaultValue=false)] + [DataMember(Name = "enum_form_string", EmitDefaultValue = false)] public EnumFormStringEnum? EnumFormString { get; set; } /// /// Initializes a new instance of the class. diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/InlineObject3.cs b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/InlineObject3.cs index 0662cc9e672..bf1cdaeac58 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/InlineObject3.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/InlineObject3.cs @@ -9,14 +9,14 @@ using System; -using System.Linq; -using System.IO; -using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; +using System.Linq; +using System.IO; using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.ComponentModel.DataAnnotations; @@ -29,7 +29,7 @@ namespace Org.OpenAPITools.Model /// InlineObject3 /// [DataContract] - public partial class InlineObject3 : IEquatable, IValidatableObject + public partial class InlineObject3 : IEquatable, IValidatableObject { /// /// Initializes a new instance of the class. @@ -77,77 +77,77 @@ namespace Org.OpenAPITools.Model /// None /// /// None - [DataMember(Name="integer", EmitDefaultValue=false)] + [DataMember(Name = "integer", EmitDefaultValue = false)] public int Integer { get; set; } /// /// None /// /// None - [DataMember(Name="int32", EmitDefaultValue=false)] + [DataMember(Name = "int32", EmitDefaultValue = false)] public int Int32 { get; set; } /// /// None /// /// None - [DataMember(Name="int64", EmitDefaultValue=false)] + [DataMember(Name = "int64", EmitDefaultValue = false)] public long Int64 { get; set; } /// /// None /// /// None - [DataMember(Name="number", EmitDefaultValue=false)] + [DataMember(Name = "number", EmitDefaultValue = false)] public decimal Number { get; set; } /// /// None /// /// None - [DataMember(Name="float", EmitDefaultValue=false)] + [DataMember(Name = "float", EmitDefaultValue = false)] public float Float { get; set; } /// /// None /// /// None - [DataMember(Name="double", EmitDefaultValue=false)] + [DataMember(Name = "double", EmitDefaultValue = false)] public double Double { get; set; } /// /// None /// /// None - [DataMember(Name="string", EmitDefaultValue=false)] + [DataMember(Name = "string", EmitDefaultValue = false)] public string String { get; set; } /// /// None /// /// None - [DataMember(Name="pattern_without_delimiter", EmitDefaultValue=false)] + [DataMember(Name = "pattern_without_delimiter", EmitDefaultValue = false)] public string PatternWithoutDelimiter { get; set; } /// /// None /// /// None - [DataMember(Name="byte", EmitDefaultValue=false)] + [DataMember(Name = "byte", EmitDefaultValue = false)] public byte[] Byte { get; set; } /// /// None /// /// None - [DataMember(Name="binary", EmitDefaultValue=false)] + [DataMember(Name = "binary", EmitDefaultValue = false)] public System.IO.Stream Binary { get; set; } /// /// None /// /// None - [DataMember(Name="date", EmitDefaultValue=false)] + [DataMember(Name = "date", EmitDefaultValue = false)] [JsonConverter(typeof(OpenAPIDateConverter))] public DateTime Date { get; set; } @@ -155,21 +155,21 @@ namespace Org.OpenAPITools.Model /// None /// /// None - [DataMember(Name="dateTime", EmitDefaultValue=false)] + [DataMember(Name = "dateTime", EmitDefaultValue = false)] public DateTime DateTime { get; set; } /// /// None /// /// None - [DataMember(Name="password", EmitDefaultValue=false)] + [DataMember(Name = "password", EmitDefaultValue = false)] public string Password { get; set; } /// /// None /// /// None - [DataMember(Name="callback", EmitDefaultValue=false)] + [DataMember(Name = "callback", EmitDefaultValue = false)] public string Callback { get; set; } /// diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/InlineObject4.cs b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/InlineObject4.cs index c5eb34ace4d..7619b1dd7aa 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/InlineObject4.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/InlineObject4.cs @@ -9,14 +9,14 @@ using System; -using System.Linq; -using System.IO; -using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; +using System.Linq; +using System.IO; using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.ComponentModel.DataAnnotations; @@ -29,7 +29,7 @@ namespace Org.OpenAPITools.Model /// InlineObject4 /// [DataContract] - public partial class InlineObject4 : IEquatable, IValidatableObject + public partial class InlineObject4 : IEquatable, IValidatableObject { /// /// Initializes a new instance of the class. @@ -53,14 +53,14 @@ namespace Org.OpenAPITools.Model /// field1 /// /// field1 - [DataMember(Name="param", EmitDefaultValue=false)] + [DataMember(Name = "param", EmitDefaultValue = false)] public string Param { get; set; } /// /// field2 /// /// field2 - [DataMember(Name="param2", EmitDefaultValue=false)] + [DataMember(Name = "param2", EmitDefaultValue = false)] public string Param2 { get; set; } /// diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/InlineObject5.cs b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/InlineObject5.cs index c7a3d8c47ef..9c7b8c0d3ea 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/InlineObject5.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/InlineObject5.cs @@ -9,14 +9,14 @@ using System; -using System.Linq; -using System.IO; -using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; +using System.Linq; +using System.IO; using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.ComponentModel.DataAnnotations; @@ -29,7 +29,7 @@ namespace Org.OpenAPITools.Model /// InlineObject5 /// [DataContract] - public partial class InlineObject5 : IEquatable, IValidatableObject + public partial class InlineObject5 : IEquatable, IValidatableObject { /// /// Initializes a new instance of the class. @@ -52,14 +52,14 @@ namespace Org.OpenAPITools.Model /// Additional data to pass to server /// /// Additional data to pass to server - [DataMember(Name="additionalMetadata", EmitDefaultValue=false)] + [DataMember(Name = "additionalMetadata", EmitDefaultValue = false)] public string AdditionalMetadata { get; set; } /// /// file to upload /// /// file to upload - [DataMember(Name="requiredFile", EmitDefaultValue=false)] + [DataMember(Name = "requiredFile", EmitDefaultValue = false)] public System.IO.Stream RequiredFile { get; set; } /// diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/InlineResponseDefault.cs b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/InlineResponseDefault.cs index 10f74b872a5..fde7ec25c47 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/InlineResponseDefault.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/InlineResponseDefault.cs @@ -9,14 +9,14 @@ using System; -using System.Linq; -using System.IO; -using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; +using System.Linq; +using System.IO; using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.ComponentModel.DataAnnotations; @@ -29,7 +29,7 @@ namespace Org.OpenAPITools.Model /// InlineResponseDefault /// [DataContract] - public partial class InlineResponseDefault : IEquatable, IValidatableObject + public partial class InlineResponseDefault : IEquatable, IValidatableObject { /// /// Initializes a new instance of the class. @@ -43,7 +43,7 @@ namespace Org.OpenAPITools.Model /// /// Gets or Sets String /// - [DataMember(Name="string", EmitDefaultValue=false)] + [DataMember(Name = "string", EmitDefaultValue = false)] public Foo String { get; set; } /// diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/List.cs b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/List.cs index 98d88d57a00..44d892601ec 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/List.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/List.cs @@ -9,14 +9,14 @@ using System; -using System.Linq; -using System.IO; -using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; +using System.Linq; +using System.IO; using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.ComponentModel.DataAnnotations; @@ -29,7 +29,7 @@ namespace Org.OpenAPITools.Model /// List /// [DataContract] - public partial class List : IEquatable, IValidatableObject + public partial class List : IEquatable, IValidatableObject { /// /// Initializes a new instance of the class. @@ -43,7 +43,7 @@ namespace Org.OpenAPITools.Model /// /// Gets or Sets _123List /// - [DataMember(Name="123-list", EmitDefaultValue=false)] + [DataMember(Name = "123-list", EmitDefaultValue = false)] public string _123List { get; set; } /// diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/MapTest.cs b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/MapTest.cs index 32dd700cf84..5c711d7269a 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/MapTest.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/MapTest.cs @@ -9,14 +9,14 @@ using System; -using System.Linq; -using System.IO; -using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; +using System.Linq; +using System.IO; using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.ComponentModel.DataAnnotations; @@ -29,7 +29,7 @@ namespace Org.OpenAPITools.Model /// MapTest /// [DataContract] - public partial class MapTest : IEquatable, IValidatableObject + public partial class MapTest : IEquatable, IValidatableObject { /// /// Defines Inner @@ -55,7 +55,7 @@ namespace Org.OpenAPITools.Model /// /// Gets or Sets MapOfEnumString /// - [DataMember(Name="map_of_enum_string", EmitDefaultValue=false)] + [DataMember(Name = "map_of_enum_string", EmitDefaultValue = false)] public Dictionary MapOfEnumString { get; set; } /// /// Initializes a new instance of the class. @@ -75,19 +75,19 @@ namespace Org.OpenAPITools.Model /// /// Gets or Sets MapMapOfString /// - [DataMember(Name="map_map_of_string", EmitDefaultValue=false)] + [DataMember(Name = "map_map_of_string", EmitDefaultValue = false)] public Dictionary> MapMapOfString { get; set; } /// /// Gets or Sets DirectMap /// - [DataMember(Name="direct_map", EmitDefaultValue=false)] + [DataMember(Name = "direct_map", EmitDefaultValue = false)] public Dictionary DirectMap { get; set; } /// /// Gets or Sets IndirectMap /// - [DataMember(Name="indirect_map", EmitDefaultValue=false)] + [DataMember(Name = "indirect_map", EmitDefaultValue = false)] public Dictionary IndirectMap { get; set; } /// diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/MixedPropertiesAndAdditionalPropertiesClass.cs b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/MixedPropertiesAndAdditionalPropertiesClass.cs index b063641c816..61025f2761d 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/MixedPropertiesAndAdditionalPropertiesClass.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/MixedPropertiesAndAdditionalPropertiesClass.cs @@ -9,14 +9,14 @@ using System; -using System.Linq; -using System.IO; -using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; +using System.Linq; +using System.IO; using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.ComponentModel.DataAnnotations; @@ -29,7 +29,7 @@ namespace Org.OpenAPITools.Model /// MixedPropertiesAndAdditionalPropertiesClass /// [DataContract] - public partial class MixedPropertiesAndAdditionalPropertiesClass : IEquatable, IValidatableObject + public partial class MixedPropertiesAndAdditionalPropertiesClass : IEquatable, IValidatableObject { /// /// Initializes a new instance of the class. @@ -47,19 +47,19 @@ namespace Org.OpenAPITools.Model /// /// Gets or Sets Uuid /// - [DataMember(Name="uuid", EmitDefaultValue=false)] + [DataMember(Name = "uuid", EmitDefaultValue = false)] public Guid Uuid { get; set; } /// /// Gets or Sets DateTime /// - [DataMember(Name="dateTime", EmitDefaultValue=false)] + [DataMember(Name = "dateTime", EmitDefaultValue = false)] public DateTime DateTime { get; set; } /// /// Gets or Sets Map /// - [DataMember(Name="map", EmitDefaultValue=false)] + [DataMember(Name = "map", EmitDefaultValue = false)] public Dictionary Map { get; set; } /// diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/Model200Response.cs b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/Model200Response.cs index aef95cb9fe2..a5c41c24b85 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/Model200Response.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/Model200Response.cs @@ -9,14 +9,14 @@ using System; -using System.Linq; -using System.IO; -using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; +using System.Linq; +using System.IO; using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.ComponentModel.DataAnnotations; @@ -29,7 +29,7 @@ namespace Org.OpenAPITools.Model /// Model for testing model name starting with number /// [DataContract] - public partial class Model200Response : IEquatable, IValidatableObject + public partial class Model200Response : IEquatable, IValidatableObject { /// /// Initializes a new instance of the class. @@ -45,13 +45,13 @@ namespace Org.OpenAPITools.Model /// /// Gets or Sets Name /// - [DataMember(Name="name", EmitDefaultValue=false)] + [DataMember(Name = "name", EmitDefaultValue = false)] public int Name { get; set; } /// /// Gets or Sets Class /// - [DataMember(Name="class", EmitDefaultValue=false)] + [DataMember(Name = "class", EmitDefaultValue = false)] public string Class { get; set; } /// diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/ModelClient.cs b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/ModelClient.cs index d439a5ce8e9..cf0d4cc18c9 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/ModelClient.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/ModelClient.cs @@ -9,14 +9,14 @@ using System; -using System.Linq; -using System.IO; -using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; +using System.Linq; +using System.IO; using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.ComponentModel.DataAnnotations; @@ -29,7 +29,7 @@ namespace Org.OpenAPITools.Model /// ModelClient /// [DataContract] - public partial class ModelClient : IEquatable, IValidatableObject + public partial class ModelClient : IEquatable, IValidatableObject { /// /// Initializes a new instance of the class. @@ -43,7 +43,7 @@ namespace Org.OpenAPITools.Model /// /// Gets or Sets __Client /// - [DataMember(Name="client", EmitDefaultValue=false)] + [DataMember(Name = "client", EmitDefaultValue = false)] public string __Client { get; set; } /// diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/Name.cs b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/Name.cs index 022c13414fc..38d3804ad45 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/Name.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/Name.cs @@ -9,14 +9,14 @@ using System; -using System.Linq; -using System.IO; -using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; +using System.Linq; +using System.IO; using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.ComponentModel.DataAnnotations; @@ -29,7 +29,7 @@ namespace Org.OpenAPITools.Model /// Model for testing model name same as property name /// [DataContract] - public partial class Name : IEquatable, IValidatableObject + public partial class Name : IEquatable, IValidatableObject { /// /// Initializes a new instance of the class. @@ -50,25 +50,25 @@ namespace Org.OpenAPITools.Model /// /// Gets or Sets _Name /// - [DataMember(Name="name", EmitDefaultValue=false)] + [DataMember(Name = "name", EmitDefaultValue = false)] public int _Name { get; set; } /// /// Gets or Sets SnakeCase /// - [DataMember(Name="snake_case", EmitDefaultValue=false)] + [DataMember(Name = "snake_case", EmitDefaultValue = false)] public int SnakeCase { get; private set; } /// /// Gets or Sets Property /// - [DataMember(Name="property", EmitDefaultValue=false)] + [DataMember(Name = "property", EmitDefaultValue = false)] public string Property { get; set; } /// /// Gets or Sets _123Number /// - [DataMember(Name="123Number", EmitDefaultValue=false)] + [DataMember(Name = "123Number", EmitDefaultValue = false)] public int _123Number { get; private set; } /// diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/NullableClass.cs b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/NullableClass.cs index e0048755410..68e687ca57c 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/NullableClass.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/NullableClass.cs @@ -9,14 +9,14 @@ using System; -using System.Linq; -using System.IO; -using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; +using System.Linq; +using System.IO; using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.ComponentModel.DataAnnotations; @@ -29,7 +29,7 @@ namespace Org.OpenAPITools.Model /// NullableClass /// [DataContract] - public partial class NullableClass : Dictionary, IEquatable, IValidatableObject + public partial class NullableClass : Dictionary, IEquatable, IValidatableObject { /// /// Initializes a new instance of the class. @@ -65,74 +65,74 @@ namespace Org.OpenAPITools.Model /// /// Gets or Sets IntegerProp /// - [DataMember(Name="integer_prop", EmitDefaultValue=true)] + [DataMember(Name = "integer_prop", EmitDefaultValue = true)] public int? IntegerProp { get; set; } /// /// Gets or Sets NumberProp /// - [DataMember(Name="number_prop", EmitDefaultValue=true)] + [DataMember(Name = "number_prop", EmitDefaultValue = true)] public decimal? NumberProp { get; set; } /// /// Gets or Sets BooleanProp /// - [DataMember(Name="boolean_prop", EmitDefaultValue=true)] + [DataMember(Name = "boolean_prop", EmitDefaultValue = true)] public bool? BooleanProp { get; set; } /// /// Gets or Sets StringProp /// - [DataMember(Name="string_prop", EmitDefaultValue=true)] + [DataMember(Name = "string_prop", EmitDefaultValue = true)] public string StringProp { get; set; } /// /// Gets or Sets DateProp /// - [DataMember(Name="date_prop", EmitDefaultValue=true)] + [DataMember(Name = "date_prop", EmitDefaultValue = true)] [JsonConverter(typeof(OpenAPIDateConverter))] public DateTime? DateProp { get; set; } /// /// Gets or Sets DatetimeProp /// - [DataMember(Name="datetime_prop", EmitDefaultValue=true)] + [DataMember(Name = "datetime_prop", EmitDefaultValue = true)] public DateTime? DatetimeProp { get; set; } /// /// Gets or Sets ArrayNullableProp /// - [DataMember(Name="array_nullable_prop", EmitDefaultValue=true)] + [DataMember(Name = "array_nullable_prop", EmitDefaultValue = true)] public List ArrayNullableProp { get; set; } /// /// Gets or Sets ArrayAndItemsNullableProp /// - [DataMember(Name="array_and_items_nullable_prop", EmitDefaultValue=true)] + [DataMember(Name = "array_and_items_nullable_prop", EmitDefaultValue = true)] public List ArrayAndItemsNullableProp { get; set; } /// /// Gets or Sets ArrayItemsNullable /// - [DataMember(Name="array_items_nullable", EmitDefaultValue=false)] + [DataMember(Name = "array_items_nullable", EmitDefaultValue = false)] public List ArrayItemsNullable { get; set; } /// /// Gets or Sets ObjectNullableProp /// - [DataMember(Name="object_nullable_prop", EmitDefaultValue=true)] + [DataMember(Name = "object_nullable_prop", EmitDefaultValue = true)] public Dictionary ObjectNullableProp { get; set; } /// /// Gets or Sets ObjectAndItemsNullableProp /// - [DataMember(Name="object_and_items_nullable_prop", EmitDefaultValue=true)] + [DataMember(Name = "object_and_items_nullable_prop", EmitDefaultValue = true)] public Dictionary ObjectAndItemsNullableProp { get; set; } /// /// Gets or Sets ObjectItemsNullable /// - [DataMember(Name="object_items_nullable", EmitDefaultValue=false)] + [DataMember(Name = "object_items_nullable", EmitDefaultValue = false)] public Dictionary ObjectItemsNullable { get; set; } /// diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/NumberOnly.cs b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/NumberOnly.cs index 4ef1d6c0375..e07e3d55b78 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/NumberOnly.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/NumberOnly.cs @@ -9,14 +9,14 @@ using System; -using System.Linq; -using System.IO; -using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; +using System.Linq; +using System.IO; using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.ComponentModel.DataAnnotations; @@ -29,7 +29,7 @@ namespace Org.OpenAPITools.Model /// NumberOnly /// [DataContract] - public partial class NumberOnly : IEquatable, IValidatableObject + public partial class NumberOnly : IEquatable, IValidatableObject { /// /// Initializes a new instance of the class. @@ -43,7 +43,7 @@ namespace Org.OpenAPITools.Model /// /// Gets or Sets JustNumber /// - [DataMember(Name="JustNumber", EmitDefaultValue=false)] + [DataMember(Name = "JustNumber", EmitDefaultValue = false)] public decimal JustNumber { get; set; } /// diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/Order.cs b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/Order.cs index c534561b9f0..5d74095fbba 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/Order.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/Order.cs @@ -9,14 +9,14 @@ using System; -using System.Linq; -using System.IO; -using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; +using System.Linq; +using System.IO; using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.ComponentModel.DataAnnotations; @@ -29,7 +29,7 @@ namespace Org.OpenAPITools.Model /// Order /// [DataContract] - public partial class Order : IEquatable, IValidatableObject + public partial class Order : IEquatable, IValidatableObject { /// /// Order Status @@ -62,7 +62,7 @@ namespace Org.OpenAPITools.Model /// Order Status /// /// Order Status - [DataMember(Name="status", EmitDefaultValue=false)] + [DataMember(Name = "status", EmitDefaultValue = false)] public StatusEnum? Status { get; set; } /// /// Initializes a new instance of the class. @@ -86,31 +86,31 @@ namespace Org.OpenAPITools.Model /// /// Gets or Sets Id /// - [DataMember(Name="id", EmitDefaultValue=false)] + [DataMember(Name = "id", EmitDefaultValue = false)] public long Id { get; set; } /// /// Gets or Sets PetId /// - [DataMember(Name="petId", EmitDefaultValue=false)] + [DataMember(Name = "petId", EmitDefaultValue = false)] public long PetId { get; set; } /// /// Gets or Sets Quantity /// - [DataMember(Name="quantity", EmitDefaultValue=false)] + [DataMember(Name = "quantity", EmitDefaultValue = false)] public int Quantity { get; set; } /// /// Gets or Sets ShipDate /// - [DataMember(Name="shipDate", EmitDefaultValue=false)] + [DataMember(Name = "shipDate", EmitDefaultValue = false)] public DateTime ShipDate { get; set; } /// /// Gets or Sets Complete /// - [DataMember(Name="complete", EmitDefaultValue=false)] + [DataMember(Name = "complete", EmitDefaultValue = false)] public bool Complete { get; set; } /// diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/OuterComposite.cs b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/OuterComposite.cs index ae55c32f752..13f4cf275c0 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/OuterComposite.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/OuterComposite.cs @@ -9,14 +9,14 @@ using System; -using System.Linq; -using System.IO; -using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; +using System.Linq; +using System.IO; using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.ComponentModel.DataAnnotations; @@ -29,7 +29,7 @@ namespace Org.OpenAPITools.Model /// OuterComposite /// [DataContract] - public partial class OuterComposite : IEquatable, IValidatableObject + public partial class OuterComposite : IEquatable, IValidatableObject { /// /// Initializes a new instance of the class. @@ -47,19 +47,19 @@ namespace Org.OpenAPITools.Model /// /// Gets or Sets MyNumber /// - [DataMember(Name="my_number", EmitDefaultValue=false)] + [DataMember(Name = "my_number", EmitDefaultValue = false)] public decimal MyNumber { get; set; } /// /// Gets or Sets MyString /// - [DataMember(Name="my_string", EmitDefaultValue=false)] + [DataMember(Name = "my_string", EmitDefaultValue = false)] public string MyString { get; set; } /// /// Gets or Sets MyBoolean /// - [DataMember(Name="my_boolean", EmitDefaultValue=false)] + [DataMember(Name = "my_boolean", EmitDefaultValue = false)] public bool MyBoolean { get; set; } /// diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/OuterEnum.cs b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/OuterEnum.cs index 9c1fb69cfa4..05db0c82a3b 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/OuterEnum.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/OuterEnum.cs @@ -9,14 +9,14 @@ using System; -using System.Linq; -using System.IO; -using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; +using System.Linq; +using System.IO; using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.ComponentModel.DataAnnotations; diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/OuterEnumDefaultValue.cs b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/OuterEnumDefaultValue.cs index 64f0955898e..1fde02761fe 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/OuterEnumDefaultValue.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/OuterEnumDefaultValue.cs @@ -9,14 +9,14 @@ using System; -using System.Linq; -using System.IO; -using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; +using System.Linq; +using System.IO; using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.ComponentModel.DataAnnotations; diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/OuterEnumInteger.cs b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/OuterEnumInteger.cs index 7ad60a1a96c..0b327bcaf00 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/OuterEnumInteger.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/OuterEnumInteger.cs @@ -9,14 +9,14 @@ using System; -using System.Linq; -using System.IO; -using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; +using System.Linq; +using System.IO; using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.ComponentModel.DataAnnotations; diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/OuterEnumIntegerDefaultValue.cs b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/OuterEnumIntegerDefaultValue.cs index 5cd33917381..7db41e8cccc 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/OuterEnumIntegerDefaultValue.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/OuterEnumIntegerDefaultValue.cs @@ -9,14 +9,14 @@ using System; -using System.Linq; -using System.IO; -using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; +using System.Linq; +using System.IO; using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.ComponentModel.DataAnnotations; diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/Pet.cs b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/Pet.cs index f824e52c9b3..d15f5180bec 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/Pet.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/Pet.cs @@ -9,14 +9,14 @@ using System; -using System.Linq; -using System.IO; -using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; +using System.Linq; +using System.IO; using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.ComponentModel.DataAnnotations; @@ -29,7 +29,7 @@ namespace Org.OpenAPITools.Model /// Pet /// [DataContract] - public partial class Pet : IEquatable, IValidatableObject + public partial class Pet : IEquatable, IValidatableObject { /// /// pet status in the store @@ -62,7 +62,7 @@ namespace Org.OpenAPITools.Model /// pet status in the store /// /// pet status in the store - [DataMember(Name="status", EmitDefaultValue=false)] + [DataMember(Name = "status", EmitDefaultValue = false)] public StatusEnum? Status { get; set; } /// /// Initializes a new instance of the class. @@ -93,31 +93,31 @@ namespace Org.OpenAPITools.Model /// /// Gets or Sets Id /// - [DataMember(Name="id", EmitDefaultValue=false)] + [DataMember(Name = "id", EmitDefaultValue = false)] public long Id { get; set; } /// /// Gets or Sets Category /// - [DataMember(Name="category", EmitDefaultValue=false)] + [DataMember(Name = "category", EmitDefaultValue = false)] public Category Category { get; set; } /// /// Gets or Sets Name /// - [DataMember(Name="name", EmitDefaultValue=false)] + [DataMember(Name = "name", EmitDefaultValue = false)] public string Name { get; set; } /// /// Gets or Sets PhotoUrls /// - [DataMember(Name="photoUrls", EmitDefaultValue=false)] + [DataMember(Name = "photoUrls", EmitDefaultValue = false)] public List PhotoUrls { get; set; } /// /// Gets or Sets Tags /// - [DataMember(Name="tags", EmitDefaultValue=false)] + [DataMember(Name = "tags", EmitDefaultValue = false)] public List Tags { get; set; } /// diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/ReadOnlyFirst.cs b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/ReadOnlyFirst.cs index 9b873c62ff3..5edc2b02656 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/ReadOnlyFirst.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/ReadOnlyFirst.cs @@ -9,14 +9,14 @@ using System; -using System.Linq; -using System.IO; -using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; +using System.Linq; +using System.IO; using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.ComponentModel.DataAnnotations; @@ -29,7 +29,7 @@ namespace Org.OpenAPITools.Model /// ReadOnlyFirst /// [DataContract] - public partial class ReadOnlyFirst : IEquatable, IValidatableObject + public partial class ReadOnlyFirst : IEquatable, IValidatableObject { /// /// Initializes a new instance of the class. @@ -43,13 +43,13 @@ namespace Org.OpenAPITools.Model /// /// Gets or Sets Bar /// - [DataMember(Name="bar", EmitDefaultValue=false)] + [DataMember(Name = "bar", EmitDefaultValue = false)] public string Bar { get; private set; } /// /// Gets or Sets Baz /// - [DataMember(Name="baz", EmitDefaultValue=false)] + [DataMember(Name = "baz", EmitDefaultValue = false)] public string Baz { get; set; } /// diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/Return.cs b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/Return.cs index 6fa75241602..883f4e75415 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/Return.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/Return.cs @@ -9,14 +9,14 @@ using System; -using System.Linq; -using System.IO; -using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; +using System.Linq; +using System.IO; using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.ComponentModel.DataAnnotations; @@ -29,7 +29,7 @@ namespace Org.OpenAPITools.Model /// Model for testing reserved words /// [DataContract] - public partial class Return : IEquatable, IValidatableObject + public partial class Return : IEquatable, IValidatableObject { /// /// Initializes a new instance of the class. @@ -43,7 +43,7 @@ namespace Org.OpenAPITools.Model /// /// Gets or Sets _Return /// - [DataMember(Name="return", EmitDefaultValue=false)] + [DataMember(Name = "return", EmitDefaultValue = false)] public int _Return { get; set; } /// diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/SpecialModelName.cs b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/SpecialModelName.cs index 1d3bc1f9ea4..977390b2718 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/SpecialModelName.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/SpecialModelName.cs @@ -9,14 +9,14 @@ using System; -using System.Linq; -using System.IO; -using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; +using System.Linq; +using System.IO; using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.ComponentModel.DataAnnotations; @@ -29,7 +29,7 @@ namespace Org.OpenAPITools.Model /// SpecialModelName /// [DataContract] - public partial class SpecialModelName : IEquatable, IValidatableObject + public partial class SpecialModelName : IEquatable, IValidatableObject { /// /// Initializes a new instance of the class. @@ -43,7 +43,7 @@ namespace Org.OpenAPITools.Model /// /// Gets or Sets SpecialPropertyName /// - [DataMember(Name="$special[property.name]", EmitDefaultValue=false)] + [DataMember(Name = "$special[property.name]", EmitDefaultValue = false)] public long SpecialPropertyName { get; set; } /// diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/Tag.cs b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/Tag.cs index 46e3e32bd07..52d221a4b4b 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/Tag.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/Tag.cs @@ -9,14 +9,14 @@ using System; -using System.Linq; -using System.IO; -using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; +using System.Linq; +using System.IO; using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.ComponentModel.DataAnnotations; @@ -29,7 +29,7 @@ namespace Org.OpenAPITools.Model /// Tag /// [DataContract] - public partial class Tag : IEquatable, IValidatableObject + public partial class Tag : IEquatable, IValidatableObject { /// /// Initializes a new instance of the class. @@ -45,13 +45,13 @@ namespace Org.OpenAPITools.Model /// /// Gets or Sets Id /// - [DataMember(Name="id", EmitDefaultValue=false)] + [DataMember(Name = "id", EmitDefaultValue = false)] public long Id { get; set; } /// /// Gets or Sets Name /// - [DataMember(Name="name", EmitDefaultValue=false)] + [DataMember(Name = "name", EmitDefaultValue = false)] public string Name { get; set; } /// diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/User.cs b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/User.cs index 4eff5b81d6b..806c09e8b14 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/User.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/User.cs @@ -9,14 +9,14 @@ using System; -using System.Linq; -using System.IO; -using System.Text; -using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; +using System.Linq; +using System.IO; using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.ComponentModel.DataAnnotations; @@ -29,7 +29,7 @@ namespace Org.OpenAPITools.Model /// User /// [DataContract] - public partial class User : IEquatable, IValidatableObject + public partial class User : IEquatable, IValidatableObject { /// /// Initializes a new instance of the class. @@ -57,50 +57,50 @@ namespace Org.OpenAPITools.Model /// /// Gets or Sets Id /// - [DataMember(Name="id", EmitDefaultValue=false)] + [DataMember(Name = "id", EmitDefaultValue = false)] public long Id { get; set; } /// /// Gets or Sets Username /// - [DataMember(Name="username", EmitDefaultValue=false)] + [DataMember(Name = "username", EmitDefaultValue = false)] public string Username { get; set; } /// /// Gets or Sets FirstName /// - [DataMember(Name="firstName", EmitDefaultValue=false)] + [DataMember(Name = "firstName", EmitDefaultValue = false)] public string FirstName { get; set; } /// /// Gets or Sets LastName /// - [DataMember(Name="lastName", EmitDefaultValue=false)] + [DataMember(Name = "lastName", EmitDefaultValue = false)] public string LastName { get; set; } /// /// Gets or Sets Email /// - [DataMember(Name="email", EmitDefaultValue=false)] + [DataMember(Name = "email", EmitDefaultValue = false)] public string Email { get; set; } /// /// Gets or Sets Password /// - [DataMember(Name="password", EmitDefaultValue=false)] + [DataMember(Name = "password", EmitDefaultValue = false)] public string Password { get; set; } /// /// Gets or Sets Phone /// - [DataMember(Name="phone", EmitDefaultValue=false)] + [DataMember(Name = "phone", EmitDefaultValue = false)] public string Phone { get; set; } /// /// User Status /// /// User Status - [DataMember(Name="userStatus", EmitDefaultValue=false)] + [DataMember(Name = "userStatus", EmitDefaultValue = false)] public int UserStatus { get; set; } ///