From 95186b01da7a16d079079db91298a7cd8c3aedf4 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 20 Oct 2026 19:13:19 +0000 Subject: [PATCH] feat: Updated OpenAPI spec --- src/libs/DeepL/Generated/DeepL.AdminApiClient.g.cs | 4 ++-- src/libs/DeepL/Generated/DeepL.CorrectTextClient.g.cs | 4 ++-- src/libs/DeepL/Generated/DeepL.DeepLClient.g.cs | 4 ++-- src/libs/DeepL/Generated/DeepL.ManageGlossariesClient.g.cs | 4 ++-- .../Generated/DeepL.ManageMultilingualGlossariesClient.g.cs | 4 ++-- src/libs/DeepL/Generated/DeepL.ManageSpokenTermsClient.g.cs | 4 ++-- src/libs/DeepL/Generated/DeepL.ManageStyleProfilesClient.g.cs | 4 ++-- src/libs/DeepL/Generated/DeepL.MetaInformationClient.g.cs | 4 ++-- src/libs/DeepL/Generated/DeepL.QualityEvaluationClient.g.cs | 4 ++-- src/libs/DeepL/Generated/DeepL.RephraseTextClient.g.cs | 4 ++-- src/libs/DeepL/Generated/DeepL.TranslateDocumentsClient.g.cs | 4 ++-- src/libs/DeepL/Generated/DeepL.TranslateTextClient.g.cs | 4 ++-- src/libs/DeepL/Generated/DeepL.TranslationMemoriesClient.g.cs | 4 ++-- src/libs/DeepL/Generated/DeepL.VoiceAPIClient.g.cs | 4 ++-- src/libs/DeepL/Generated/DeepL.VoiceTranslateJobClient.g.cs | 4 ++-- 15 files changed, 30 insertions(+), 30 deletions(-) diff --git a/src/libs/DeepL/Generated/DeepL.AdminApiClient.g.cs b/src/libs/DeepL/Generated/DeepL.AdminApiClient.g.cs index 175b8ed..e25ea46 100644 --- a/src/libs/DeepL/Generated/DeepL.AdminApiClient.g.cs +++ b/src/libs/DeepL/Generated/DeepL.AdminApiClient.g.cs @@ -38,14 +38,14 @@ public sealed partial class AdminApiClient : global::DeepL.IAdminApiClient, glob internal global::DeepL.AutoSDKServerConfiguration AutoSDKServerConfiguration { get; set; } = new global::DeepL.AutoSDKServerConfiguration(); - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::DeepL.AdminApiSourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::DeepL.AdminApiSourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/DeepL/Generated/DeepL.CorrectTextClient.g.cs b/src/libs/DeepL/Generated/DeepL.CorrectTextClient.g.cs index 4563f17..090c297 100644 --- a/src/libs/DeepL/Generated/DeepL.CorrectTextClient.g.cs +++ b/src/libs/DeepL/Generated/DeepL.CorrectTextClient.g.cs @@ -39,14 +39,14 @@ public sealed partial class CorrectTextClient : global::DeepL.ICorrectTextClient internal global::DeepL.AutoSDKServerConfiguration AutoSDKServerConfiguration { get; set; } = new global::DeepL.AutoSDKServerConfiguration(); - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::DeepL.CorrectTextSourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::DeepL.CorrectTextSourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/DeepL/Generated/DeepL.DeepLClient.g.cs b/src/libs/DeepL/Generated/DeepL.DeepLClient.g.cs index 0410cec..b02a341 100644 --- a/src/libs/DeepL/Generated/DeepL.DeepLClient.g.cs +++ b/src/libs/DeepL/Generated/DeepL.DeepLClient.g.cs @@ -39,14 +39,14 @@ public sealed partial class DeepLClient : global::DeepL.IDeepLClient, global::Sy internal global::DeepL.AutoSDKServerConfiguration AutoSDKServerConfiguration { get; set; } = new global::DeepL.AutoSDKServerConfiguration(); - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::DeepL.SourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::DeepL.SourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/DeepL/Generated/DeepL.ManageGlossariesClient.g.cs b/src/libs/DeepL/Generated/DeepL.ManageGlossariesClient.g.cs index 3b077ac..ab4771b 100644 --- a/src/libs/DeepL/Generated/DeepL.ManageGlossariesClient.g.cs +++ b/src/libs/DeepL/Generated/DeepL.ManageGlossariesClient.g.cs @@ -44,14 +44,14 @@ public sealed partial class ManageGlossariesClient : global::DeepL.IManageGlossa internal global::DeepL.AutoSDKServerConfiguration AutoSDKServerConfiguration { get; set; } = new global::DeepL.AutoSDKServerConfiguration(); - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::DeepL.ManageGlossariesSourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::DeepL.ManageGlossariesSourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/DeepL/Generated/DeepL.ManageMultilingualGlossariesClient.g.cs b/src/libs/DeepL/Generated/DeepL.ManageMultilingualGlossariesClient.g.cs index ef5b117..6e0dcf8 100644 --- a/src/libs/DeepL/Generated/DeepL.ManageMultilingualGlossariesClient.g.cs +++ b/src/libs/DeepL/Generated/DeepL.ManageMultilingualGlossariesClient.g.cs @@ -53,14 +53,14 @@ public sealed partial class ManageMultilingualGlossariesClient : global::DeepL.I internal global::DeepL.AutoSDKServerConfiguration AutoSDKServerConfiguration { get; set; } = new global::DeepL.AutoSDKServerConfiguration(); - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::DeepL.ManageMultilingualGlossariesSourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::DeepL.ManageMultilingualGlossariesSourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/DeepL/Generated/DeepL.ManageSpokenTermsClient.g.cs b/src/libs/DeepL/Generated/DeepL.ManageSpokenTermsClient.g.cs index cf2daf3..9e01a73 100644 --- a/src/libs/DeepL/Generated/DeepL.ManageSpokenTermsClient.g.cs +++ b/src/libs/DeepL/Generated/DeepL.ManageSpokenTermsClient.g.cs @@ -42,14 +42,14 @@ public sealed partial class ManageSpokenTermsClient : global::DeepL.IManageSpoke internal global::DeepL.AutoSDKServerConfiguration AutoSDKServerConfiguration { get; set; } = new global::DeepL.AutoSDKServerConfiguration(); - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::DeepL.ManageSpokenTermsSourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::DeepL.ManageSpokenTermsSourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/DeepL/Generated/DeepL.ManageStyleProfilesClient.g.cs b/src/libs/DeepL/Generated/DeepL.ManageStyleProfilesClient.g.cs index 1b3f5c3..ebafa9e 100644 --- a/src/libs/DeepL/Generated/DeepL.ManageStyleProfilesClient.g.cs +++ b/src/libs/DeepL/Generated/DeepL.ManageStyleProfilesClient.g.cs @@ -46,14 +46,14 @@ public sealed partial class ManageStyleProfilesClient : global::DeepL.IManageSty internal global::DeepL.AutoSDKServerConfiguration AutoSDKServerConfiguration { get; set; } = new global::DeepL.AutoSDKServerConfiguration(); - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::DeepL.ManageStyleProfilesSourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::DeepL.ManageStyleProfilesSourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/DeepL/Generated/DeepL.MetaInformationClient.g.cs b/src/libs/DeepL/Generated/DeepL.MetaInformationClient.g.cs index 96f4da2..2d3984c 100644 --- a/src/libs/DeepL/Generated/DeepL.MetaInformationClient.g.cs +++ b/src/libs/DeepL/Generated/DeepL.MetaInformationClient.g.cs @@ -38,14 +38,14 @@ public sealed partial class MetaInformationClient : global::DeepL.IMetaInformati internal global::DeepL.AutoSDKServerConfiguration AutoSDKServerConfiguration { get; set; } = new global::DeepL.AutoSDKServerConfiguration(); - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::DeepL.MetaInformationSourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::DeepL.MetaInformationSourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/DeepL/Generated/DeepL.QualityEvaluationClient.g.cs b/src/libs/DeepL/Generated/DeepL.QualityEvaluationClient.g.cs index b342235..dbabb35 100644 --- a/src/libs/DeepL/Generated/DeepL.QualityEvaluationClient.g.cs +++ b/src/libs/DeepL/Generated/DeepL.QualityEvaluationClient.g.cs @@ -38,14 +38,14 @@ public sealed partial class QualityEvaluationClient : global::DeepL.IQualityEval internal global::DeepL.AutoSDKServerConfiguration AutoSDKServerConfiguration { get; set; } = new global::DeepL.AutoSDKServerConfiguration(); - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::DeepL.QualityEvaluationSourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::DeepL.QualityEvaluationSourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/DeepL/Generated/DeepL.RephraseTextClient.g.cs b/src/libs/DeepL/Generated/DeepL.RephraseTextClient.g.cs index d3835ce..a3a4d73 100644 --- a/src/libs/DeepL/Generated/DeepL.RephraseTextClient.g.cs +++ b/src/libs/DeepL/Generated/DeepL.RephraseTextClient.g.cs @@ -38,14 +38,14 @@ public sealed partial class RephraseTextClient : global::DeepL.IRephraseTextClie internal global::DeepL.AutoSDKServerConfiguration AutoSDKServerConfiguration { get; set; } = new global::DeepL.AutoSDKServerConfiguration(); - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::DeepL.RephraseTextSourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::DeepL.RephraseTextSourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/DeepL/Generated/DeepL.TranslateDocumentsClient.g.cs b/src/libs/DeepL/Generated/DeepL.TranslateDocumentsClient.g.cs index c354d78..6a1defa 100644 --- a/src/libs/DeepL/Generated/DeepL.TranslateDocumentsClient.g.cs +++ b/src/libs/DeepL/Generated/DeepL.TranslateDocumentsClient.g.cs @@ -62,14 +62,14 @@ public sealed partial class TranslateDocumentsClient : global::DeepL.ITranslateD internal global::DeepL.AutoSDKServerConfiguration AutoSDKServerConfiguration { get; set; } = new global::DeepL.AutoSDKServerConfiguration(); - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::DeepL.TranslateDocumentsSourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::DeepL.TranslateDocumentsSourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/DeepL/Generated/DeepL.TranslateTextClient.g.cs b/src/libs/DeepL/Generated/DeepL.TranslateTextClient.g.cs index e70a95d..b77d7e0 100644 --- a/src/libs/DeepL/Generated/DeepL.TranslateTextClient.g.cs +++ b/src/libs/DeepL/Generated/DeepL.TranslateTextClient.g.cs @@ -38,14 +38,14 @@ public sealed partial class TranslateTextClient : global::DeepL.ITranslateTextCl internal global::DeepL.AutoSDKServerConfiguration AutoSDKServerConfiguration { get; set; } = new global::DeepL.AutoSDKServerConfiguration(); - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::DeepL.TranslateTextSourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::DeepL.TranslateTextSourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/DeepL/Generated/DeepL.TranslationMemoriesClient.g.cs b/src/libs/DeepL/Generated/DeepL.TranslationMemoriesClient.g.cs index 563d14c..bd9a5d4 100644 --- a/src/libs/DeepL/Generated/DeepL.TranslationMemoriesClient.g.cs +++ b/src/libs/DeepL/Generated/DeepL.TranslationMemoriesClient.g.cs @@ -48,14 +48,14 @@ public sealed partial class TranslationMemoriesClient : global::DeepL.ITranslati internal global::DeepL.AutoSDKServerConfiguration AutoSDKServerConfiguration { get; set; } = new global::DeepL.AutoSDKServerConfiguration(); - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::DeepL.TranslationMemoriesSourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::DeepL.TranslationMemoriesSourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/DeepL/Generated/DeepL.VoiceAPIClient.g.cs b/src/libs/DeepL/Generated/DeepL.VoiceAPIClient.g.cs index 400a442..287a607 100644 --- a/src/libs/DeepL/Generated/DeepL.VoiceAPIClient.g.cs +++ b/src/libs/DeepL/Generated/DeepL.VoiceAPIClient.g.cs @@ -39,14 +39,14 @@ public sealed partial class VoiceAPIClient : global::DeepL.IVoiceAPIClient, glob internal global::DeepL.AutoSDKServerConfiguration AutoSDKServerConfiguration { get; set; } = new global::DeepL.AutoSDKServerConfiguration(); - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::DeepL.VoiceAPISourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::DeepL.VoiceAPISourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/DeepL/Generated/DeepL.VoiceTranslateJobClient.g.cs b/src/libs/DeepL/Generated/DeepL.VoiceTranslateJobClient.g.cs index d547454..d188052 100644 --- a/src/libs/DeepL/Generated/DeepL.VoiceTranslateJobClient.g.cs +++ b/src/libs/DeepL/Generated/DeepL.VoiceTranslateJobClient.g.cs @@ -38,14 +38,14 @@ public sealed partial class VoiceTranslateJobClient : global::DeepL.IVoiceTransl internal global::DeepL.AutoSDKServerConfiguration AutoSDKServerConfiguration { get; set; } = new global::DeepL.AutoSDKServerConfiguration(); - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::DeepL.VoiceTranslateJobSourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::DeepL.VoiceTranslateJobSourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); }