diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Admin.JsonSerializerContext.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Admin.JsonSerializerContext.g.cs index 78dbdf8..55847a8 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Admin.JsonSerializerContext.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Admin.JsonSerializerContext.g.cs @@ -73,7 +73,7 @@ private AdminSourceGenerationContext(global::System.Text.Json.JsonSerializerOpti [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)] public static void AddConverters(global::System.Text.Json.JsonSerializerOptions options) { - options.Converters.Add(new global::ScrapeGraphAI.JsonConverters.AnyOfJsonConverter()); + options.Converters.Add(new global::ScrapeGraphAI.JsonConverters.AnyOfJsonConverter()); options.Converters.Add(new global::ScrapeGraphAI.JsonConverters.AnyOfJsonConverter()); options.Converters.Add(new global::ScrapeGraphAI.JsonConverters.UnixTimestampJsonConverter()); } diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.AgenticScrapper.JsonSerializerContext.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.AgenticScrapper.JsonSerializerContext.g.cs index f917349..51bf14f 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.AgenticScrapper.JsonSerializerContext.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.AgenticScrapper.JsonSerializerContext.g.cs @@ -101,7 +101,7 @@ private AgenticScrapperSourceGenerationContext(global::System.Text.Json.JsonSeri [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)] public static void AddConverters(global::System.Text.Json.JsonSerializerOptions options) { - options.Converters.Add(new global::ScrapeGraphAI.JsonConverters.AnyOfJsonConverter()); + options.Converters.Add(new global::ScrapeGraphAI.JsonConverters.AnyOfJsonConverter()); options.Converters.Add(new global::ScrapeGraphAI.JsonConverters.AnyOfJsonConverter()); options.Converters.Add(new global::ScrapeGraphAI.JsonConverters.AnyOfJsonConverter()); options.Converters.Add(new global::ScrapeGraphAI.JsonConverters.AnyOfJsonConverter()); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.AnyOf.3.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.AnyOf.3.Json.g.cs deleted file mode 100644 index add566a..0000000 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.AnyOf.3.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace ScrapeGraphAI -{ - public readonly partial struct AnyOf - { - /// - /// 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::ScrapeGraphAI.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::ScrapeGraphAI.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::ScrapeGraphAI.AnyOf? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::ScrapeGraphAI.AnyOf), - jsonSerializerContext) as global::ScrapeGraphAI.AnyOf?; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::ScrapeGraphAI.AnyOf? FromJson( - string json) - { - return FromJson( - json, - global::ScrapeGraphAI.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::ScrapeGraphAI.AnyOf? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::ScrapeGraphAI.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::ScrapeGraphAI.AnyOf), - jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.AnyOf?; - } - - /// - /// 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::ScrapeGraphAI.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::ScrapeGraphAI.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync?>( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.AnyOf.3.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.AnyOf.3.g.cs deleted file mode 100644 index 65e2d5e..0000000 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.AnyOf.3.g.cs +++ /dev/null @@ -1,377 +0,0 @@ - -#nullable enable - -namespace ScrapeGraphAI -{ - /// - /// - /// - public readonly partial struct AnyOf : global::System.IEquatable> - { - /// - /// - /// -#if NET6_0_OR_GREATER - public T1? Value1 { get; init; } -#else - public T1? Value1 { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Value1))] -#endif - public bool IsValue1 => Value1 != null; - - /// - /// - /// - public bool TryPickValue1( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out T1? value) - { - value = Value1; - return IsValue1; - } - - /// - /// - /// - public T1 PickValue1() => Value1 is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'Value1' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public T2? Value2 { get; init; } -#else - public T2? Value2 { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Value2))] -#endif - public bool IsValue2 => Value2 != null; - - /// - /// - /// - public bool TryPickValue2( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out T2? value) - { - value = Value2; - return IsValue2; - } - - /// - /// - /// - public T2 PickValue2() => Value2 is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'Value2' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public T3? Value3 { get; init; } -#else - public T3? Value3 { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Value3))] -#endif - public bool IsValue3 => Value3 != null; - - /// - /// - /// - public bool TryPickValue3( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out T3? value) - { - value = Value3; - return IsValue3; - } - - /// - /// - /// - public T3 PickValue3() => Value3 is { } value - ? value - : throw new global::System.InvalidOperationException($"Expected union variant 'Value3' but the value was {ToString()}."); - /// - /// - /// - public static implicit operator AnyOf(T1 value) => new AnyOf((T1?)value); - - /// - /// - /// - public static implicit operator T1?(AnyOf @this) => @this.Value1; - - /// - /// - /// - public AnyOf(T1? value) - { - Value1 = value; - } - - /// - /// - /// - public static AnyOf FromValue1(T1? value) => new AnyOf(value); - - /// - /// - /// - public static implicit operator AnyOf(T2 value) => new AnyOf((T2?)value); - - /// - /// - /// - public static implicit operator T2?(AnyOf @this) => @this.Value2; - - /// - /// - /// - public AnyOf(T2? value) - { - Value2 = value; - } - - /// - /// - /// - public static AnyOf FromValue2(T2? value) => new AnyOf(value); - - /// - /// - /// - public static implicit operator AnyOf(T3 value) => new AnyOf((T3?)value); - - /// - /// - /// - public static implicit operator T3?(AnyOf @this) => @this.Value3; - - /// - /// - /// - public AnyOf(T3? value) - { - Value3 = value; - } - - /// - /// - /// - public static AnyOf FromValue3(T3? value) => new AnyOf(value); - - /// - /// - /// - public AnyOf( - T1? value1, - T2? value2, - T3? value3 - ) - { - Value1 = value1; - Value2 = value2; - Value3 = value3; - } - - /// - /// - /// - public object? Object => - Value3 as object ?? - Value2 as object ?? - Value1 as object - ; - - /// - /// - /// - public override string? ToString() => - Value1?.ToString() ?? - Value2?.ToString() ?? - Value3?.ToString() - ; - - /// - /// - /// - public bool Validate() - { - return IsValue1 || IsValue2 || IsValue3; - } - - /// - /// - /// - public TResult? Match( - global::System.Func? value1 = null, - global::System.Func? value2 = null, - global::System.Func? value3 = null, - bool validate = true) - { - if (validate) - { - Validate(); - } - - if (Value1 is { } __value0 && value1 != null) - { - return value1(__value0); - } - else if (Value2 is { } __value1 && value2 != null) - { - return value2(__value1); - } - else if (Value3 is { } __value2 && value3 != null) - { - return value3(__value2); - } - - return default(TResult); - } - - /// - /// - /// - public void Match( - global::System.Action? value1 = null, - - global::System.Action? value2 = null, - - global::System.Action? value3 = null, - bool validate = true) - { - if (validate) - { - Validate(); - } - - if (Value1 is { } __value0) - { - value1?.Invoke(__value0); - } - else if (Value2 is { } __value1) - { - value2?.Invoke(__value1); - } - else if (Value3 is { } __value2) - { - value3?.Invoke(__value2); - } - } - - /// - /// - /// - public void Switch( - global::System.Action? value1 = null, - global::System.Action? value2 = null, - global::System.Action? value3 = null, - bool validate = true) - { - if (validate) - { - Validate(); - } - - if (Value1 is { } __value0) - { - value1?.Invoke(__value0); - } - else if (Value2 is { } __value1) - { - value2?.Invoke(__value1); - } - else if (Value3 is { } __value2) - { - value3?.Invoke(__value2); - } - } - - /// - /// - /// - public override int GetHashCode() - { - var fields = new object?[] - { - Value1, - typeof(T1), - Value2, - typeof(T2), - Value3, - typeof(T3), - }; - const int offset = unchecked((int)2166136261); - const int prime = 16777619; - static int HashCodeAggregator(int hashCode, object? value) => value == null - ? (hashCode ^ 0) * prime - : (hashCode ^ value.GetHashCode()) * prime; - - return global::System.Linq.Enumerable.Aggregate(fields, offset, HashCodeAggregator); - } - - /// - /// - /// - public bool Equals(AnyOf other) - { - return - global::System.Collections.Generic.EqualityComparer.Default.Equals(Value1, other.Value1) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Value2, other.Value2) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Value3, other.Value3) - ; - } - - /// - /// - /// - public static bool operator ==(AnyOf obj1, AnyOf obj2) - { - return global::System.Collections.Generic.EqualityComparer>.Default.Equals(obj1, obj2); - } - - /// - /// - /// - public static bool operator !=(AnyOf obj1, AnyOf obj2) - { - return !(obj1 == obj2); - } - - /// - /// - /// - public override bool Equals(object? obj) - { - return obj is AnyOf o && Equals(o); - } - } -} diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Crawler.JsonSerializerContext.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Crawler.JsonSerializerContext.g.cs index afe5537..0a9a960 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Crawler.JsonSerializerContext.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Crawler.JsonSerializerContext.g.cs @@ -78,7 +78,7 @@ private CrawlerSourceGenerationContext(global::System.Text.Json.JsonSerializerOp [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)] public static void AddConverters(global::System.Text.Json.JsonSerializerOptions options) { - options.Converters.Add(new global::ScrapeGraphAI.JsonConverters.AnyOfJsonConverter()); + options.Converters.Add(new global::ScrapeGraphAI.JsonConverters.AnyOfJsonConverter()); options.Converters.Add(new global::ScrapeGraphAI.JsonConverters.AnyOfJsonConverter()); options.Converters.Add(new global::ScrapeGraphAI.JsonConverters.UnixTimestampJsonConverter()); } diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.EndpointPoc.JsonSerializerContext.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.EndpointPoc.JsonSerializerContext.g.cs index e18e36a..e26587a 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.EndpointPoc.JsonSerializerContext.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.EndpointPoc.JsonSerializerContext.g.cs @@ -85,7 +85,7 @@ private EndpointPocSourceGenerationContext(global::System.Text.Json.JsonSerializ [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)] public static void AddConverters(global::System.Text.Json.JsonSerializerOptions options) { - options.Converters.Add(new global::ScrapeGraphAI.JsonConverters.AnyOfJsonConverter()); + options.Converters.Add(new global::ScrapeGraphAI.JsonConverters.AnyOfJsonConverter()); options.Converters.Add(new global::ScrapeGraphAI.JsonConverters.AnyOfJsonConverter()); options.Converters.Add(new global::ScrapeGraphAI.JsonConverters.UnixTimestampJsonConverter()); } diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Health.JsonSerializerContext.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Health.JsonSerializerContext.g.cs index 2c03209..c091af2 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Health.JsonSerializerContext.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Health.JsonSerializerContext.g.cs @@ -61,7 +61,7 @@ private HealthSourceGenerationContext(global::System.Text.Json.JsonSerializerOpt [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)] public static void AddConverters(global::System.Text.Json.JsonSerializerOptions options) { - options.Converters.Add(new global::ScrapeGraphAI.JsonConverters.AnyOfJsonConverter()); + options.Converters.Add(new global::ScrapeGraphAI.JsonConverters.AnyOfJsonConverter()); options.Converters.Add(new global::ScrapeGraphAI.JsonConverters.AnyOfJsonConverter()); options.Converters.Add(new global::ScrapeGraphAI.JsonConverters.UnixTimestampJsonConverter()); } diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.JsonConverters.AnyOf3.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.JsonConverters.AnyOf3.g.cs deleted file mode 100644 index 2f409f5..0000000 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.JsonConverters.AnyOf3.g.cs +++ /dev/null @@ -1,216 +0,0 @@ -#nullable enable - -namespace ScrapeGraphAI.JsonConverters -{ - /// - public class AnyOfJsonConverter : global::System.Text.Json.Serialization.JsonConverter> - { - /// - public override global::ScrapeGraphAI.AnyOf Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - options = options ?? throw new global::System.ArgumentNullException(nameof(options)); - var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - - - using var __jsonDocument = global::System.Text.Json.JsonDocument.ParseValue(ref reader); - var __rawJson = __jsonDocument.RootElement.GetRawText(); - var __jsonProps = new global::System.Collections.Generic.HashSet(); - if (__jsonDocument.RootElement.ValueKind == global::System.Text.Json.JsonValueKind.Object) - { - foreach (var __jsonProp in __jsonDocument.RootElement.EnumerateObject()) - { - __jsonProps.Add(__jsonProp.Name); - } - } - - var __score0 = 0; - { - var __ti = typeInfoResolver.GetTypeInfo(typeof(T1), options); - if (__ti != null && __ti.Kind == global::System.Text.Json.Serialization.Metadata.JsonTypeInfoKind.Object) - { - foreach (var __prop in __ti.Properties) - { - if (__jsonProps.Contains(__prop.Name)) __score0++; - } - } - } - var __score1 = 0; - { - var __ti = typeInfoResolver.GetTypeInfo(typeof(T2), options); - if (__ti != null && __ti.Kind == global::System.Text.Json.Serialization.Metadata.JsonTypeInfoKind.Object) - { - foreach (var __prop in __ti.Properties) - { - if (__jsonProps.Contains(__prop.Name)) __score1++; - } - } - } - var __score2 = 0; - { - var __ti = typeInfoResolver.GetTypeInfo(typeof(T3), options); - if (__ti != null && __ti.Kind == global::System.Text.Json.Serialization.Metadata.JsonTypeInfoKind.Object) - { - foreach (var __prop in __ti.Properties) - { - if (__jsonProps.Contains(__prop.Name)) __score2++; - } - } - } - var __bestScore = 0; - var __bestIndex = -1; - if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; } - if (__score1 > __bestScore) { __bestScore = __score1; __bestIndex = 1; } - if (__score2 > __bestScore) { __bestScore = __score2; __bestIndex = 2; } - - T1? value1 = default; - T2? value2 = default; - T3? value3 = default; - if (__bestIndex >= 0) - { - if (__bestIndex == 0) - { - try - { - - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T1), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T1).Name}"); - value1 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); - } - catch (global::System.Text.Json.JsonException) - { - } - catch (global::System.InvalidOperationException) - { - } - } - - else if (__bestIndex == 1) - { - try - { - - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T2).Name}"); - value2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); - } - catch (global::System.Text.Json.JsonException) - { - } - catch (global::System.InvalidOperationException) - { - } - } - - else if (__bestIndex == 2) - { - try - { - - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T3), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T3).Name}"); - value3 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); - } - catch (global::System.Text.Json.JsonException) - { - } - catch (global::System.InvalidOperationException) - { - } - } - } - - if (value1 == null && value2 == null && value3 == null) - { - try - { - - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T1), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T1).Name}"); - value1 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); - } - catch (global::System.Text.Json.JsonException) - { - } - catch (global::System.InvalidOperationException) - { - } - } - - if (value1 == null && value2 == null && value3 == null) - { - try - { - - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T2).Name}"); - value2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); - } - catch (global::System.Text.Json.JsonException) - { - } - catch (global::System.InvalidOperationException) - { - } - } - - if (value1 == null && value2 == null && value3 == null) - { - try - { - - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T3), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T3).Name}"); - value3 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); - } - catch (global::System.Text.Json.JsonException) - { - } - catch (global::System.InvalidOperationException) - { - } - } - - var __value = new global::ScrapeGraphAI.AnyOf( - value1, - - value2, - - value3 - ); - - return __value; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::ScrapeGraphAI.AnyOf value, - global::System.Text.Json.JsonSerializerOptions options) - { - options = options ?? throw new global::System.ArgumentNullException(nameof(options)); - var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - - if (value.IsValue1) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T1), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T1).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickValue1(), typeInfo); - } - else if (value.IsValue2) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T2).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickValue2(), typeInfo); - } - else if (value.IsValue3) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T3), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T3).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickValue3(), typeInfo); - } - } - } -} \ No newline at end of file diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.JsonSerializerContext.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.JsonSerializerContext.g.cs index b1d99e0..9096d21 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.JsonSerializerContext.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.JsonSerializerContext.g.cs @@ -55,7 +55,7 @@ namespace ScrapeGraphAI typeof(global::ScrapeGraphAI.JsonConverters.GetUsageTimelineV1UsageTimelineGetDaysNullableJsonConverter), - typeof(global::ScrapeGraphAI.JsonConverters.AnyOfJsonConverter), + typeof(global::ScrapeGraphAI.JsonConverters.AnyOfJsonConverter), typeof(global::ScrapeGraphAI.JsonConverters.AnyOfJsonConverter), @@ -97,7 +97,7 @@ namespace ScrapeGraphAI [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ScrapeGraphAI.SearchScraperStatus), TypeInfoPropertyName = "SearchScraperStatus2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ScrapeGraphAI.CompletedSmartscraperResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ScrapeGraphAI.SmartscraperStatus), TypeInfoPropertyName = "SmartscraperStatus2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ScrapeGraphAI.AnyOf), TypeInfoPropertyName = "AnyOfObjectStringObject2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ScrapeGraphAI.AnyOf), TypeInfoPropertyName = "AnyOfObjectString2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ScrapeGraphAI.ConditionalStep))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ScrapeGraphAI.AnyOf), TypeInfoPropertyName = "AnyOfNavigationStepActionStepExtractionStepMarkdownExtractionStepLoopStepConditionalStepSubWorkflowStepWaitStep2")] diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.JsonSerializerContextTypes.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.JsonSerializerContextTypes.g.cs index 13b879e..f3d4af3 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.JsonSerializerContextTypes.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.JsonSerializerContextTypes.g.cs @@ -133,7 +133,7 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public global::ScrapeGraphAI.AnyOf? Type25 { get; set; } + public global::ScrapeGraphAI.AnyOf? Type25 { get; set; } /// /// /// diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Markdownify.JsonSerializerContext.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Markdownify.JsonSerializerContext.g.cs index b6e20c2..d257069 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Markdownify.JsonSerializerContext.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Markdownify.JsonSerializerContext.g.cs @@ -80,7 +80,7 @@ private MarkdownifySourceGenerationContext(global::System.Text.Json.JsonSerializ [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)] public static void AddConverters(global::System.Text.Json.JsonSerializerOptions options) { - options.Converters.Add(new global::ScrapeGraphAI.JsonConverters.AnyOfJsonConverter()); + options.Converters.Add(new global::ScrapeGraphAI.JsonConverters.AnyOfJsonConverter()); options.Converters.Add(new global::ScrapeGraphAI.JsonConverters.AnyOfJsonConverter()); options.Converters.Add(new global::ScrapeGraphAI.JsonConverters.UnixTimestampJsonConverter()); options.Converters.Add(new LazyEnumJsonConverterFactory()); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CompletedSmartscraperResponse.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CompletedSmartscraperResponse.g.cs index 6e3b050..9d4bf08 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CompletedSmartscraperResponse.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CompletedSmartscraperResponse.g.cs @@ -40,8 +40,8 @@ public sealed partial class CompletedSmartscraperResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("result")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::ScrapeGraphAI.JsonConverters.AnyOfJsonConverter))] - public global::ScrapeGraphAI.AnyOf? Result { get; set; } + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::ScrapeGraphAI.JsonConverters.AnyOfJsonConverter))] + public global::ScrapeGraphAI.AnyOf? Result { get; set; } /// /// @@ -72,7 +72,7 @@ public CompletedSmartscraperResponse( global::ScrapeGraphAI.SmartscraperStatus status, string userPrompt, string? websiteUrl, - global::ScrapeGraphAI.AnyOf? result, + global::ScrapeGraphAI.AnyOf? result, string? error) { this.RequestId = requestId ?? throw new global::System.ArgumentNullException(nameof(requestId)); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Orthogonal.JsonSerializerContext.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Orthogonal.JsonSerializerContext.g.cs index 2d5e0f8..d7086af 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Orthogonal.JsonSerializerContext.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Orthogonal.JsonSerializerContext.g.cs @@ -72,7 +72,7 @@ private OrthogonalSourceGenerationContext(global::System.Text.Json.JsonSerialize [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)] public static void AddConverters(global::System.Text.Json.JsonSerializerOptions options) { - options.Converters.Add(new global::ScrapeGraphAI.JsonConverters.AnyOfJsonConverter()); + options.Converters.Add(new global::ScrapeGraphAI.JsonConverters.AnyOfJsonConverter()); options.Converters.Add(new global::ScrapeGraphAI.JsonConverters.AnyOfJsonConverter()); options.Converters.Add(new global::ScrapeGraphAI.JsonConverters.UnixTimestampJsonConverter()); } diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.ScheduledJobs.JsonSerializerContext.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.ScheduledJobs.JsonSerializerContext.g.cs index c6a7137..929576a 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.ScheduledJobs.JsonSerializerContext.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.ScheduledJobs.JsonSerializerContext.g.cs @@ -90,7 +90,7 @@ private ScheduledJobsSourceGenerationContext(global::System.Text.Json.JsonSerial [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)] public static void AddConverters(global::System.Text.Json.JsonSerializerOptions options) { - options.Converters.Add(new global::ScrapeGraphAI.JsonConverters.AnyOfJsonConverter()); + options.Converters.Add(new global::ScrapeGraphAI.JsonConverters.AnyOfJsonConverter()); options.Converters.Add(new global::ScrapeGraphAI.JsonConverters.AnyOfJsonConverter()); options.Converters.Add(new global::ScrapeGraphAI.JsonConverters.UnixTimestampJsonConverter()); options.Converters.Add(new LazyEnumJsonConverterFactory()); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.SchemaGenerator.JsonSerializerContext.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.SchemaGenerator.JsonSerializerContext.g.cs index 5f785b5..300d54b 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.SchemaGenerator.JsonSerializerContext.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.SchemaGenerator.JsonSerializerContext.g.cs @@ -76,7 +76,7 @@ private SchemaGeneratorSourceGenerationContext(global::System.Text.Json.JsonSeri [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)] public static void AddConverters(global::System.Text.Json.JsonSerializerOptions options) { - options.Converters.Add(new global::ScrapeGraphAI.JsonConverters.AnyOfJsonConverter()); + options.Converters.Add(new global::ScrapeGraphAI.JsonConverters.AnyOfJsonConverter()); options.Converters.Add(new global::ScrapeGraphAI.JsonConverters.AnyOfJsonConverter()); options.Converters.Add(new global::ScrapeGraphAI.JsonConverters.UnixTimestampJsonConverter()); } diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Scrape.JsonSerializerContext.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Scrape.JsonSerializerContext.g.cs index 44e74ab..58f3827 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Scrape.JsonSerializerContext.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Scrape.JsonSerializerContext.g.cs @@ -75,7 +75,7 @@ private ScrapeSourceGenerationContext(global::System.Text.Json.JsonSerializerOpt [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)] public static void AddConverters(global::System.Text.Json.JsonSerializerOptions options) { - options.Converters.Add(new global::ScrapeGraphAI.JsonConverters.AnyOfJsonConverter()); + options.Converters.Add(new global::ScrapeGraphAI.JsonConverters.AnyOfJsonConverter()); options.Converters.Add(new global::ScrapeGraphAI.JsonConverters.AnyOfJsonConverter()); options.Converters.Add(new global::ScrapeGraphAI.JsonConverters.UnixTimestampJsonConverter()); } diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.SearchScraper.JsonSerializerContext.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.SearchScraper.JsonSerializerContext.g.cs index 7461541..8e040ef 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.SearchScraper.JsonSerializerContext.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.SearchScraper.JsonSerializerContext.g.cs @@ -84,7 +84,7 @@ private SearchScraperSourceGenerationContext(global::System.Text.Json.JsonSerial [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)] public static void AddConverters(global::System.Text.Json.JsonSerializerOptions options) { - options.Converters.Add(new global::ScrapeGraphAI.JsonConverters.AnyOfJsonConverter()); + options.Converters.Add(new global::ScrapeGraphAI.JsonConverters.AnyOfJsonConverter()); options.Converters.Add(new global::ScrapeGraphAI.JsonConverters.AnyOfJsonConverter()); options.Converters.Add(new global::ScrapeGraphAI.JsonConverters.UnixTimestampJsonConverter()); options.Converters.Add(new LazyEnumJsonConverterFactory()); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.SiteMonitors.JsonSerializerContext.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.SiteMonitors.JsonSerializerContext.g.cs index 070dcdf..4b26278 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.SiteMonitors.JsonSerializerContext.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.SiteMonitors.JsonSerializerContext.g.cs @@ -85,7 +85,7 @@ private SiteMonitorsSourceGenerationContext(global::System.Text.Json.JsonSeriali [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)] public static void AddConverters(global::System.Text.Json.JsonSerializerOptions options) { - options.Converters.Add(new global::ScrapeGraphAI.JsonConverters.AnyOfJsonConverter()); + options.Converters.Add(new global::ScrapeGraphAI.JsonConverters.AnyOfJsonConverter()); options.Converters.Add(new global::ScrapeGraphAI.JsonConverters.AnyOfJsonConverter()); options.Converters.Add(new global::ScrapeGraphAI.JsonConverters.UnixTimestampJsonConverter()); } diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Sitemap.JsonSerializerContext.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Sitemap.JsonSerializerContext.g.cs index dbf785b..b0912dd 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Sitemap.JsonSerializerContext.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Sitemap.JsonSerializerContext.g.cs @@ -77,7 +77,7 @@ private SitemapSourceGenerationContext(global::System.Text.Json.JsonSerializerOp [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)] public static void AddConverters(global::System.Text.Json.JsonSerializerOptions options) { - options.Converters.Add(new global::ScrapeGraphAI.JsonConverters.AnyOfJsonConverter()); + options.Converters.Add(new global::ScrapeGraphAI.JsonConverters.AnyOfJsonConverter()); options.Converters.Add(new global::ScrapeGraphAI.JsonConverters.AnyOfJsonConverter()); options.Converters.Add(new global::ScrapeGraphAI.JsonConverters.UnixTimestampJsonConverter()); } diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.SmartScraper.JsonSerializerContext.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.SmartScraper.JsonSerializerContext.g.cs index 1511e72..f3e1897 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.SmartScraper.JsonSerializerContext.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.SmartScraper.JsonSerializerContext.g.cs @@ -20,7 +20,7 @@ namespace ScrapeGraphAI [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ScrapeGraphAI.CompletedSmartscraperResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ScrapeGraphAI.SmartscraperStatus), TypeInfoPropertyName = "SmartscraperStatus2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ScrapeGraphAI.AnyOf), TypeInfoPropertyName = "AnyOfObjectStringObject2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ScrapeGraphAI.AnyOf), TypeInfoPropertyName = "AnyOfObjectString2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ScrapeGraphAI.HTTPValidationError))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ScrapeGraphAI.ValidationError))] @@ -30,7 +30,7 @@ namespace ScrapeGraphAI [global::System.Text.Json.Serialization.JsonSerializable(typeof(bool?))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(int?))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ScrapeGraphAI.SmartscraperStatus?), TypeInfoPropertyName = "NullableSmartscraperStatus2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ScrapeGraphAI.AnyOf?), TypeInfoPropertyName = "NullableAnyOfObjectStringObject2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ScrapeGraphAI.AnyOf?), TypeInfoPropertyName = "NullableAnyOfObjectString2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ScrapeGraphAI.AnyOf?), TypeInfoPropertyName = "NullableAnyOfStringInt322")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] @@ -82,7 +82,7 @@ private SmartScraperSourceGenerationContext(global::System.Text.Json.JsonSeriali [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)] public static void AddConverters(global::System.Text.Json.JsonSerializerOptions options) { - options.Converters.Add(new global::ScrapeGraphAI.JsonConverters.AnyOfJsonConverter()); + options.Converters.Add(new global::ScrapeGraphAI.JsonConverters.AnyOfJsonConverter()); options.Converters.Add(new global::ScrapeGraphAI.JsonConverters.AnyOfJsonConverter()); options.Converters.Add(new global::ScrapeGraphAI.JsonConverters.UnixTimestampJsonConverter()); options.Converters.Add(new LazyEnumJsonConverterFactory()); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Toonify.JsonSerializerContext.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Toonify.JsonSerializerContext.g.cs index a32c708..4eb46eb 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Toonify.JsonSerializerContext.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Toonify.JsonSerializerContext.g.cs @@ -72,7 +72,7 @@ private ToonifySourceGenerationContext(global::System.Text.Json.JsonSerializerOp [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)] public static void AddConverters(global::System.Text.Json.JsonSerializerOptions options) { - options.Converters.Add(new global::ScrapeGraphAI.JsonConverters.AnyOfJsonConverter()); + options.Converters.Add(new global::ScrapeGraphAI.JsonConverters.AnyOfJsonConverter()); options.Converters.Add(new global::ScrapeGraphAI.JsonConverters.AnyOfJsonConverter()); options.Converters.Add(new global::ScrapeGraphAI.JsonConverters.UnixTimestampJsonConverter()); } diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Usage.JsonSerializerContext.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Usage.JsonSerializerContext.g.cs index 5fead49..1ec22fb 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Usage.JsonSerializerContext.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Usage.JsonSerializerContext.g.cs @@ -78,7 +78,7 @@ private UsageSourceGenerationContext(global::System.Text.Json.JsonSerializerOpti [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)] public static void AddConverters(global::System.Text.Json.JsonSerializerOptions options) { - options.Converters.Add(new global::ScrapeGraphAI.JsonConverters.AnyOfJsonConverter()); + options.Converters.Add(new global::ScrapeGraphAI.JsonConverters.AnyOfJsonConverter()); options.Converters.Add(new global::ScrapeGraphAI.JsonConverters.AnyOfJsonConverter()); options.Converters.Add(new global::ScrapeGraphAI.JsonConverters.UnixTimestampJsonConverter()); options.Converters.Add(new LazyEnumJsonConverterFactory()); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.User.JsonSerializerContext.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.User.JsonSerializerContext.g.cs index f8e085a..d2d69b2 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.User.JsonSerializerContext.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.User.JsonSerializerContext.g.cs @@ -87,7 +87,7 @@ private UserSourceGenerationContext(global::System.Text.Json.JsonSerializerOptio [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)] public static void AddConverters(global::System.Text.Json.JsonSerializerOptions options) { - options.Converters.Add(new global::ScrapeGraphAI.JsonConverters.AnyOfJsonConverter()); + options.Converters.Add(new global::ScrapeGraphAI.JsonConverters.AnyOfJsonConverter()); options.Converters.Add(new global::ScrapeGraphAI.JsonConverters.AnyOfJsonConverter()); options.Converters.Add(new global::ScrapeGraphAI.JsonConverters.UnixTimestampJsonConverter()); }