From 4fadfb96da8a0d9b211eb594997e883692568561 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 20 Oct 2026 14:08:41 +0000 Subject: [PATCH] feat: Updated OpenAPI spec --- .../Generated/Lakera.JsonConverters.OneOf2.g.cs | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/src/libs/Lakera/Generated/Lakera.JsonConverters.OneOf2.g.cs b/src/libs/Lakera/Generated/Lakera.JsonConverters.OneOf2.g.cs index db9cc49..acb7474 100644 --- a/src/libs/Lakera/Generated/Lakera.JsonConverters.OneOf2.g.cs +++ b/src/libs/Lakera/Generated/Lakera.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::Lakera.OneOf(