From e9111ae6320107ec9ffeb992fc3a7f67a844e38c Mon Sep 17 00:00:00 2001 From: HavenDV Date: Fri, 15 Nov 2024 11:31:51 +0400 Subject: [PATCH] fix: Added missing UnixTimestampJsonConverter in JsonSettings. --- .../src_helpers_FixOpenApiSpec_FixOpenApiSpec.csproj | 4 ++-- src/libs/AutoSDK.CLI/Resources/src_libs_Directory.Build.props | 2 +- src/libs/AutoSDK/Sources/Data.cs | 4 ++++ .../Snapshots/Ai21/SystemTextJson/_#G.Api.g.verified.cs | 1 + .../_#JsonSerializerContextConverters.g.verified.cs | 1 + .../Snapshots/Anthropic/SystemTextJson/_#G.Api.g.verified.cs | 1 + .../_#JsonSerializerContextConverters.g.verified.cs | 1 + .../Snapshots/AssemblyAi/SystemTextJson/_#G.Api.g.verified.cs | 1 + .../_#JsonSerializerContextConverters.g.verified.cs | 1 + .../Snapshots/Cohere/SystemTextJson/_#G.Api.g.verified.cs | 1 + .../_#JsonSerializerContextConverters.g.verified.cs | 1 + .../Snapshots/Dedoose/SystemTextJson/_#G.Api.g.verified.cs | 1 + .../_#JsonSerializerContextConverters.g.verified.cs | 1 + .../Snapshots/Filtering/SystemTextJson/_#G.Api.g.verified.cs | 1 + .../_#JsonSerializerContextConverters.g.verified.cs | 1 + .../Snapshots/GitHub/SystemTextJson/_#G.Api.g.verified.cs | 1 + .../_#JsonSerializerContextConverters.g.verified.cs | 1 + .../HuggingFace/SystemTextJson/_#G.Api.g.verified.cs | 1 + .../_#JsonSerializerContextConverters.g.verified.cs | 1 + .../Snapshots/IpInfo/SystemTextJson/_#G.Api.g.verified.cs | 1 + .../_#JsonSerializerContextConverters.g.verified.cs | 1 + .../Snapshots/LangSmith/SystemTextJson/_#G.Api.g.verified.cs | 1 + .../_#JsonSerializerContextConverters.g.verified.cs | 1 + .../Snapshots/Leonardo/SystemTextJson/_#G.Api.g.verified.cs | 1 + .../_#JsonSerializerContextConverters.g.verified.cs | 1 + .../Snapshots/Mystic/SystemTextJson/_#G.Api.g.verified.cs | 1 + .../_#JsonSerializerContextConverters.g.verified.cs | 1 + .../Snapshots/Ollama/SystemTextJson/_#G.Api.g.verified.cs | 1 + .../_#JsonSerializerContextConverters.g.verified.cs | 1 + .../_#JsonSerializerContextConverters.g.verified.cs | 1 + .../Snapshots/PetStore/SystemTextJson/_#G.Api.g.verified.cs | 1 + .../_#JsonSerializerContextConverters.g.verified.cs | 1 + .../Snapshots/Replicate/SystemTextJson/_#G.Api.g.verified.cs | 1 + .../_#JsonSerializerContextConverters.g.verified.cs | 1 + .../SpecialCases/SystemTextJson/_#G.Api.g.verified.cs | 1 + .../_#JsonSerializerContextConverters.g.verified.cs | 1 + .../Snapshots/Together/SystemTextJson/_#G.Api.g.verified.cs | 1 + .../_#JsonSerializerContextConverters.g.verified.cs | 1 + .../Snapshots/Twitch/SystemTextJson/_#G.Api.g.verified.cs | 1 + .../_#JsonSerializerContextConverters.g.verified.cs | 1 + .../Snapshots/elevenlabs/SystemTextJson/_#G.Api.g.verified.cs | 1 + .../_#JsonSerializerContextConverters.g.verified.cs | 1 + .../google-gemini/SystemTextJson/_#G.Api.g.verified.cs | 1 + .../_#JsonSerializerContextConverters.g.verified.cs | 1 + .../Snapshots/heygen/SystemTextJson/_#G.Api.g.verified.cs | 1 + .../_#JsonSerializerContextConverters.g.verified.cs | 1 + .../Snapshots/ideogram/SystemTextJson/_#G.Api.g.verified.cs | 1 + .../_#JsonSerializerContextConverters.g.verified.cs | 1 + .../Snapshots/instill/SystemTextJson/_#G.Api.g.verified.cs | 1 + .../_#JsonSerializerContextConverters.g.verified.cs | 1 + .../Snapshots/jina/SystemTextJson/_#G.Api.g.verified.cs | 1 + .../_#JsonSerializerContextConverters.g.verified.cs | 1 + .../Snapshots/mistral/SystemTextJson/_#G.Api.g.verified.cs | 1 + .../_#JsonSerializerContextConverters.g.verified.cs | 1 + .../Snapshots/recraft/SystemTextJson/_#G.Api.g.verified.cs | 1 + .../_#JsonSerializerContextConverters.g.verified.cs | 1 + .../Snapshots/runway/SystemTextJson/_#G.Api.g.verified.cs | 1 + .../_#JsonSerializerContextConverters.g.verified.cs | 1 + .../Snapshots/vectara/SystemTextJson/_#G.Api.g.verified.cs | 1 + .../_#JsonSerializerContextConverters.g.verified.cs | 1 + .../Snapshots/weaviate/SystemTextJson/_#G.Api.g.verified.cs | 1 + .../_#JsonSerializerContextConverters.g.verified.cs | 1 + 62 files changed, 66 insertions(+), 3 deletions(-) diff --git a/src/libs/AutoSDK.CLI/Resources/src_helpers_FixOpenApiSpec_FixOpenApiSpec.csproj b/src/libs/AutoSDK.CLI/Resources/src_helpers_FixOpenApiSpec_FixOpenApiSpec.csproj index 29e4962b46..9ba002eb60 100644 --- a/src/libs/AutoSDK.CLI/Resources/src_helpers_FixOpenApiSpec_FixOpenApiSpec.csproj +++ b/src/libs/AutoSDK.CLI/Resources/src_helpers_FixOpenApiSpec_FixOpenApiSpec.csproj @@ -9,8 +9,8 @@ - - + + diff --git a/src/libs/AutoSDK.CLI/Resources/src_libs_Directory.Build.props b/src/libs/AutoSDK.CLI/Resources/src_libs_Directory.Build.props index c45d29ad76..f08c0109c1 100644 --- a/src/libs/AutoSDK.CLI/Resources/src_libs_Directory.Build.props +++ b/src/libs/AutoSDK.CLI/Resources/src_libs_Directory.Build.props @@ -40,7 +40,7 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/libs/AutoSDK/Sources/Data.cs b/src/libs/AutoSDK/Sources/Data.cs index bceeb24908..9c073c24a9 100644 --- a/src/libs/AutoSDK/Sources/Data.cs +++ b/src/libs/AutoSDK/Sources/Data.cs @@ -227,6 +227,10 @@ public static Models.Data Prepare( string.Join(", ", x.Children .Where(y => y.Hint is Hint.AnyOf or Hint.OneOf or Hint.AllOf) .Select(y => y.TypeData.CSharpTypeWithNullabilityForValueTypes))}>")) + // Unix Timestamp converter + .Concat([ + $"global::{settings.Namespace}.JsonConverters.UnixTimestampJsonConverter", + ]) .ToImmutableArray(); var includedTags = allTags diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.Api.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.Api.g.verified.cs index cabc95e703..ac36b046d9 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.Api.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.Api.g.verified.cs @@ -97,6 +97,7 @@ public sealed partial class Api : global::G.IApi, global::System.IDisposable new global::G.JsonConverters.AnyOfJsonConverter(), new global::G.JsonConverters.AnyOfJsonConverter>(), new global::G.JsonConverters.AnyOfJsonConverter>(), + new global::G.JsonConverters.UnixTimestampJsonConverter(), } }; diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs index 3b0ef3dd47..6083e8f71e 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs @@ -67,6 +67,7 @@ internal sealed partial class JsonSerializerContextConverters typeof(global::G.JsonConverters.AnyOfJsonConverter), typeof(global::G.JsonConverters.AnyOfJsonConverter>), typeof(global::G.JsonConverters.AnyOfJsonConverter>), + typeof(global::G.JsonConverters.UnixTimestampJsonConverter), }; } } \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Anthropic/SystemTextJson/_#G.Api.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Anthropic/SystemTextJson/_#G.Api.g.verified.cs index 4639012f9c..cc40105f63 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Anthropic/SystemTextJson/_#G.Api.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Anthropic/SystemTextJson/_#G.Api.g.verified.cs @@ -75,6 +75,7 @@ public sealed partial class Api : global::G.IApi, global::System.IDisposable new global::G.JsonConverters.OneOfJsonConverter>(), new global::G.JsonConverters.OneOfJsonConverter>(), new global::G.JsonConverters.OneOfJsonConverter>(), + new global::G.JsonConverters.UnixTimestampJsonConverter(), } }; diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Anthropic/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Anthropic/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs index b3ab77d6e4..655c60140a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Anthropic/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Anthropic/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs @@ -45,6 +45,7 @@ internal sealed partial class JsonSerializerContextConverters typeof(global::G.JsonConverters.OneOfJsonConverter>), typeof(global::G.JsonConverters.OneOfJsonConverter>), typeof(global::G.JsonConverters.OneOfJsonConverter>), + typeof(global::G.JsonConverters.UnixTimestampJsonConverter), }; } } \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/SystemTextJson/_#G.Api.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/SystemTextJson/_#G.Api.g.verified.cs index a3956bb263..479ca48e11 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/SystemTextJson/_#G.Api.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/SystemTextJson/_#G.Api.g.verified.cs @@ -99,6 +99,7 @@ public sealed partial class Api : global::G.IApi, global::System.IDisposable new global::G.JsonConverters.OneOfJsonConverter(), new global::G.JsonConverters.AnyOfJsonConverter(), new global::G.JsonConverters.OneOfJsonConverter(), + new global::G.JsonConverters.UnixTimestampJsonConverter(), } }; diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs index d986e21585..60ec195b65 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs @@ -69,6 +69,7 @@ internal sealed partial class JsonSerializerContextConverters typeof(global::G.JsonConverters.OneOfJsonConverter), typeof(global::G.JsonConverters.AnyOfJsonConverter), typeof(global::G.JsonConverters.OneOfJsonConverter), + typeof(global::G.JsonConverters.UnixTimestampJsonConverter), }; } } \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.Api.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.Api.g.verified.cs index b1d0283ab7..aa97e8b1f4 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.Api.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.Api.g.verified.cs @@ -204,6 +204,7 @@ public sealed partial class Api : global::G.IApi, global::System.IDisposable new global::G.JsonConverters.OneOfJsonConverter(), new global::G.JsonConverters.OneOfJsonConverter(), new global::G.JsonConverters.OneOfJsonConverter(), + new global::G.JsonConverters.UnixTimestampJsonConverter(), } }; diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs index 1b3e34d2c7..9b6849b356 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs @@ -172,6 +172,7 @@ internal sealed partial class JsonSerializerContextConverters typeof(global::G.JsonConverters.OneOfJsonConverter), typeof(global::G.JsonConverters.OneOfJsonConverter), typeof(global::G.JsonConverters.OneOfJsonConverter), + typeof(global::G.JsonConverters.UnixTimestampJsonConverter), }; } } \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.Api.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.Api.g.verified.cs index 4c55e6fcbc..7d41c8c659 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.Api.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.Api.g.verified.cs @@ -40,6 +40,7 @@ public sealed partial class Api : global::G.IApi, global::System.IDisposable DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull, Converters = { + new global::G.JsonConverters.UnixTimestampJsonConverter(), } }; diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs index 21751f9ff1..8e6ee621c2 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs @@ -11,6 +11,7 @@ internal sealed partial class JsonSerializerContextConverters { private readonly global::System.Type[] _types = new global::System.Type[] { + typeof(global::G.JsonConverters.UnixTimestampJsonConverter), }; } } \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.Api.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.Api.g.verified.cs index 39b4f7fc07..f7c0d3144a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.Api.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.Api.g.verified.cs @@ -78,6 +78,7 @@ public sealed partial class Api : global::G.IApi, global::System.IDisposable new global::G.JsonConverters.MigrationsGetStatusForOrgExcludeItemJsonConverter(), new global::G.JsonConverters.MigrationsGetStatusForOrgExcludeItemNullableJsonConverter(), new global::G.JsonConverters.OneOfJsonConverter>(), + new global::G.JsonConverters.UnixTimestampJsonConverter(), } }; diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs index a3a2ce4728..673f390207 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs @@ -48,6 +48,7 @@ internal sealed partial class JsonSerializerContextConverters typeof(global::G.JsonConverters.MigrationsGetStatusForOrgExcludeItemJsonConverter), typeof(global::G.JsonConverters.MigrationsGetStatusForOrgExcludeItemNullableJsonConverter), typeof(global::G.JsonConverters.OneOfJsonConverter>), + typeof(global::G.JsonConverters.UnixTimestampJsonConverter), }; } } \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Api.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Api.g.verified.cs index 7ebbf2060c..595c9c5104 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Api.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Api.g.verified.cs @@ -5862,6 +5862,7 @@ public sealed partial class Api : global::G.IApi, global::System.IDisposable new global::G.JsonConverters.OneOfJsonConverter(), new global::G.JsonConverters.OneOfJsonConverter(), new global::G.JsonConverters.AnyOfJsonConverter, global::System.Collections.Generic.IList>(), + new global::G.JsonConverters.UnixTimestampJsonConverter(), } }; diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs index 8b31b53d7b..b32f49f4f6 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs @@ -5832,6 +5832,7 @@ internal sealed partial class JsonSerializerContextConverters typeof(global::G.JsonConverters.OneOfJsonConverter), typeof(global::G.JsonConverters.OneOfJsonConverter), typeof(global::G.JsonConverters.AnyOfJsonConverter, global::System.Collections.Generic.IList>), + typeof(global::G.JsonConverters.UnixTimestampJsonConverter), }; } } \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/HuggingFace/SystemTextJson/_#G.Api.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/HuggingFace/SystemTextJson/_#G.Api.g.verified.cs index c1f32f75b1..14027bc99f 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/HuggingFace/SystemTextJson/_#G.Api.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/HuggingFace/SystemTextJson/_#G.Api.g.verified.cs @@ -42,6 +42,7 @@ public sealed partial class Api : global::G.IApi, global::System.IDisposable Converters = { new global::G.JsonConverters.AnyOfJsonConverter>(), + new global::G.JsonConverters.UnixTimestampJsonConverter(), } }; diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/HuggingFace/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/HuggingFace/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs index 0e31e62a3e..14cad306e1 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/HuggingFace/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/HuggingFace/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs @@ -12,6 +12,7 @@ internal sealed partial class JsonSerializerContextConverters private readonly global::System.Type[] _types = new global::System.Type[] { typeof(global::G.JsonConverters.AnyOfJsonConverter>), + typeof(global::G.JsonConverters.UnixTimestampJsonConverter), }; } } \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.Api.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.Api.g.verified.cs index 234e83d795..3965d452de 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.Api.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.Api.g.verified.cs @@ -45,6 +45,7 @@ public sealed partial class Api : global::G.IApi, global::System.IDisposable new global::G.JsonConverters.AsnResponseTypeNullableJsonConverter(), new global::G.JsonConverters.CompanyTypeJsonConverter(), new global::G.JsonConverters.CompanyTypeNullableJsonConverter(), + new global::G.JsonConverters.UnixTimestampJsonConverter(), } }; diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs index da352bfbaf..24d33e6317 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs @@ -15,6 +15,7 @@ internal sealed partial class JsonSerializerContextConverters typeof(global::G.JsonConverters.AsnResponseTypeNullableJsonConverter), typeof(global::G.JsonConverters.CompanyTypeJsonConverter), typeof(global::G.JsonConverters.CompanyTypeNullableJsonConverter), + typeof(global::G.JsonConverters.UnixTimestampJsonConverter), }; } } \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Api.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Api.g.verified.cs index ed1f3a3d5f..482b945e9c 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Api.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Api.g.verified.cs @@ -213,6 +213,7 @@ public sealed partial class Api : global::G.IApi, global::System.IDisposable new global::G.JsonConverters.AnyOfJsonConverter, global::System.Collections.Generic.IList>(), new global::G.JsonConverters.AnyOfJsonConverter>(), new global::G.JsonConverters.AnyOfJsonConverter, global::System.Collections.Generic.IList>(), + new global::G.JsonConverters.UnixTimestampJsonConverter(), } }; diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs index 8d0becaf05..74c78bfc5d 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs @@ -184,6 +184,7 @@ internal sealed partial class JsonSerializerContextConverters typeof(global::G.JsonConverters.AnyOfJsonConverter, global::System.Collections.Generic.IList>), typeof(global::G.JsonConverters.AnyOfJsonConverter>), typeof(global::G.JsonConverters.AnyOfJsonConverter, global::System.Collections.Generic.IList>), + typeof(global::G.JsonConverters.UnixTimestampJsonConverter), }; } } \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.Api.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.Api.g.verified.cs index be9649281a..f828634294 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.Api.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.Api.g.verified.cs @@ -73,6 +73,7 @@ public sealed partial class Api : global::G.IApi, global::System.IDisposable new global::G.JsonConverters.CanvasRequestTypeNullableJsonConverter(), new global::G.JsonConverters.CreateGenerationRequestTransparencyJsonConverter(), new global::G.JsonConverters.CreateGenerationRequestTransparencyNullableJsonConverter(), + new global::G.JsonConverters.UnixTimestampJsonConverter(), } }; diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs index ead84caff9..d11a9fb890 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs @@ -43,6 +43,7 @@ internal sealed partial class JsonSerializerContextConverters typeof(global::G.JsonConverters.CanvasRequestTypeNullableJsonConverter), typeof(global::G.JsonConverters.CreateGenerationRequestTransparencyJsonConverter), typeof(global::G.JsonConverters.CreateGenerationRequestTransparencyNullableJsonConverter), + typeof(global::G.JsonConverters.UnixTimestampJsonConverter), }; } } \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.Api.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.Api.g.verified.cs index 252a8b927a..04e652f3da 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.Api.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.Api.g.verified.cs @@ -61,6 +61,7 @@ public sealed partial class Api : global::G.IApi, global::System.IDisposable new global::G.JsonConverters.AnyOfJsonConverter(), new global::G.JsonConverters.AllOfJsonConverter(), new global::G.JsonConverters.AllOfJsonConverter(), + new global::G.JsonConverters.UnixTimestampJsonConverter(), } }; diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs index 6a4f0668aa..c400332602 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs @@ -32,6 +32,7 @@ internal sealed partial class JsonSerializerContextConverters typeof(global::G.JsonConverters.AnyOfJsonConverter), typeof(global::G.JsonConverters.AllOfJsonConverter), typeof(global::G.JsonConverters.AllOfJsonConverter), + typeof(global::G.JsonConverters.UnixTimestampJsonConverter), }; } } \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.Api.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.Api.g.verified.cs index ee662658a3..a3a179cb14 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.Api.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.Api.g.verified.cs @@ -59,6 +59,7 @@ public sealed partial class Api : global::G.IApi, global::System.IDisposable new global::G.JsonConverters.CreateModelStatusJsonConverter(), new global::G.JsonConverters.PullModelStatusJsonConverter(), new global::G.JsonConverters.AnyOfJsonConverter(), + new global::G.JsonConverters.UnixTimestampJsonConverter(), } }; diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs index 973fc2e39d..25fbffc9ec 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs @@ -29,6 +29,7 @@ internal sealed partial class JsonSerializerContextConverters typeof(global::G.JsonConverters.CreateModelStatusJsonConverter), typeof(global::G.JsonConverters.PullModelStatusJsonConverter), typeof(global::G.JsonConverters.AnyOfJsonConverter), + typeof(global::G.JsonConverters.UnixTimestampJsonConverter), }; } } \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs index d0827b2936..2bb2fe85d9 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs @@ -621,6 +621,7 @@ internal sealed partial class JsonSerializerContextConverters typeof(global::G.JsonConverters.AnyOfJsonConverter), typeof(global::G.JsonConverters.OneOfJsonConverter), typeof(global::G.JsonConverters.OneOfJsonConverter), + typeof(global::G.JsonConverters.UnixTimestampJsonConverter), }; } } \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/PetStore/SystemTextJson/_#G.Api.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/PetStore/SystemTextJson/_#G.Api.g.verified.cs index cc839a9391..6cb11c9e15 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/PetStore/SystemTextJson/_#G.Api.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/PetStore/SystemTextJson/_#G.Api.g.verified.cs @@ -40,6 +40,7 @@ public sealed partial class Api : global::G.IApi, global::System.IDisposable DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull, Converters = { + new global::G.JsonConverters.UnixTimestampJsonConverter(), } }; diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/PetStore/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/PetStore/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs index 21751f9ff1..8e6ee621c2 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/PetStore/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/PetStore/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs @@ -11,6 +11,7 @@ internal sealed partial class JsonSerializerContextConverters { private readonly global::System.Type[] _types = new global::System.Type[] { + typeof(global::G.JsonConverters.UnixTimestampJsonConverter), }; } } \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.Api.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.Api.g.verified.cs index b4598ed043..9092b5008c 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.Api.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.Api.g.verified.cs @@ -59,6 +59,7 @@ public sealed partial class Api : global::G.IApi, global::System.IDisposable new global::G.JsonConverters.DeploymentsGetResponseCurrentReleaseCreatedByTypeNullableJsonConverter(), new global::G.JsonConverters.DeploymentsUpdateResponseCurrentReleaseCreatedByTypeJsonConverter(), new global::G.JsonConverters.DeploymentsUpdateResponseCurrentReleaseCreatedByTypeNullableJsonConverter(), + new global::G.JsonConverters.UnixTimestampJsonConverter(), } }; diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs index d49781b147..74bff3f466 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs @@ -29,6 +29,7 @@ internal sealed partial class JsonSerializerContextConverters typeof(global::G.JsonConverters.DeploymentsGetResponseCurrentReleaseCreatedByTypeNullableJsonConverter), typeof(global::G.JsonConverters.DeploymentsUpdateResponseCurrentReleaseCreatedByTypeJsonConverter), typeof(global::G.JsonConverters.DeploymentsUpdateResponseCurrentReleaseCreatedByTypeNullableJsonConverter), + typeof(global::G.JsonConverters.UnixTimestampJsonConverter), }; } } \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/SpecialCases/SystemTextJson/_#G.Api.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/SpecialCases/SystemTextJson/_#G.Api.g.verified.cs index cc839a9391..6cb11c9e15 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/SpecialCases/SystemTextJson/_#G.Api.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/SpecialCases/SystemTextJson/_#G.Api.g.verified.cs @@ -40,6 +40,7 @@ public sealed partial class Api : global::G.IApi, global::System.IDisposable DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull, Converters = { + new global::G.JsonConverters.UnixTimestampJsonConverter(), } }; diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/SpecialCases/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/SpecialCases/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs index 21751f9ff1..8e6ee621c2 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/SpecialCases/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/SpecialCases/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs @@ -11,6 +11,7 @@ internal sealed partial class JsonSerializerContextConverters { private readonly global::System.Type[] _types = new global::System.Type[] { + typeof(global::G.JsonConverters.UnixTimestampJsonConverter), }; } } \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.Api.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.Api.g.verified.cs index 32221dc2b7..f029767ad9 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.Api.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.Api.g.verified.cs @@ -122,6 +122,7 @@ public sealed partial class Api : global::G.IApi, global::System.IDisposable new global::G.JsonConverters.OneOfJsonConverter>(), new global::G.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.IList>(), new global::G.JsonConverters.OneOfJsonConverter(), + new global::G.JsonConverters.UnixTimestampJsonConverter(), } }; diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs index 4c277bbff5..d19eb5e8c5 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs @@ -92,6 +92,7 @@ internal sealed partial class JsonSerializerContextConverters typeof(global::G.JsonConverters.OneOfJsonConverter>), typeof(global::G.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.IList>), typeof(global::G.JsonConverters.OneOfJsonConverter), + typeof(global::G.JsonConverters.UnixTimestampJsonConverter), }; } } \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.Api.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.Api.g.verified.cs index aed61acbc0..6105c0e9c4 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.Api.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.Api.g.verified.cs @@ -199,6 +199,7 @@ public sealed partial class Api : global::G.IApi, global::System.IDisposable new global::G.JsonConverters.GetVideosSortNullableJsonConverter(), new global::G.JsonConverters.GetVideosTypeJsonConverter(), new global::G.JsonConverters.GetVideosTypeNullableJsonConverter(), + new global::G.JsonConverters.UnixTimestampJsonConverter(), } }; diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs index 7a4c4b2002..93479bba63 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs @@ -161,6 +161,7 @@ internal sealed partial class JsonSerializerContextConverters typeof(global::G.JsonConverters.GetVideosSortNullableJsonConverter), typeof(global::G.JsonConverters.GetVideosTypeJsonConverter), typeof(global::G.JsonConverters.GetVideosTypeNullableJsonConverter), + typeof(global::G.JsonConverters.UnixTimestampJsonConverter), }; } } \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/elevenlabs/SystemTextJson/_#G.Api.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/elevenlabs/SystemTextJson/_#G.Api.g.verified.cs index cef7f12e2e..444b7235bf 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/elevenlabs/SystemTextJson/_#G.Api.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/elevenlabs/SystemTextJson/_#G.Api.g.verified.cs @@ -116,6 +116,7 @@ public sealed partial class Api : global::G.IApi, global::System.IDisposable new global::G.JsonConverters.AnyOfJsonConverter(), new global::G.JsonConverters.AnyOfJsonConverter(), new global::G.JsonConverters.AllOfJsonConverter(), + new global::G.JsonConverters.UnixTimestampJsonConverter(), } }; diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/elevenlabs/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/elevenlabs/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs index fce8c4b7e6..22e9005db3 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/elevenlabs/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/elevenlabs/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs @@ -86,6 +86,7 @@ internal sealed partial class JsonSerializerContextConverters typeof(global::G.JsonConverters.AnyOfJsonConverter), typeof(global::G.JsonConverters.AnyOfJsonConverter), typeof(global::G.JsonConverters.AllOfJsonConverter), + typeof(global::G.JsonConverters.UnixTimestampJsonConverter), }; } } \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/google-gemini/SystemTextJson/_#G.Api.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/google-gemini/SystemTextJson/_#G.Api.g.verified.cs index 6f14bfea3b..46fdfcc870 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/google-gemini/SystemTextJson/_#G.Api.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/google-gemini/SystemTextJson/_#G.Api.g.verified.cs @@ -55,6 +55,7 @@ public sealed partial class Api : global::G.IApi, global::System.IDisposable new global::G.JsonConverters.SafetySettingThresholdNullableJsonConverter(), new global::G.JsonConverters.PromptFeedbackBlockReasonJsonConverter(), new global::G.JsonConverters.PromptFeedbackBlockReasonNullableJsonConverter(), + new global::G.JsonConverters.UnixTimestampJsonConverter(), } }; diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/google-gemini/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/google-gemini/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs index 66a8deaf59..da10fc2ca6 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/google-gemini/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/google-gemini/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs @@ -25,6 +25,7 @@ internal sealed partial class JsonSerializerContextConverters typeof(global::G.JsonConverters.SafetySettingThresholdNullableJsonConverter), typeof(global::G.JsonConverters.PromptFeedbackBlockReasonJsonConverter), typeof(global::G.JsonConverters.PromptFeedbackBlockReasonNullableJsonConverter), + typeof(global::G.JsonConverters.UnixTimestampJsonConverter), }; } } \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.Api.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.Api.g.verified.cs index 81d2a65ce4..50845a1e07 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.Api.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.Api.g.verified.cs @@ -62,6 +62,7 @@ public sealed partial class Api : global::G.IApi, global::System.IDisposable DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull, Converters = { + new global::G.JsonConverters.UnixTimestampJsonConverter(), } }; diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs index 21751f9ff1..8e6ee621c2 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs @@ -11,6 +11,7 @@ internal sealed partial class JsonSerializerContextConverters { private readonly global::System.Type[] _types = new global::System.Type[] { + typeof(global::G.JsonConverters.UnixTimestampJsonConverter), }; } } \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/ideogram/SystemTextJson/_#G.Api.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/ideogram/SystemTextJson/_#G.Api.g.verified.cs index 70af62ee03..b5180244f0 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/ideogram/SystemTextJson/_#G.Api.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/ideogram/SystemTextJson/_#G.Api.g.verified.cs @@ -54,6 +54,7 @@ public sealed partial class Api : global::G.IApi, global::System.IDisposable new global::G.JsonConverters.ColorPalettePresetNameJsonConverter(), new global::G.JsonConverters.ColorPalettePresetNameNullableJsonConverter(), new global::G.JsonConverters.ColorPaletteWithPresetNameOrMembersJsonConverter(), + new global::G.JsonConverters.UnixTimestampJsonConverter(), } }; diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/ideogram/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/ideogram/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs index 2d659df35d..c9e64b9a45 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/ideogram/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/ideogram/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs @@ -24,6 +24,7 @@ internal sealed partial class JsonSerializerContextConverters typeof(global::G.JsonConverters.ColorPalettePresetNameJsonConverter), typeof(global::G.JsonConverters.ColorPalettePresetNameNullableJsonConverter), typeof(global::G.JsonConverters.ColorPaletteWithPresetNameOrMembersJsonConverter), + typeof(global::G.JsonConverters.UnixTimestampJsonConverter), }; } } \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/instill/SystemTextJson/_#G.Api.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/instill/SystemTextJson/_#G.Api.g.verified.cs index 07fc38cfbf..0507c8c4f2 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/instill/SystemTextJson/_#G.Api.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/instill/SystemTextJson/_#G.Api.g.verified.cs @@ -163,6 +163,7 @@ public sealed partial class Api : global::G.IApi, global::System.IDisposable new global::G.JsonConverters.PipelinePublicServiceGetNamespaceConnectionViewNullableJsonConverter(), new global::G.JsonConverters.PipelinePublicServiceGetIntegrationViewJsonConverter(), new global::G.JsonConverters.PipelinePublicServiceGetIntegrationViewNullableJsonConverter(), + new global::G.JsonConverters.UnixTimestampJsonConverter(), } }; diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/instill/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/instill/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs index d5d2995d5d..7af30878df 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/instill/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/instill/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs @@ -133,6 +133,7 @@ internal sealed partial class JsonSerializerContextConverters typeof(global::G.JsonConverters.PipelinePublicServiceGetNamespaceConnectionViewNullableJsonConverter), typeof(global::G.JsonConverters.PipelinePublicServiceGetIntegrationViewJsonConverter), typeof(global::G.JsonConverters.PipelinePublicServiceGetIntegrationViewNullableJsonConverter), + typeof(global::G.JsonConverters.UnixTimestampJsonConverter), }; } } \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/jina/SystemTextJson/_#G.Api.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/jina/SystemTextJson/_#G.Api.g.verified.cs index c1fc9a814b..11d08804f5 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/jina/SystemTextJson/_#G.Api.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/jina/SystemTextJson/_#G.Api.g.verified.cs @@ -86,6 +86,7 @@ public sealed partial class Api : global::G.IApi, global::System.IDisposable new global::G.JsonConverters.AnyOfJsonConverter(), new global::G.JsonConverters.AnyOfJsonConverter>, global::G.TextExampleDoc, global::G.ImageExampleDoc>(), new global::G.JsonConverters.AnyOfJsonConverter(), + new global::G.JsonConverters.UnixTimestampJsonConverter(), } }; diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/jina/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/jina/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs index 6120d21f5b..65a86a8a85 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/jina/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/jina/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs @@ -56,6 +56,7 @@ internal sealed partial class JsonSerializerContextConverters typeof(global::G.JsonConverters.AnyOfJsonConverter), typeof(global::G.JsonConverters.AnyOfJsonConverter>, global::G.TextExampleDoc, global::G.ImageExampleDoc>), typeof(global::G.JsonConverters.AnyOfJsonConverter), + typeof(global::G.JsonConverters.UnixTimestampJsonConverter), }; } } \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/mistral/SystemTextJson/_#G.Api.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/mistral/SystemTextJson/_#G.Api.g.verified.cs index d8cf05e439..9703e4ea99 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/mistral/SystemTextJson/_#G.Api.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/mistral/SystemTextJson/_#G.Api.g.verified.cs @@ -158,6 +158,7 @@ public sealed partial class Api : global::G.IApi, global::System.IDisposable new global::G.JsonConverters.AnyOfJsonConverter>(), new global::G.JsonConverters.AnyOfJsonConverter(), new global::G.JsonConverters.AnyOfJsonConverter(), + new global::G.JsonConverters.UnixTimestampJsonConverter(), } }; diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/mistral/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/mistral/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs index 93b3dd8da3..b67f1e90a7 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/mistral/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/mistral/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs @@ -128,6 +128,7 @@ internal sealed partial class JsonSerializerContextConverters typeof(global::G.JsonConverters.AnyOfJsonConverter>), typeof(global::G.JsonConverters.AnyOfJsonConverter), typeof(global::G.JsonConverters.AnyOfJsonConverter), + typeof(global::G.JsonConverters.UnixTimestampJsonConverter), }; } } \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/recraft/SystemTextJson/_#G.Api.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/recraft/SystemTextJson/_#G.Api.g.verified.cs index 9778402898..14c673f5e4 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/recraft/SystemTextJson/_#G.Api.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/recraft/SystemTextJson/_#G.Api.g.verified.cs @@ -50,6 +50,7 @@ public sealed partial class Api : global::G.IApi, global::System.IDisposable new global::G.JsonConverters.ImageSizeNullableJsonConverter(), new global::G.JsonConverters.ImageSubStyleJsonConverter(), new global::G.JsonConverters.ImageSubStyleNullableJsonConverter(), + new global::G.JsonConverters.UnixTimestampJsonConverter(), } }; diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/recraft/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/recraft/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs index fb161f1a8c..49aa475088 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/recraft/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/recraft/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs @@ -21,6 +21,7 @@ internal sealed partial class JsonSerializerContextConverters typeof(global::G.JsonConverters.ImageSizeNullableJsonConverter), typeof(global::G.JsonConverters.ImageSubStyleJsonConverter), typeof(global::G.JsonConverters.ImageSubStyleNullableJsonConverter), + typeof(global::G.JsonConverters.UnixTimestampJsonConverter), }; } } \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/runway/SystemTextJson/_#G.Api.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/runway/SystemTextJson/_#G.Api.g.verified.cs index 498ddb179a..9eda339a93 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/runway/SystemTextJson/_#G.Api.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/runway/SystemTextJson/_#G.Api.g.verified.cs @@ -53,6 +53,7 @@ public sealed partial class Api : global::G.IApi, global::System.IDisposable new global::G.JsonConverters.CancelOrDeleteTaskXRunwayVersionNullableJsonConverter(), new global::G.JsonConverters.GetTaskDetailResponseStatusJsonConverter(), new global::G.JsonConverters.GetTaskDetailResponseStatusNullableJsonConverter(), + new global::G.JsonConverters.UnixTimestampJsonConverter(), } }; diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/runway/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/runway/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs index 78261dacfe..3ccc16a894 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/runway/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/runway/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs @@ -23,6 +23,7 @@ internal sealed partial class JsonSerializerContextConverters typeof(global::G.JsonConverters.CancelOrDeleteTaskXRunwayVersionNullableJsonConverter), typeof(global::G.JsonConverters.GetTaskDetailResponseStatusJsonConverter), typeof(global::G.JsonConverters.GetTaskDetailResponseStatusNullableJsonConverter), + typeof(global::G.JsonConverters.UnixTimestampJsonConverter), }; } } \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/vectara/SystemTextJson/_#G.Api.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/vectara/SystemTextJson/_#G.Api.g.verified.cs index dd5dc3ba00..735429c583 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/vectara/SystemTextJson/_#G.Api.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/vectara/SystemTextJson/_#G.Api.g.verified.cs @@ -95,6 +95,7 @@ public sealed partial class Api : global::G.IApi, global::System.IDisposable new global::G.JsonConverters.ChatStreamedResponseJsonConverter(), new global::G.JsonConverters.CreateAppClientRequestJsonConverter(), new global::G.JsonConverters.AllOfJsonConverter(), + new global::G.JsonConverters.UnixTimestampJsonConverter(), } }; diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/vectara/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/vectara/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs index 0c8e8acec8..57b5414fdc 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/vectara/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/vectara/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs @@ -47,6 +47,7 @@ internal sealed partial class JsonSerializerContextConverters typeof(global::G.JsonConverters.ChatStreamedResponseJsonConverter), typeof(global::G.JsonConverters.CreateAppClientRequestJsonConverter), typeof(global::G.JsonConverters.AllOfJsonConverter), + typeof(global::G.JsonConverters.UnixTimestampJsonConverter), }; } } \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/weaviate/SystemTextJson/_#G.Api.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/weaviate/SystemTextJson/_#G.Api.g.verified.cs index 04db81e0d9..2e9d1b9ca8 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/weaviate/SystemTextJson/_#G.Api.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/weaviate/SystemTextJson/_#G.Api.g.verified.cs @@ -138,6 +138,7 @@ public sealed partial class Api : global::G.IApi, global::System.IDisposable new global::G.JsonConverters.NodesGetClassOutputNullableJsonConverter(), new global::G.JsonConverters.BatchReferenceResponseJsonConverter(), new global::G.JsonConverters.ObjectsGetResponseJsonConverter(), + new global::G.JsonConverters.UnixTimestampJsonConverter(), } }; diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/weaviate/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/weaviate/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs index e864730da0..7f2ef1426d 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/weaviate/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/weaviate/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs @@ -99,6 +99,7 @@ internal sealed partial class JsonSerializerContextConverters typeof(global::G.JsonConverters.NodesGetClassOutputNullableJsonConverter), typeof(global::G.JsonConverters.BatchReferenceResponseJsonConverter), typeof(global::G.JsonConverters.ObjectsGetResponseJsonConverter), + typeof(global::G.JsonConverters.UnixTimestampJsonConverter), }; } } \ No newline at end of file