From 17a60b44111e3ae800295cf380044ddb1e0c4373 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Fri, 14 Aug 2026 15:49:00 +0000 Subject: [PATCH] feat: Updated OpenAPI spec --- .../Generated/NightfallAI.FileScanningClient.g.cs | 9 ++++++++- .../Generated/NightfallAI.NightfallAIClient.g.cs | 13 ++++++++++--- .../Generated/NightfallAI.ScanningClient.g.cs | 9 ++++++++- 3 files changed, 26 insertions(+), 5 deletions(-) diff --git a/src/libs/NightfallAI/Generated/NightfallAI.FileScanningClient.g.cs b/src/libs/NightfallAI/Generated/NightfallAI.FileScanningClient.g.cs index 65dc646..985ed97 100644 --- a/src/libs/NightfallAI/Generated/NightfallAI.FileScanningClient.g.cs +++ b/src/libs/NightfallAI/Generated/NightfallAI.FileScanningClient.g.cs @@ -34,10 +34,17 @@ public sealed partial class FileScanningClient : global::NightfallAI.IFileScanni /// public global::NightfallAI.AutoSDKClientOptions Options { get; } + + internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::NightfallAI.SourceGenerationContext.Default); + /// /// /// - public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } = global::NightfallAI.SourceGenerationContext.Default; + public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext + { + get => JsonSerializerContextProvider.Value; + set => JsonSerializerContextProvider = new(() => value); + } /// diff --git a/src/libs/NightfallAI/Generated/NightfallAI.NightfallAIClient.g.cs b/src/libs/NightfallAI/Generated/NightfallAI.NightfallAIClient.g.cs index 0077984..aa76aad 100644 --- a/src/libs/NightfallAI/Generated/NightfallAI.NightfallAIClient.g.cs +++ b/src/libs/NightfallAI/Generated/NightfallAI.NightfallAIClient.g.cs @@ -35,10 +35,17 @@ public sealed partial class NightfallAIClient : global::NightfallAI.INightfallAI /// public global::NightfallAI.AutoSDKClientOptions Options { get; } + + internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::NightfallAI.SourceGenerationContext.Default); + /// /// /// - public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } = global::NightfallAI.SourceGenerationContext.Default; + public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext + { + get => JsonSerializerContextProvider.Value; + set => JsonSerializerContextProvider = new(() => value); + } /// @@ -47,7 +54,7 @@ public sealed partial class NightfallAIClient : global::NightfallAI.INightfallAI public FileScanningClient FileScanning => new FileScanningClient(HttpClient, baseUri: null, authorizations: Authorizations, options: Options) { ReadResponseAsString = ReadResponseAsString, - JsonSerializerContext = JsonSerializerContext, + JsonSerializerContextProvider = JsonSerializerContextProvider, }; /// @@ -56,7 +63,7 @@ public sealed partial class NightfallAIClient : global::NightfallAI.INightfallAI public ScanningClient Scanning => new ScanningClient(HttpClient, baseUri: null, authorizations: Authorizations, options: Options) { ReadResponseAsString = ReadResponseAsString, - JsonSerializerContext = JsonSerializerContext, + JsonSerializerContextProvider = JsonSerializerContextProvider, }; /// diff --git a/src/libs/NightfallAI/Generated/NightfallAI.ScanningClient.g.cs b/src/libs/NightfallAI/Generated/NightfallAI.ScanningClient.g.cs index 4f75e54..089772b 100644 --- a/src/libs/NightfallAI/Generated/NightfallAI.ScanningClient.g.cs +++ b/src/libs/NightfallAI/Generated/NightfallAI.ScanningClient.g.cs @@ -34,10 +34,17 @@ public sealed partial class ScanningClient : global::NightfallAI.IScanningClient /// public global::NightfallAI.AutoSDKClientOptions Options { get; } + + internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::NightfallAI.SourceGenerationContext.Default); + /// /// /// - public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } = global::NightfallAI.SourceGenerationContext.Default; + public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext + { + get => JsonSerializerContextProvider.Value; + set => JsonSerializerContextProvider = new(() => value); + } ///