Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
#nullable enable

namespace Weave
{
public partial interface IRegistryClient
{
/// <summary>
/// Link To Registry
/// </summary>
/// <param name="request"></param>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Weave.ApiException"></exception>
global::System.Threading.Tasks.Task<global::Weave.CreateAndLinkWeaveAssetRes> LinkToRegistryLinkToRegistryPostAsync(

global::Weave.CreateAndLinkPayload request,
global::Weave.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
/// Link To Registry
/// </summary>
/// <param name="ref"></param>
/// <param name="target"></param>
/// <param name="aliases">
/// Default Value: []
/// </param>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
global::System.Threading.Tasks.Task<global::Weave.CreateAndLinkWeaveAssetRes> LinkToRegistryLinkToRegistryPostAsync(
string @ref,
global::Weave.CreateAndLinkTarget target,
global::System.Collections.Generic.IList<string>? aliases = default,
global::Weave.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
}
48 changes: 48 additions & 0 deletions src/libs/Weave/Generated/Weave.IRegistryClient.g.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@

#nullable enable

namespace Weave
{
/// <summary>
/// If no httpClient is provided, a new one will be created.<br/>
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used.
/// </summary>
public partial interface IRegistryClient : global::System.IDisposable
{
/// <summary>
/// The HttpClient instance.
/// </summary>
public global::System.Net.Http.HttpClient HttpClient { get; }

/// <summary>
/// The base URL for the API.
/// </summary>
public System.Uri? BaseUri { get; }

/// <summary>
/// The authorizations to use for the requests.
/// </summary>
public global::System.Collections.Generic.List<global::Weave.EndPointAuthorization> Authorizations { get; }

/// <summary>
/// Gets or sets a value indicating whether the response content should be read as a string.
/// True by default in debug builds, false otherwise.
/// When false, successful responses are deserialized directly from the response stream for better performance.
/// Error responses are always read as strings regardless of this setting,
/// ensuring <see cref="ApiException.ResponseBody"/> is populated.
/// </summary>
public bool ReadResponseAsString { get; set; }
/// <summary>
/// Client-wide request defaults such as headers, query parameters, retries, and timeout.
/// </summary>
public global::Weave.AutoSDKClientOptions Options { get; }


/// <summary>
///
/// </summary>
global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; }


}
}
5 changes: 5 additions & 0 deletions src/libs/Weave/Generated/Weave.IWeaveClient.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,11 @@ public partial interface IWeaveClient : global::System.IDisposable
/// </summary>
public RefsClient Refs { get; }

/// <summary>
///
/// </summary>
public RegistryClient Registry { get; }

/// <summary>
///
/// </summary>
Expand Down
3 changes: 3 additions & 0 deletions src/libs/Weave/Generated/Weave.JsonSerializerContext.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,9 @@ namespace Weave
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Weave.CostQueryReq))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Weave.CostQueryRes))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList<global::Weave.CostQueryOutput>))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Weave.CreateAndLinkPayload))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Weave.CreateAndLinkTarget))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Weave.CreateAndLinkWeaveAssetRes))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Weave.Datacenter))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Weave.DatasetCreateBody))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Weave.DatasetCreateRes))]
Expand Down
Loading