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(