Skip to content

Commit 12eb370

Browse files
author
github-actions[bot]
committed
feat: Updated OpenAPI spec
1 parent 97a9560 commit 12eb370

338 files changed

Lines changed: 54537 additions & 19444 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

src/libs/DeepInfra/Generated/DeepInfra.DeepInfraClient.AccountEmailValues.g.cs

Lines changed: 369 additions & 162 deletions
Large diffs are not rendered by default.

src/libs/DeepInfra/Generated/DeepInfra.DeepInfraClient.AccountGpuLimit.g.cs

Lines changed: 369 additions & 162 deletions
Large diffs are not rendered by default.

src/libs/DeepInfra/Generated/DeepInfra.DeepInfraClient.AccountRateLimit.g.cs

Lines changed: 369 additions & 162 deletions
Large diffs are not rendered by default.

src/libs/DeepInfra/Generated/DeepInfra.DeepInfraClient.AccountUpdateDetails.g.cs

Lines changed: 412 additions & 202 deletions
Large diffs are not rendered by default.

src/libs/DeepInfra/Generated/DeepInfra.DeepInfraClient.AddFunds.g.cs

Lines changed: 354 additions & 132 deletions
Large diffs are not rendered by default.

src/libs/DeepInfra/Generated/DeepInfra.DeepInfraClient.AnthropicMessages.g.cs

Lines changed: 345 additions & 135 deletions
Large diffs are not rendered by default.

src/libs/DeepInfra/Generated/DeepInfra.DeepInfraClient.AnthropicMessagesCountTokens.g.cs

Lines changed: 342 additions & 132 deletions
Large diffs are not rendered by default.

src/libs/DeepInfra/Generated/DeepInfra.DeepInfraClient.Authorizations.Bearer.g.cs

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,27 @@ namespace DeepInfra
55
{
66
public sealed partial class DeepInfraClient
77
{
8+
89
/// <inheritdoc/>
910
public void AuthorizeUsingBearer(
1011
string apiKey)
1112
{
1213
apiKey = apiKey ?? throw new global::System.ArgumentNullException(nameof(apiKey));
1314

14-
Authorizations.Clear();
15+
for (var i = Authorizations.Count - 1; i >= 0; i--)
16+
{
17+
var __authorization = Authorizations[i];
18+
if (__authorization.Type == "Http" &&
19+
__authorization.Name == "Bearer")
20+
{
21+
Authorizations.RemoveAt(i);
22+
}
23+
}
24+
1525
Authorizations.Add(new global::DeepInfra.EndPointAuthorization
1626
{
1727
Type = "Http",
28+
SchemeId = "HttpBearer",
1829
Location = "Header",
1930
Name = "Bearer",
2031
Value = apiKey,

src/libs/DeepInfra/Generated/DeepInfra.DeepInfraClient.BillingPortal.g.cs

Lines changed: 351 additions & 132 deletions
Large diffs are not rendered by default.

src/libs/DeepInfra/Generated/DeepInfra.DeepInfraClient.CliVersion.g.cs

Lines changed: 334 additions & 127 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)