Skip to content

Commit e8f44ae

Browse files
author
github-actions[bot]
committed
feat: Updated OpenAPI spec
1 parent 90cea25 commit e8f44ae

56 files changed

Lines changed: 12887 additions & 8636 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/Jina/Generated/Jina.BatchEmbeddingsClient.CancelABatchJob.g.cs

Lines changed: 651 additions & 468 deletions
Large diffs are not rendered by default.

src/libs/Jina/Generated/Jina.BatchEmbeddingsClient.CreateABatchEmbeddingJob.g.cs

Lines changed: 661 additions & 475 deletions
Large diffs are not rendered by default.

src/libs/Jina/Generated/Jina.BatchEmbeddingsClient.DownloadBatchJobErrorFile.g.cs

Lines changed: 647 additions & 464 deletions
Large diffs are not rendered by default.

src/libs/Jina/Generated/Jina.BatchEmbeddingsClient.DownloadBatchJobOutput.g.cs

Lines changed: 647 additions & 464 deletions
Large diffs are not rendered by default.

src/libs/Jina/Generated/Jina.BatchEmbeddingsClient.GetBatchJobStatus.g.cs

Lines changed: 651 additions & 468 deletions
Large diffs are not rendered by default.

src/libs/Jina/Generated/Jina.BatchEmbeddingsClient.ListBatchJobs.g.cs

Lines changed: 654 additions & 471 deletions
Large diffs are not rendered by default.

src/libs/Jina/Generated/Jina.BatchEmbeddingsClient.g.cs

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ public sealed partial class BatchEmbeddingsClient : global::Jina.IBatchEmbedding
3636
#if DEBUG
3737
= true;
3838
#endif
39+
40+
/// <inheritdoc/>
41+
public global::Jina.AutoSDKClientOptions Options { get; }
3942
/// <summary>
4043
///
4144
/// </summary>
@@ -55,11 +58,37 @@ public BatchEmbeddingsClient(
5558
global::System.Net.Http.HttpClient? httpClient = null,
5659
global::System.Uri? baseUri = null,
5760
global::System.Collections.Generic.List<global::Jina.EndPointAuthorization>? authorizations = null,
61+
bool disposeHttpClient = true) : this(
62+
httpClient,
63+
baseUri,
64+
authorizations,
65+
options: null,
66+
disposeHttpClient: disposeHttpClient)
67+
{
68+
}
69+
70+
/// <summary>
71+
/// Creates a new instance of the BatchEmbeddingsClient.
72+
/// If no httpClient is provided, a new one will be created.
73+
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used.
74+
/// </summary>
75+
/// <param name="httpClient">The HttpClient instance. If not provided, a new one will be created.</param>
76+
/// <param name="baseUri">The base URL for the API. If not provided, the default baseUri from OpenAPI spec will be used.</param>
77+
/// <param name="authorizations">The authorizations to use for the requests.</param>
78+
/// <param name="options">Client-wide request defaults such as headers, query parameters, retries, and timeout.</param>
79+
/// <param name="disposeHttpClient">Dispose the HttpClient when the instance is disposed. True by default.</param>
80+
public BatchEmbeddingsClient(
81+
global::System.Net.Http.HttpClient? httpClient = null,
82+
global::System.Uri? baseUri = null,
83+
global::System.Collections.Generic.List<global::Jina.EndPointAuthorization>? authorizations = null,
84+
global::Jina.AutoSDKClientOptions? options = null,
5885
bool disposeHttpClient = true)
5986
{
87+
6088
HttpClient = httpClient ?? new global::System.Net.Http.HttpClient();
6189
HttpClient.BaseAddress ??= baseUri ?? new global::System.Uri(DefaultBaseUrl);
6290
Authorizations = authorizations ?? new global::System.Collections.Generic.List<global::Jina.EndPointAuthorization>();
91+
Options = options ?? new global::Jina.AutoSDKClientOptions();
6392
_disposeHttpClient = disposeHttpClient;
6493

6594
Initialized(HttpClient);

src/libs/Jina/Generated/Jina.HealthCheckClient.Health.g.cs

Lines changed: 608 additions & 425 deletions
Large diffs are not rendered by default.

src/libs/Jina/Generated/Jina.HealthCheckClient.Live.g.cs

Lines changed: 608 additions & 425 deletions
Large diffs are not rendered by default.

src/libs/Jina/Generated/Jina.HealthCheckClient.Ready.g.cs

Lines changed: 608 additions & 425 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)