Skip to content

Commit d5756ad

Browse files
Merge pull request #27 from tryAGI/bot/update-openapi_202408291223
feat:@coderabbitai
2 parents d3c2117 + 8379fb8 commit d5756ad

2 files changed

Lines changed: 14 additions & 0 deletions

File tree

src/libs/Replicate/Generated/Replicate.ReplicateApi.Constructors.Bearer.g.cs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,17 @@ public ReplicateApi(
1111
global::System.Net.Http.HttpClient? httpClient = null,
1212
global::System.Uri? baseUri = null) : this(httpClient, baseUri)
1313
{
14+
Authorizing(_httpClient, ref apiKey);
15+
1416
AuthorizeUsingBearer(apiKey);
17+
18+
Authorized(_httpClient);
1519
}
20+
21+
partial void Authorizing(
22+
global::System.Net.Http.HttpClient client,
23+
ref string apiKey);
24+
partial void Authorized(
25+
global::System.Net.Http.HttpClient client);
1626
}
1727
}

src/libs/Replicate/Generated/Replicate.ReplicateApi.g.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ public ReplicateApi(
3232
{
3333
_httpClient = httpClient ?? new global::System.Net.Http.HttpClient();
3434
_httpClient.BaseAddress ??= baseUri ?? new global::System.Uri(BaseUrl);
35+
36+
Initialized(_httpClient);
3537
}
3638

3739
/// <inheritdoc/>
@@ -40,6 +42,8 @@ public void Dispose()
4042
_httpClient.Dispose();
4143
}
4244

45+
partial void Initialized(
46+
global::System.Net.Http.HttpClient client);
4347
partial void PrepareArguments(
4448
global::System.Net.Http.HttpClient client);
4549
partial void PrepareRequest(

0 commit comments

Comments
 (0)