diff --git a/connect/dotnet/src/Trinsic.Connect/Client/ApiClient.cs b/connect/dotnet/src/Trinsic.Connect/Client/ApiClient.cs index f2458cabe..c7ea9ba3b 100644 --- a/connect/dotnet/src/Trinsic.Connect/Client/ApiClient.cs +++ b/connect/dotnet/src/Trinsic.Connect/Client/ApiClient.cs @@ -384,7 +384,7 @@ private HttpRequestMessage NewRequest( } } } - + _ = new List>(); string contentType = null; diff --git a/connect/dotnet/src/Trinsic.Connect/Client/Configuration.cs b/connect/dotnet/src/Trinsic.Connect/Client/Configuration.cs index 53c0c9299..2f31dbdce 100644 --- a/connect/dotnet/src/Trinsic.Connect/Client/Configuration.cs +++ b/connect/dotnet/src/Trinsic.Connect/Client/Configuration.cs @@ -362,10 +362,7 @@ public virtual string DateTimeFormat public virtual IDictionary ApiKeyPrefix { get => _apiKeyPrefix; - set - { - _apiKeyPrefix = value ?? throw new InvalidOperationException("ApiKeyPrefix collection may not be null."); - } + set => _apiKeyPrefix = value ?? throw new InvalidOperationException("ApiKeyPrefix collection may not be null."); } /// @@ -375,10 +372,7 @@ public virtual IDictionary ApiKeyPrefix public virtual IDictionary ApiKey { get => _apiKey; - set - { - _apiKey = value ?? throw new InvalidOperationException("ApiKey collection may not be null."); - } + set => _apiKey = value ?? throw new InvalidOperationException("ApiKey collection may not be null."); } /// @@ -388,10 +382,7 @@ public virtual IDictionary ApiKey public virtual IList> Servers { get => _servers; - set - { - _servers = value ?? throw new InvalidOperationException("Servers may not be null."); - } + set => _servers = value ?? throw new InvalidOperationException("Servers may not be null."); } /// @@ -401,10 +392,7 @@ public virtual IList> Servers public virtual IReadOnlyDictionary>> OperationServers { get => _operationServers; - set - { - _operationServers = value ?? throw new InvalidOperationException("Operation servers may not be null."); - } + set => _operationServers = value ?? throw new InvalidOperationException("Operation servers may not be null."); } /// diff --git a/connect/dotnet/src/Trinsic.Connect/Client/RequestOptions.cs b/connect/dotnet/src/Trinsic.Connect/Client/RequestOptions.cs index 2d28d36fc..ddbdc1fba 100644 --- a/connect/dotnet/src/Trinsic.Connect/Client/RequestOptions.cs +++ b/connect/dotnet/src/Trinsic.Connect/Client/RequestOptions.cs @@ -7,7 +7,6 @@ * Generated by: https://github.com/openapitools/openapi-generator.git */ -using System; using System.Collections.Generic; using System.Net; diff --git a/connect/dotnet/src/Trinsic.Connect/Model/AbstractOpenAPISchema.cs b/connect/dotnet/src/Trinsic.Connect/Model/AbstractOpenAPISchema.cs index efa5f5189..01bdb50fc 100644 --- a/connect/dotnet/src/Trinsic.Connect/Model/AbstractOpenAPISchema.cs +++ b/connect/dotnet/src/Trinsic.Connect/Model/AbstractOpenAPISchema.cs @@ -7,7 +7,6 @@ * Generated by: https://github.com/openapitools/openapi-generator.git */ -using System; using Newtonsoft.Json; using Newtonsoft.Json.Serialization;