Skip to content

Commit

Permalink
Merge pull request #43 from tryAGI/bot/update-openapi_202408291231
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored Aug 29, 2024
2 parents 075209b + 55a2eb4 commit dec8bc1
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
4 changes: 4 additions & 0 deletions src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ public DeepInfraApi(
{
_httpClient = httpClient ?? new global::System.Net.Http.HttpClient();
_httpClient.BaseAddress ??= baseUri ?? new global::System.Uri(BaseUrl);

Initialized(_httpClient);
}

/// <inheritdoc/>
Expand All @@ -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(
Expand Down

0 comments on commit dec8bc1

Please sign in to comment.