From dfcde725c892d42ed3cbf90ac21c7aff904d9f01 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 20 Oct 2026 14:14:33 +0000 Subject: [PATCH] feat: Updated OpenAPI spec --- .../Replicate.JsonConverters.OneOf2.g.cs | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/src/libs/Replicate/Generated/Replicate.JsonConverters.OneOf2.g.cs b/src/libs/Replicate/Generated/Replicate.JsonConverters.OneOf2.g.cs index 6d6d14f..f0729a6 100644 --- a/src/libs/Replicate/Generated/Replicate.JsonConverters.OneOf2.g.cs +++ b/src/libs/Replicate/Generated/Replicate.JsonConverters.OneOf2.g.cs @@ -72,6 +72,10 @@ public class OneOfJsonConverter : global::System.Text.Json.Serialization catch (global::System.InvalidOperationException) { } + catch (global::System.ArgumentOutOfRangeException __enumTokenException) when (__enumTokenException.ParamName == "reader") + { + // Legacy enum converters signal an incompatible JSON token with this exception. + } } else if (__bestIndex == 1) @@ -89,6 +93,10 @@ public class OneOfJsonConverter : global::System.Text.Json.Serialization catch (global::System.InvalidOperationException) { } + catch (global::System.ArgumentOutOfRangeException __enumTokenException) when (__enumTokenException.ParamName == "reader") + { + // Legacy enum converters signal an incompatible JSON token with this exception. + } } } @@ -107,6 +115,10 @@ public class OneOfJsonConverter : global::System.Text.Json.Serialization catch (global::System.InvalidOperationException) { } + catch (global::System.ArgumentOutOfRangeException __enumTokenException) when (__enumTokenException.ParamName == "reader") + { + // Legacy enum converters signal an incompatible JSON token with this exception. + } } if (value1 == null && value2 == null) @@ -124,6 +136,10 @@ public class OneOfJsonConverter : global::System.Text.Json.Serialization catch (global::System.InvalidOperationException) { } + catch (global::System.ArgumentOutOfRangeException __enumTokenException) when (__enumTokenException.ParamName == "reader") + { + // Legacy enum converters signal an incompatible JSON token with this exception. + } } var __value = new global::Replicate.OneOf(