From 55a2eb4b18d7ccee2da2cf81aa0af4bab2f27719 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Thu, 29 Aug 2024 12:31:44 +0000 Subject: [PATCH] feat: Updated OpenAPI spec --- .../DeepInfra.DeepInfraApi.Constructors.Bearer.g.cs | 10 ++++++++++ .../DeepInfra/Generated/DeepInfra.DeepInfraApi.g.cs | 4 ++++ 2 files changed, 14 insertions(+) diff --git a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.Constructors.Bearer.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.Constructors.Bearer.g.cs index df17c33..1290055 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.Constructors.Bearer.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.Constructors.Bearer.g.cs @@ -11,7 +11,17 @@ public DeepInfraApi( global::System.Net.Http.HttpClient? httpClient = null, global::System.Uri? baseUri = null) : this(httpClient, baseUri) { + Authorizing(_httpClient, ref apiKey); + AuthorizeUsingBearer(apiKey); + + Authorized(_httpClient); } + + partial void Authorizing( + global::System.Net.Http.HttpClient client, + ref string apiKey); + partial void Authorized( + global::System.Net.Http.HttpClient client); } } \ No newline at end of file diff --git a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.g.cs index 3b5eca4..b8e0e65 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.g.cs @@ -31,6 +31,8 @@ public DeepInfraApi( { _httpClient = httpClient ?? new global::System.Net.Http.HttpClient(); _httpClient.BaseAddress ??= baseUri ?? new global::System.Uri(BaseUrl); + + Initialized(_httpClient); } /// @@ -39,6 +41,8 @@ public void Dispose() _httpClient.Dispose(); } + partial void Initialized( + global::System.Net.Http.HttpClient client); partial void PrepareArguments( global::System.Net.Http.HttpClient client); partial void PrepareRequest(