From d34c6b22397311fc48645e3574b6bd196fecaf3f Mon Sep 17 00:00:00 2001 From: HavenDV Date: Wed, 23 Oct 2024 02:42:43 +0400 Subject: [PATCH] fix: Fixed latest commit. --- src/libs/AutoSDK/Sources/Sources.Authorizations.cs | 5 +++-- .../NewtonsoftJson/_#G.Api.Constructors.Bearer.g.verified.cs | 5 +++-- .../SystemTextJson/_#G.Api.Constructors.Bearer.g.verified.cs | 5 +++-- .../NewtonsoftJson/_#G.Api.Constructors..g.verified.cs | 5 +++-- .../SystemTextJson/_#G.Api.Constructors..g.verified.cs | 5 +++-- .../NewtonsoftJson/_#G.Api.Constructors..g.verified.cs | 5 +++-- .../SystemTextJson/_#G.Api.Constructors..g.verified.cs | 5 +++-- .../NewtonsoftJson/_#G.Api.Constructors.Bearer.g.verified.cs | 5 +++-- .../SystemTextJson/_#G.Api.Constructors.Bearer.g.verified.cs | 5 +++-- .../NewtonsoftJson/_#G.Api.Constructors.Bearer.g.verified.cs | 5 +++-- .../SystemTextJson/_#G.Api.Constructors.Bearer.g.verified.cs | 5 +++-- .../_#G.OpenAiClient.Constructors.Bearer.g.verified.cs | 5 +++-- .../_#G.OpenAiClient.Constructors.Bearer.g.verified.cs | 5 +++-- .../NewtonsoftJson/_#G.Api.Constructors.Bearer.g.verified.cs | 5 +++-- .../SystemTextJson/_#G.Api.Constructors.Bearer.g.verified.cs | 5 +++-- .../NewtonsoftJson/_#G.Api.Constructors..g.verified.cs | 5 +++-- .../SystemTextJson/_#G.Api.Constructors..g.verified.cs | 5 +++-- .../NewtonsoftJson/_#G.Api.Constructors..g.verified.cs | 5 +++-- .../SystemTextJson/_#G.Api.Constructors..g.verified.cs | 5 +++-- .../NewtonsoftJson/_#G.Api.Constructors..g.verified.cs | 5 +++-- .../SystemTextJson/_#G.Api.Constructors..g.verified.cs | 5 +++-- .../NewtonsoftJson/_#G.Api.Constructors.Bearer.g.verified.cs | 5 +++-- .../SystemTextJson/_#G.Api.Constructors.Bearer.g.verified.cs | 5 +++-- .../NewtonsoftJson/_#G.Api.Constructors.Bearer.g.verified.cs | 5 +++-- .../SystemTextJson/_#G.Api.Constructors.Bearer.g.verified.cs | 5 +++-- .../NewtonsoftJson/_#G.Api.Constructors.Bearer.g.verified.cs | 5 +++-- .../SystemTextJson/_#G.Api.Constructors.Bearer.g.verified.cs | 5 +++-- .../NewtonsoftJson/_#G.Api.Constructors..g.verified.cs | 5 +++-- .../SystemTextJson/_#G.Api.Constructors..g.verified.cs | 5 +++-- 29 files changed, 87 insertions(+), 58 deletions(-) diff --git a/src/libs/AutoSDK/Sources/Sources.Authorizations.cs b/src/libs/AutoSDK/Sources/Sources.Authorizations.cs index f2209639bd..39f70cda1c 100644 --- a/src/libs/AutoSDK/Sources/Sources.Authorizations.cs +++ b/src/libs/AutoSDK/Sources/Sources.Authorizations.cs @@ -147,13 +147,14 @@ namespace {authorization.Settings.Namespace} {{ public sealed partial class {authorization.Settings.ClassName} {{ - /// + /// public {authorization.Settings.ClassName}( {string.Join("\n", authorization.Parameters.Select(x => $@" string {x},"))} global::System.Net.Http.HttpClient? httpClient = null, global::System.Uri? baseUri = null, - global::System.Collections.Generic.List? authorizations = null) : this(httpClient, baseUri, authorizations) + global::System.Collections.Generic.List? authorizations = null, + bool disposeHttpClient = true) : this(httpClient, baseUri, authorizations, disposeHttpClient) {{ Authorizing(HttpClient, {string.Join(", ", authorization.Parameters.Select(x => $"ref {x}"))}); diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.Api.Constructors.Bearer.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.Api.Constructors.Bearer.g.verified.cs index fb41d96195..0ba28d99ea 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.Api.Constructors.Bearer.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.Api.Constructors.Bearer.g.verified.cs @@ -6,12 +6,13 @@ namespace G { public sealed partial class Api { - /// + /// public Api( string apiKey, global::System.Net.Http.HttpClient? httpClient = null, global::System.Uri? baseUri = null, - global::System.Collections.Generic.List? authorizations = null) : this(httpClient, baseUri, authorizations) + global::System.Collections.Generic.List? authorizations = null, + bool disposeHttpClient = true) : this(httpClient, baseUri, authorizations, disposeHttpClient) { Authorizing(HttpClient, ref apiKey); diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.Api.Constructors.Bearer.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.Api.Constructors.Bearer.g.verified.cs index fb41d96195..0ba28d99ea 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.Api.Constructors.Bearer.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.Api.Constructors.Bearer.g.verified.cs @@ -6,12 +6,13 @@ namespace G { public sealed partial class Api { - /// + /// public Api( string apiKey, global::System.Net.Http.HttpClient? httpClient = null, global::System.Uri? baseUri = null, - global::System.Collections.Generic.List? authorizations = null) : this(httpClient, baseUri, authorizations) + global::System.Collections.Generic.List? authorizations = null, + bool disposeHttpClient = true) : this(httpClient, baseUri, authorizations, disposeHttpClient) { Authorizing(HttpClient, ref apiKey); diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Anthropic/NewtonsoftJson/_#G.Api.Constructors..g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Anthropic/NewtonsoftJson/_#G.Api.Constructors..g.verified.cs index 886d20fc86..7458bae613 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Anthropic/NewtonsoftJson/_#G.Api.Constructors..g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Anthropic/NewtonsoftJson/_#G.Api.Constructors..g.verified.cs @@ -6,12 +6,13 @@ namespace G { public sealed partial class Api { - /// + /// public Api( string apiKey, global::System.Net.Http.HttpClient? httpClient = null, global::System.Uri? baseUri = null, - global::System.Collections.Generic.List? authorizations = null) : this(httpClient, baseUri, authorizations) + global::System.Collections.Generic.List? authorizations = null, + bool disposeHttpClient = true) : this(httpClient, baseUri, authorizations, disposeHttpClient) { Authorizing(HttpClient, ref apiKey); diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Anthropic/SystemTextJson/_#G.Api.Constructors..g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Anthropic/SystemTextJson/_#G.Api.Constructors..g.verified.cs index 886d20fc86..7458bae613 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Anthropic/SystemTextJson/_#G.Api.Constructors..g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Anthropic/SystemTextJson/_#G.Api.Constructors..g.verified.cs @@ -6,12 +6,13 @@ namespace G { public sealed partial class Api { - /// + /// public Api( string apiKey, global::System.Net.Http.HttpClient? httpClient = null, global::System.Uri? baseUri = null, - global::System.Collections.Generic.List? authorizations = null) : this(httpClient, baseUri, authorizations) + global::System.Collections.Generic.List? authorizations = null, + bool disposeHttpClient = true) : this(httpClient, baseUri, authorizations, disposeHttpClient) { Authorizing(HttpClient, ref apiKey); diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/NewtonsoftJson/_#G.Api.Constructors..g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/NewtonsoftJson/_#G.Api.Constructors..g.verified.cs index 886d20fc86..7458bae613 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/NewtonsoftJson/_#G.Api.Constructors..g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/NewtonsoftJson/_#G.Api.Constructors..g.verified.cs @@ -6,12 +6,13 @@ namespace G { public sealed partial class Api { - /// + /// public Api( string apiKey, global::System.Net.Http.HttpClient? httpClient = null, global::System.Uri? baseUri = null, - global::System.Collections.Generic.List? authorizations = null) : this(httpClient, baseUri, authorizations) + global::System.Collections.Generic.List? authorizations = null, + bool disposeHttpClient = true) : this(httpClient, baseUri, authorizations, disposeHttpClient) { Authorizing(HttpClient, ref apiKey); diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/SystemTextJson/_#G.Api.Constructors..g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/SystemTextJson/_#G.Api.Constructors..g.verified.cs index 886d20fc86..7458bae613 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/SystemTextJson/_#G.Api.Constructors..g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/SystemTextJson/_#G.Api.Constructors..g.verified.cs @@ -6,12 +6,13 @@ namespace G { public sealed partial class Api { - /// + /// public Api( string apiKey, global::System.Net.Http.HttpClient? httpClient = null, global::System.Uri? baseUri = null, - global::System.Collections.Generic.List? authorizations = null) : this(httpClient, baseUri, authorizations) + global::System.Collections.Generic.List? authorizations = null, + bool disposeHttpClient = true) : this(httpClient, baseUri, authorizations, disposeHttpClient) { Authorizing(HttpClient, ref apiKey); diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.Api.Constructors.Bearer.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.Api.Constructors.Bearer.g.verified.cs index fb41d96195..0ba28d99ea 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.Api.Constructors.Bearer.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.Api.Constructors.Bearer.g.verified.cs @@ -6,12 +6,13 @@ namespace G { public sealed partial class Api { - /// + /// public Api( string apiKey, global::System.Net.Http.HttpClient? httpClient = null, global::System.Uri? baseUri = null, - global::System.Collections.Generic.List? authorizations = null) : this(httpClient, baseUri, authorizations) + global::System.Collections.Generic.List? authorizations = null, + bool disposeHttpClient = true) : this(httpClient, baseUri, authorizations, disposeHttpClient) { Authorizing(HttpClient, ref apiKey); diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.Api.Constructors.Bearer.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.Api.Constructors.Bearer.g.verified.cs index fb41d96195..0ba28d99ea 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.Api.Constructors.Bearer.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.Api.Constructors.Bearer.g.verified.cs @@ -6,12 +6,13 @@ namespace G { public sealed partial class Api { - /// + /// public Api( string apiKey, global::System.Net.Http.HttpClient? httpClient = null, global::System.Uri? baseUri = null, - global::System.Collections.Generic.List? authorizations = null) : this(httpClient, baseUri, authorizations) + global::System.Collections.Generic.List? authorizations = null, + bool disposeHttpClient = true) : this(httpClient, baseUri, authorizations, disposeHttpClient) { Authorizing(HttpClient, ref apiKey); diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.Api.Constructors.Bearer.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.Api.Constructors.Bearer.g.verified.cs index fb41d96195..0ba28d99ea 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.Api.Constructors.Bearer.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.Api.Constructors.Bearer.g.verified.cs @@ -6,12 +6,13 @@ namespace G { public sealed partial class Api { - /// + /// public Api( string apiKey, global::System.Net.Http.HttpClient? httpClient = null, global::System.Uri? baseUri = null, - global::System.Collections.Generic.List? authorizations = null) : this(httpClient, baseUri, authorizations) + global::System.Collections.Generic.List? authorizations = null, + bool disposeHttpClient = true) : this(httpClient, baseUri, authorizations, disposeHttpClient) { Authorizing(HttpClient, ref apiKey); diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.Api.Constructors.Bearer.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.Api.Constructors.Bearer.g.verified.cs index fb41d96195..0ba28d99ea 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.Api.Constructors.Bearer.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.Api.Constructors.Bearer.g.verified.cs @@ -6,12 +6,13 @@ namespace G { public sealed partial class Api { - /// + /// public Api( string apiKey, global::System.Net.Http.HttpClient? httpClient = null, global::System.Uri? baseUri = null, - global::System.Collections.Generic.List? authorizations = null) : this(httpClient, baseUri, authorizations) + global::System.Collections.Generic.List? authorizations = null, + bool disposeHttpClient = true) : this(httpClient, baseUri, authorizations, disposeHttpClient) { Authorizing(HttpClient, ref apiKey); diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.OpenAiClient.Constructors.Bearer.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.OpenAiClient.Constructors.Bearer.g.verified.cs index 9662e3844b..0227bb27b8 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.OpenAiClient.Constructors.Bearer.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.OpenAiClient.Constructors.Bearer.g.verified.cs @@ -6,12 +6,13 @@ namespace G { public sealed partial class OpenAiClient { - /// + /// public OpenAiClient( string apiKey, global::System.Net.Http.HttpClient? httpClient = null, global::System.Uri? baseUri = null, - global::System.Collections.Generic.List? authorizations = null) : this(httpClient, baseUri, authorizations) + global::System.Collections.Generic.List? authorizations = null, + bool disposeHttpClient = true) : this(httpClient, baseUri, authorizations, disposeHttpClient) { Authorizing(HttpClient, ref apiKey); diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.OpenAiClient.Constructors.Bearer.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.OpenAiClient.Constructors.Bearer.g.verified.cs index 9662e3844b..0227bb27b8 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.OpenAiClient.Constructors.Bearer.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.OpenAiClient.Constructors.Bearer.g.verified.cs @@ -6,12 +6,13 @@ namespace G { public sealed partial class OpenAiClient { - /// + /// public OpenAiClient( string apiKey, global::System.Net.Http.HttpClient? httpClient = null, global::System.Uri? baseUri = null, - global::System.Collections.Generic.List? authorizations = null) : this(httpClient, baseUri, authorizations) + global::System.Collections.Generic.List? authorizations = null, + bool disposeHttpClient = true) : this(httpClient, baseUri, authorizations, disposeHttpClient) { Authorizing(HttpClient, ref apiKey); diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.Api.Constructors.Bearer.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.Api.Constructors.Bearer.g.verified.cs index fb41d96195..0ba28d99ea 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.Api.Constructors.Bearer.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.Api.Constructors.Bearer.g.verified.cs @@ -6,12 +6,13 @@ namespace G { public sealed partial class Api { - /// + /// public Api( string apiKey, global::System.Net.Http.HttpClient? httpClient = null, global::System.Uri? baseUri = null, - global::System.Collections.Generic.List? authorizations = null) : this(httpClient, baseUri, authorizations) + global::System.Collections.Generic.List? authorizations = null, + bool disposeHttpClient = true) : this(httpClient, baseUri, authorizations, disposeHttpClient) { Authorizing(HttpClient, ref apiKey); diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.Api.Constructors.Bearer.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.Api.Constructors.Bearer.g.verified.cs index fb41d96195..0ba28d99ea 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.Api.Constructors.Bearer.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.Api.Constructors.Bearer.g.verified.cs @@ -6,12 +6,13 @@ namespace G { public sealed partial class Api { - /// + /// public Api( string apiKey, global::System.Net.Http.HttpClient? httpClient = null, global::System.Uri? baseUri = null, - global::System.Collections.Generic.List? authorizations = null) : this(httpClient, baseUri, authorizations) + global::System.Collections.Generic.List? authorizations = null, + bool disposeHttpClient = true) : this(httpClient, baseUri, authorizations, disposeHttpClient) { Authorizing(HttpClient, ref apiKey); diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/google-gemini/NewtonsoftJson/_#G.Api.Constructors..g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/google-gemini/NewtonsoftJson/_#G.Api.Constructors..g.verified.cs index 3c86505242..54f8d98675 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/google-gemini/NewtonsoftJson/_#G.Api.Constructors..g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/google-gemini/NewtonsoftJson/_#G.Api.Constructors..g.verified.cs @@ -6,12 +6,13 @@ namespace G { public sealed partial class Api { - /// + /// public Api( string apiKey, global::System.Net.Http.HttpClient? httpClient = null, global::System.Uri? baseUri = null, - global::System.Collections.Generic.List? authorizations = null) : this(httpClient, baseUri, authorizations) + global::System.Collections.Generic.List? authorizations = null, + bool disposeHttpClient = true) : this(httpClient, baseUri, authorizations, disposeHttpClient) { Authorizing(HttpClient, ref apiKey); diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/google-gemini/SystemTextJson/_#G.Api.Constructors..g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/google-gemini/SystemTextJson/_#G.Api.Constructors..g.verified.cs index 3c86505242..54f8d98675 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/google-gemini/SystemTextJson/_#G.Api.Constructors..g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/google-gemini/SystemTextJson/_#G.Api.Constructors..g.verified.cs @@ -6,12 +6,13 @@ namespace G { public sealed partial class Api { - /// + /// public Api( string apiKey, global::System.Net.Http.HttpClient? httpClient = null, global::System.Uri? baseUri = null, - global::System.Collections.Generic.List? authorizations = null) : this(httpClient, baseUri, authorizations) + global::System.Collections.Generic.List? authorizations = null, + bool disposeHttpClient = true) : this(httpClient, baseUri, authorizations, disposeHttpClient) { Authorizing(HttpClient, ref apiKey); diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.Api.Constructors..g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.Api.Constructors..g.verified.cs index 886d20fc86..7458bae613 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.Api.Constructors..g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.Api.Constructors..g.verified.cs @@ -6,12 +6,13 @@ namespace G { public sealed partial class Api { - /// + /// public Api( string apiKey, global::System.Net.Http.HttpClient? httpClient = null, global::System.Uri? baseUri = null, - global::System.Collections.Generic.List? authorizations = null) : this(httpClient, baseUri, authorizations) + global::System.Collections.Generic.List? authorizations = null, + bool disposeHttpClient = true) : this(httpClient, baseUri, authorizations, disposeHttpClient) { Authorizing(HttpClient, ref apiKey); diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.Api.Constructors..g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.Api.Constructors..g.verified.cs index 886d20fc86..7458bae613 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.Api.Constructors..g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.Api.Constructors..g.verified.cs @@ -6,12 +6,13 @@ namespace G { public sealed partial class Api { - /// + /// public Api( string apiKey, global::System.Net.Http.HttpClient? httpClient = null, global::System.Uri? baseUri = null, - global::System.Collections.Generic.List? authorizations = null) : this(httpClient, baseUri, authorizations) + global::System.Collections.Generic.List? authorizations = null, + bool disposeHttpClient = true) : this(httpClient, baseUri, authorizations, disposeHttpClient) { Authorizing(HttpClient, ref apiKey); diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/ideogram/NewtonsoftJson/_#G.Api.Constructors..g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/ideogram/NewtonsoftJson/_#G.Api.Constructors..g.verified.cs index 886d20fc86..7458bae613 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/ideogram/NewtonsoftJson/_#G.Api.Constructors..g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/ideogram/NewtonsoftJson/_#G.Api.Constructors..g.verified.cs @@ -6,12 +6,13 @@ namespace G { public sealed partial class Api { - /// + /// public Api( string apiKey, global::System.Net.Http.HttpClient? httpClient = null, global::System.Uri? baseUri = null, - global::System.Collections.Generic.List? authorizations = null) : this(httpClient, baseUri, authorizations) + global::System.Collections.Generic.List? authorizations = null, + bool disposeHttpClient = true) : this(httpClient, baseUri, authorizations, disposeHttpClient) { Authorizing(HttpClient, ref apiKey); diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/ideogram/SystemTextJson/_#G.Api.Constructors..g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/ideogram/SystemTextJson/_#G.Api.Constructors..g.verified.cs index 886d20fc86..7458bae613 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/ideogram/SystemTextJson/_#G.Api.Constructors..g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/ideogram/SystemTextJson/_#G.Api.Constructors..g.verified.cs @@ -6,12 +6,13 @@ namespace G { public sealed partial class Api { - /// + /// public Api( string apiKey, global::System.Net.Http.HttpClient? httpClient = null, global::System.Uri? baseUri = null, - global::System.Collections.Generic.List? authorizations = null) : this(httpClient, baseUri, authorizations) + global::System.Collections.Generic.List? authorizations = null, + bool disposeHttpClient = true) : this(httpClient, baseUri, authorizations, disposeHttpClient) { Authorizing(HttpClient, ref apiKey); diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/instill/NewtonsoftJson/_#G.Api.Constructors.Bearer.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/instill/NewtonsoftJson/_#G.Api.Constructors.Bearer.g.verified.cs index fb41d96195..0ba28d99ea 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/instill/NewtonsoftJson/_#G.Api.Constructors.Bearer.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/instill/NewtonsoftJson/_#G.Api.Constructors.Bearer.g.verified.cs @@ -6,12 +6,13 @@ namespace G { public sealed partial class Api { - /// + /// public Api( string apiKey, global::System.Net.Http.HttpClient? httpClient = null, global::System.Uri? baseUri = null, - global::System.Collections.Generic.List? authorizations = null) : this(httpClient, baseUri, authorizations) + global::System.Collections.Generic.List? authorizations = null, + bool disposeHttpClient = true) : this(httpClient, baseUri, authorizations, disposeHttpClient) { Authorizing(HttpClient, ref apiKey); diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/instill/SystemTextJson/_#G.Api.Constructors.Bearer.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/instill/SystemTextJson/_#G.Api.Constructors.Bearer.g.verified.cs index fb41d96195..0ba28d99ea 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/instill/SystemTextJson/_#G.Api.Constructors.Bearer.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/instill/SystemTextJson/_#G.Api.Constructors.Bearer.g.verified.cs @@ -6,12 +6,13 @@ namespace G { public sealed partial class Api { - /// + /// public Api( string apiKey, global::System.Net.Http.HttpClient? httpClient = null, global::System.Uri? baseUri = null, - global::System.Collections.Generic.List? authorizations = null) : this(httpClient, baseUri, authorizations) + global::System.Collections.Generic.List? authorizations = null, + bool disposeHttpClient = true) : this(httpClient, baseUri, authorizations, disposeHttpClient) { Authorizing(HttpClient, ref apiKey); diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/mistral/NewtonsoftJson/_#G.Api.Constructors.Bearer.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/mistral/NewtonsoftJson/_#G.Api.Constructors.Bearer.g.verified.cs index fb41d96195..0ba28d99ea 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/mistral/NewtonsoftJson/_#G.Api.Constructors.Bearer.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/mistral/NewtonsoftJson/_#G.Api.Constructors.Bearer.g.verified.cs @@ -6,12 +6,13 @@ namespace G { public sealed partial class Api { - /// + /// public Api( string apiKey, global::System.Net.Http.HttpClient? httpClient = null, global::System.Uri? baseUri = null, - global::System.Collections.Generic.List? authorizations = null) : this(httpClient, baseUri, authorizations) + global::System.Collections.Generic.List? authorizations = null, + bool disposeHttpClient = true) : this(httpClient, baseUri, authorizations, disposeHttpClient) { Authorizing(HttpClient, ref apiKey); diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/mistral/SystemTextJson/_#G.Api.Constructors.Bearer.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/mistral/SystemTextJson/_#G.Api.Constructors.Bearer.g.verified.cs index fb41d96195..0ba28d99ea 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/mistral/SystemTextJson/_#G.Api.Constructors.Bearer.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/mistral/SystemTextJson/_#G.Api.Constructors.Bearer.g.verified.cs @@ -6,12 +6,13 @@ namespace G { public sealed partial class Api { - /// + /// public Api( string apiKey, global::System.Net.Http.HttpClient? httpClient = null, global::System.Uri? baseUri = null, - global::System.Collections.Generic.List? authorizations = null) : this(httpClient, baseUri, authorizations) + global::System.Collections.Generic.List? authorizations = null, + bool disposeHttpClient = true) : this(httpClient, baseUri, authorizations, disposeHttpClient) { Authorizing(HttpClient, ref apiKey); diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/runway/NewtonsoftJson/_#G.Api.Constructors.Bearer.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/runway/NewtonsoftJson/_#G.Api.Constructors.Bearer.g.verified.cs index fb41d96195..0ba28d99ea 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/runway/NewtonsoftJson/_#G.Api.Constructors.Bearer.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/runway/NewtonsoftJson/_#G.Api.Constructors.Bearer.g.verified.cs @@ -6,12 +6,13 @@ namespace G { public sealed partial class Api { - /// + /// public Api( string apiKey, global::System.Net.Http.HttpClient? httpClient = null, global::System.Uri? baseUri = null, - global::System.Collections.Generic.List? authorizations = null) : this(httpClient, baseUri, authorizations) + global::System.Collections.Generic.List? authorizations = null, + bool disposeHttpClient = true) : this(httpClient, baseUri, authorizations, disposeHttpClient) { Authorizing(HttpClient, ref apiKey); diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/runway/SystemTextJson/_#G.Api.Constructors.Bearer.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/runway/SystemTextJson/_#G.Api.Constructors.Bearer.g.verified.cs index fb41d96195..0ba28d99ea 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/runway/SystemTextJson/_#G.Api.Constructors.Bearer.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/runway/SystemTextJson/_#G.Api.Constructors.Bearer.g.verified.cs @@ -6,12 +6,13 @@ namespace G { public sealed partial class Api { - /// + /// public Api( string apiKey, global::System.Net.Http.HttpClient? httpClient = null, global::System.Uri? baseUri = null, - global::System.Collections.Generic.List? authorizations = null) : this(httpClient, baseUri, authorizations) + global::System.Collections.Generic.List? authorizations = null, + bool disposeHttpClient = true) : this(httpClient, baseUri, authorizations, disposeHttpClient) { Authorizing(HttpClient, ref apiKey); diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/vectara/NewtonsoftJson/_#G.Api.Constructors..g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/vectara/NewtonsoftJson/_#G.Api.Constructors..g.verified.cs index 886d20fc86..7458bae613 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/vectara/NewtonsoftJson/_#G.Api.Constructors..g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/vectara/NewtonsoftJson/_#G.Api.Constructors..g.verified.cs @@ -6,12 +6,13 @@ namespace G { public sealed partial class Api { - /// + /// public Api( string apiKey, global::System.Net.Http.HttpClient? httpClient = null, global::System.Uri? baseUri = null, - global::System.Collections.Generic.List? authorizations = null) : this(httpClient, baseUri, authorizations) + global::System.Collections.Generic.List? authorizations = null, + bool disposeHttpClient = true) : this(httpClient, baseUri, authorizations, disposeHttpClient) { Authorizing(HttpClient, ref apiKey); diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/vectara/SystemTextJson/_#G.Api.Constructors..g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/vectara/SystemTextJson/_#G.Api.Constructors..g.verified.cs index 886d20fc86..7458bae613 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/vectara/SystemTextJson/_#G.Api.Constructors..g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/vectara/SystemTextJson/_#G.Api.Constructors..g.verified.cs @@ -6,12 +6,13 @@ namespace G { public sealed partial class Api { - /// + /// public Api( string apiKey, global::System.Net.Http.HttpClient? httpClient = null, global::System.Uri? baseUri = null, - global::System.Collections.Generic.List? authorizations = null) : this(httpClient, baseUri, authorizations) + global::System.Collections.Generic.List? authorizations = null, + bool disposeHttpClient = true) : this(httpClient, baseUri, authorizations, disposeHttpClient) { Authorizing(HttpClient, ref apiKey);