From dbe4a50fd0752ef103fdbed1f374efddca66f5a6 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sun, 6 Sep 2026 22:44:41 +0000 Subject: [PATCH] feat: Updated OpenAPI spec --- ...bleSessionRequestCustomLLMConfig.Json.g.cs | 141 ------------------ ...igurableSessionRequestCustomLLMConfig.g.cs | 19 --- 2 files changed, 160 deletions(-) delete mode 100644 src/libs/Simli/Generated/Simli.Models.ConfigurableSessionRequestCustomLLMConfig.Json.g.cs delete mode 100644 src/libs/Simli/Generated/Simli.Models.ConfigurableSessionRequestCustomLLMConfig.g.cs diff --git a/src/libs/Simli/Generated/Simli.Models.ConfigurableSessionRequestCustomLLMConfig.Json.g.cs b/src/libs/Simli/Generated/Simli.Models.ConfigurableSessionRequestCustomLLMConfig.Json.g.cs deleted file mode 100644 index 83049cb..0000000 --- a/src/libs/Simli/Generated/Simli.Models.ConfigurableSessionRequestCustomLLMConfig.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace Simli -{ - public sealed partial class ConfigurableSessionRequestCustomLLMConfig - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::Simli.SourceGenerationContext.Default); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::Simli.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Simli.ConfigurableSessionRequestCustomLLMConfig? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Simli.ConfigurableSessionRequestCustomLLMConfig), - jsonSerializerContext) as global::Simli.ConfigurableSessionRequestCustomLLMConfig; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::Simli.ConfigurableSessionRequestCustomLLMConfig? FromJson( - string json) - { - return FromJson( - json, - global::Simli.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Simli.ConfigurableSessionRequestCustomLLMConfig? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::Simli.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Simli.ConfigurableSessionRequestCustomLLMConfig), - jsonSerializerContext).ConfigureAwait(false)) as global::Simli.ConfigurableSessionRequestCustomLLMConfig; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::Simli.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::Simli.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Simli/Generated/Simli.Models.ConfigurableSessionRequestCustomLLMConfig.g.cs b/src/libs/Simli/Generated/Simli.Models.ConfigurableSessionRequestCustomLLMConfig.g.cs deleted file mode 100644 index 08596e9..0000000 --- a/src/libs/Simli/Generated/Simli.Models.ConfigurableSessionRequestCustomLLMConfig.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace Simli -{ - /// - /// - /// - public sealed partial class ConfigurableSessionRequestCustomLLMConfig - { - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - } -} \ No newline at end of file