From 9274b9534c5b720e0f633a7caaa4109b26db10d4 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Fri, 14 Aug 2026 15:50:17 +0000 Subject: [PATCH] feat: Updated OpenAPI spec --- .../ThreeDAIStudio.AccountClient.g.cs | 9 +++++++- .../ThreeDAIStudio.HunyuanClient.g.cs | 9 +++++++- .../Generated/ThreeDAIStudio.TasksClient.g.cs | 9 +++++++- .../ThreeDAIStudio.ThreeDAIStudioClient.g.cs | 21 ++++++++++++------- .../Generated/ThreeDAIStudio.ToolsClient.g.cs | 9 +++++++- .../ThreeDAIStudio.TrellisClient.g.cs | 9 +++++++- .../Generated/ThreeDAIStudio.TripoClient.g.cs | 9 +++++++- 7 files changed, 62 insertions(+), 13 deletions(-) diff --git a/src/libs/ThreeDAIStudio/Generated/ThreeDAIStudio.AccountClient.g.cs b/src/libs/ThreeDAIStudio/Generated/ThreeDAIStudio.AccountClient.g.cs index a891ab2..12a71c4 100644 --- a/src/libs/ThreeDAIStudio/Generated/ThreeDAIStudio.AccountClient.g.cs +++ b/src/libs/ThreeDAIStudio/Generated/ThreeDAIStudio.AccountClient.g.cs @@ -33,10 +33,17 @@ public sealed partial class AccountClient : global::ThreeDAIStudio.IAccountClien /// public global::ThreeDAIStudio.AutoSDKClientOptions Options { get; } + + internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::ThreeDAIStudio.SourceGenerationContext.Default); + /// /// /// - public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } = global::ThreeDAIStudio.SourceGenerationContext.Default; + public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext + { + get => JsonSerializerContextProvider.Value; + set => JsonSerializerContextProvider = new(() => value); + } /// diff --git a/src/libs/ThreeDAIStudio/Generated/ThreeDAIStudio.HunyuanClient.g.cs b/src/libs/ThreeDAIStudio/Generated/ThreeDAIStudio.HunyuanClient.g.cs index a0c0716..53a4919 100644 --- a/src/libs/ThreeDAIStudio/Generated/ThreeDAIStudio.HunyuanClient.g.cs +++ b/src/libs/ThreeDAIStudio/Generated/ThreeDAIStudio.HunyuanClient.g.cs @@ -33,10 +33,17 @@ public sealed partial class HunyuanClient : global::ThreeDAIStudio.IHunyuanClien /// public global::ThreeDAIStudio.AutoSDKClientOptions Options { get; } + + internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::ThreeDAIStudio.SourceGenerationContext.Default); + /// /// /// - public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } = global::ThreeDAIStudio.SourceGenerationContext.Default; + public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext + { + get => JsonSerializerContextProvider.Value; + set => JsonSerializerContextProvider = new(() => value); + } /// diff --git a/src/libs/ThreeDAIStudio/Generated/ThreeDAIStudio.TasksClient.g.cs b/src/libs/ThreeDAIStudio/Generated/ThreeDAIStudio.TasksClient.g.cs index 4ae4ae6..753ccf3 100644 --- a/src/libs/ThreeDAIStudio/Generated/ThreeDAIStudio.TasksClient.g.cs +++ b/src/libs/ThreeDAIStudio/Generated/ThreeDAIStudio.TasksClient.g.cs @@ -33,10 +33,17 @@ public sealed partial class TasksClient : global::ThreeDAIStudio.ITasksClient, g /// public global::ThreeDAIStudio.AutoSDKClientOptions Options { get; } + + internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::ThreeDAIStudio.SourceGenerationContext.Default); + /// /// /// - public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } = global::ThreeDAIStudio.SourceGenerationContext.Default; + public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext + { + get => JsonSerializerContextProvider.Value; + set => JsonSerializerContextProvider = new(() => value); + } /// diff --git a/src/libs/ThreeDAIStudio/Generated/ThreeDAIStudio.ThreeDAIStudioClient.g.cs b/src/libs/ThreeDAIStudio/Generated/ThreeDAIStudio.ThreeDAIStudioClient.g.cs index 229cd59..07b7a9a 100644 --- a/src/libs/ThreeDAIStudio/Generated/ThreeDAIStudio.ThreeDAIStudioClient.g.cs +++ b/src/libs/ThreeDAIStudio/Generated/ThreeDAIStudio.ThreeDAIStudioClient.g.cs @@ -39,10 +39,17 @@ public sealed partial class ThreeDAIStudioClient : global::ThreeDAIStudio.IThree /// public global::ThreeDAIStudio.AutoSDKClientOptions Options { get; } + + internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::ThreeDAIStudio.SourceGenerationContext.Default); + /// /// /// - public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } = global::ThreeDAIStudio.SourceGenerationContext.Default; + public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext + { + get => JsonSerializerContextProvider.Value; + set => JsonSerializerContextProvider = new(() => value); + } /// @@ -51,7 +58,7 @@ public sealed partial class ThreeDAIStudioClient : global::ThreeDAIStudio.IThree public AccountClient Account => new AccountClient(HttpClient, baseUri: null, authorizations: Authorizations, options: Options) { ReadResponseAsString = ReadResponseAsString, - JsonSerializerContext = JsonSerializerContext, + JsonSerializerContextProvider = JsonSerializerContextProvider, }; /// @@ -60,7 +67,7 @@ public sealed partial class ThreeDAIStudioClient : global::ThreeDAIStudio.IThree public HunyuanClient Hunyuan => new HunyuanClient(HttpClient, baseUri: null, authorizations: Authorizations, options: Options) { ReadResponseAsString = ReadResponseAsString, - JsonSerializerContext = JsonSerializerContext, + JsonSerializerContextProvider = JsonSerializerContextProvider, }; /// @@ -69,7 +76,7 @@ public sealed partial class ThreeDAIStudioClient : global::ThreeDAIStudio.IThree public TasksClient Tasks => new TasksClient(HttpClient, baseUri: null, authorizations: Authorizations, options: Options) { ReadResponseAsString = ReadResponseAsString, - JsonSerializerContext = JsonSerializerContext, + JsonSerializerContextProvider = JsonSerializerContextProvider, }; /// @@ -78,7 +85,7 @@ public sealed partial class ThreeDAIStudioClient : global::ThreeDAIStudio.IThree public ToolsClient Tools => new ToolsClient(HttpClient, baseUri: null, authorizations: Authorizations, options: Options) { ReadResponseAsString = ReadResponseAsString, - JsonSerializerContext = JsonSerializerContext, + JsonSerializerContextProvider = JsonSerializerContextProvider, }; /// @@ -87,7 +94,7 @@ public sealed partial class ThreeDAIStudioClient : global::ThreeDAIStudio.IThree public TrellisClient Trellis => new TrellisClient(HttpClient, baseUri: null, authorizations: Authorizations, options: Options) { ReadResponseAsString = ReadResponseAsString, - JsonSerializerContext = JsonSerializerContext, + JsonSerializerContextProvider = JsonSerializerContextProvider, }; /// @@ -96,7 +103,7 @@ public sealed partial class ThreeDAIStudioClient : global::ThreeDAIStudio.IThree public TripoClient Tripo => new TripoClient(HttpClient, baseUri: null, authorizations: Authorizations, options: Options) { ReadResponseAsString = ReadResponseAsString, - JsonSerializerContext = JsonSerializerContext, + JsonSerializerContextProvider = JsonSerializerContextProvider, }; /// diff --git a/src/libs/ThreeDAIStudio/Generated/ThreeDAIStudio.ToolsClient.g.cs b/src/libs/ThreeDAIStudio/Generated/ThreeDAIStudio.ToolsClient.g.cs index d706b67..9d3626f 100644 --- a/src/libs/ThreeDAIStudio/Generated/ThreeDAIStudio.ToolsClient.g.cs +++ b/src/libs/ThreeDAIStudio/Generated/ThreeDAIStudio.ToolsClient.g.cs @@ -33,10 +33,17 @@ public sealed partial class ToolsClient : global::ThreeDAIStudio.IToolsClient, g /// public global::ThreeDAIStudio.AutoSDKClientOptions Options { get; } + + internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::ThreeDAIStudio.SourceGenerationContext.Default); + /// /// /// - public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } = global::ThreeDAIStudio.SourceGenerationContext.Default; + public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext + { + get => JsonSerializerContextProvider.Value; + set => JsonSerializerContextProvider = new(() => value); + } /// diff --git a/src/libs/ThreeDAIStudio/Generated/ThreeDAIStudio.TrellisClient.g.cs b/src/libs/ThreeDAIStudio/Generated/ThreeDAIStudio.TrellisClient.g.cs index 7e35993..3cc004d 100644 --- a/src/libs/ThreeDAIStudio/Generated/ThreeDAIStudio.TrellisClient.g.cs +++ b/src/libs/ThreeDAIStudio/Generated/ThreeDAIStudio.TrellisClient.g.cs @@ -33,10 +33,17 @@ public sealed partial class TrellisClient : global::ThreeDAIStudio.ITrellisClien /// public global::ThreeDAIStudio.AutoSDKClientOptions Options { get; } + + internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::ThreeDAIStudio.SourceGenerationContext.Default); + /// /// /// - public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } = global::ThreeDAIStudio.SourceGenerationContext.Default; + public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext + { + get => JsonSerializerContextProvider.Value; + set => JsonSerializerContextProvider = new(() => value); + } /// diff --git a/src/libs/ThreeDAIStudio/Generated/ThreeDAIStudio.TripoClient.g.cs b/src/libs/ThreeDAIStudio/Generated/ThreeDAIStudio.TripoClient.g.cs index dac5301..2976329 100644 --- a/src/libs/ThreeDAIStudio/Generated/ThreeDAIStudio.TripoClient.g.cs +++ b/src/libs/ThreeDAIStudio/Generated/ThreeDAIStudio.TripoClient.g.cs @@ -33,10 +33,17 @@ public sealed partial class TripoClient : global::ThreeDAIStudio.ITripoClient, g /// public global::ThreeDAIStudio.AutoSDKClientOptions Options { get; } + + internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::ThreeDAIStudio.SourceGenerationContext.Default); + /// /// /// - public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } = global::ThreeDAIStudio.SourceGenerationContext.Default; + public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext + { + get => JsonSerializerContextProvider.Value; + set => JsonSerializerContextProvider = new(() => value); + } ///