From 6594d7f9f14dba85ccc7751671dec0e2fa296389 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sun, 10 May 2026 02:25:32 +0000 Subject: [PATCH] feat: Updated OpenAPI spec --- .../EachLabs/Generated/EachLabs.JsonConverters.OneOf3.g.cs | 6 ++++++ .../EachLabs.JsonConverters.WebhookWithAttempts.g.cs | 5 +++++ 2 files changed, 11 insertions(+) diff --git a/src/libs/EachLabs/Generated/EachLabs.JsonConverters.OneOf3.g.cs b/src/libs/EachLabs/Generated/EachLabs.JsonConverters.OneOf3.g.cs index b66df04..2d8b61e 100644 --- a/src/libs/EachLabs/Generated/EachLabs.JsonConverters.OneOf3.g.cs +++ b/src/libs/EachLabs/Generated/EachLabs.JsonConverters.OneOf3.g.cs @@ -137,7 +137,10 @@ public class OneOfJsonConverter : global::System.Text.Json.Serializa catch (global::System.InvalidOperationException) { } + } + if (value1 == null && value2 == null && value3 == null) + { try { @@ -151,7 +154,10 @@ public class OneOfJsonConverter : global::System.Text.Json.Serializa catch (global::System.InvalidOperationException) { } + } + if (value1 == null && value2 == null && value3 == null) + { try { diff --git a/src/libs/EachLabs/Generated/EachLabs.JsonConverters.WebhookWithAttempts.g.cs b/src/libs/EachLabs/Generated/EachLabs.JsonConverters.WebhookWithAttempts.g.cs index b93190a..3da85bf 100644 --- a/src/libs/EachLabs/Generated/EachLabs.JsonConverters.WebhookWithAttempts.g.cs +++ b/src/libs/EachLabs/Generated/EachLabs.JsonConverters.WebhookWithAttempts.g.cs @@ -81,6 +81,7 @@ public class WebhookWithAttemptsJsonConverter : global::System.Text.Json.Seriali { try { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::EachLabs.Webhook), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::EachLabs.Webhook).Name}"); webhook = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); @@ -91,9 +92,13 @@ public class WebhookWithAttemptsJsonConverter : global::System.Text.Json.Seriali catch (global::System.InvalidOperationException) { } + } + if (webhook == null && webhookWithAttemptsVariant2 == null) + { try { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::EachLabs.WebhookWithAttemptsVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::EachLabs.WebhookWithAttemptsVariant2).Name}"); webhookWithAttemptsVariant2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);