From 399435fe96745b2604557fc84666893aba4a5d18 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 20 Oct 2026 14:16:47 +0000 Subject: [PATCH] feat: Updated OpenAPI spec --- .../Generated/Baseten.JsonConverters.AnyOf2.g.cs | 16 ++++++++++++++++ ...Converters.CreateSandboxPreviewRequestV1.g.cs | 8 ++++++++ .../Baseten.JsonConverters.SandboxPreviewV1.g.cs | 8 ++++++++ .../Baseten.JsonConverters.SandboxV1.g.cs | 8 ++++++++ ...Converters.UpdateSandboxPreviewRequestV1.g.cs | 4 ++++ 5 files changed, 44 insertions(+) diff --git a/src/libs/Baseten/Generated/Baseten.JsonConverters.AnyOf2.g.cs b/src/libs/Baseten/Generated/Baseten.JsonConverters.AnyOf2.g.cs index 27046fe..dc03f48 100644 --- a/src/libs/Baseten/Generated/Baseten.JsonConverters.AnyOf2.g.cs +++ b/src/libs/Baseten/Generated/Baseten.JsonConverters.AnyOf2.g.cs @@ -72,6 +72,10 @@ public class AnyOfJsonConverter : 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 AnyOfJsonConverter : 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 AnyOfJsonConverter : 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 AnyOfJsonConverter : 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::Baseten.AnyOf( diff --git a/src/libs/Baseten/Generated/Baseten.JsonConverters.CreateSandboxPreviewRequestV1.g.cs b/src/libs/Baseten/Generated/Baseten.JsonConverters.CreateSandboxPreviewRequestV1.g.cs index 9fa1544..2690ae1 100644 --- a/src/libs/Baseten/Generated/Baseten.JsonConverters.CreateSandboxPreviewRequestV1.g.cs +++ b/src/libs/Baseten/Generated/Baseten.JsonConverters.CreateSandboxPreviewRequestV1.g.cs @@ -31,6 +31,10 @@ public class CreateSandboxPreviewRequestV1JsonConverter : global::System.Text.Js catch (global::System.InvalidOperationException) { } + catch (global::System.ArgumentOutOfRangeException __enumTokenException) when (__enumTokenException.ParamName == "reader") + { + // Legacy enum converters signal an incompatible JSON token with this exception. + } global::Baseten.CreateSandboxPreviewRequestV1Variant2? createSandboxPreviewRequestV1Variant2 = default; try @@ -45,6 +49,10 @@ public class CreateSandboxPreviewRequestV1JsonConverter : global::System.Text.Js 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::Baseten.CreateSandboxPreviewRequestV1( configuration, diff --git a/src/libs/Baseten/Generated/Baseten.JsonConverters.SandboxPreviewV1.g.cs b/src/libs/Baseten/Generated/Baseten.JsonConverters.SandboxPreviewV1.g.cs index f02701d..f56303e 100644 --- a/src/libs/Baseten/Generated/Baseten.JsonConverters.SandboxPreviewV1.g.cs +++ b/src/libs/Baseten/Generated/Baseten.JsonConverters.SandboxPreviewV1.g.cs @@ -31,6 +31,10 @@ public class SandboxPreviewV1JsonConverter : global::System.Text.Json.Serializat catch (global::System.InvalidOperationException) { } + catch (global::System.ArgumentOutOfRangeException __enumTokenException) when (__enumTokenException.ParamName == "reader") + { + // Legacy enum converters signal an incompatible JSON token with this exception. + } global::Baseten.SandboxPreviewV1Variant2? sandboxPreviewV1Variant2 = default; try @@ -45,6 +49,10 @@ public class SandboxPreviewV1JsonConverter : global::System.Text.Json.Serializat 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::Baseten.SandboxPreviewV1( configuration, diff --git a/src/libs/Baseten/Generated/Baseten.JsonConverters.SandboxV1.g.cs b/src/libs/Baseten/Generated/Baseten.JsonConverters.SandboxV1.g.cs index 5113c73..2751573 100644 --- a/src/libs/Baseten/Generated/Baseten.JsonConverters.SandboxV1.g.cs +++ b/src/libs/Baseten/Generated/Baseten.JsonConverters.SandboxV1.g.cs @@ -31,6 +31,10 @@ public class SandboxV1JsonConverter : global::System.Text.Json.Serialization.Jso catch (global::System.InvalidOperationException) { } + catch (global::System.ArgumentOutOfRangeException __enumTokenException) when (__enumTokenException.ParamName == "reader") + { + // Legacy enum converters signal an incompatible JSON token with this exception. + } global::Baseten.SandboxV1Variant2? sandboxV1Variant2 = default; try @@ -45,6 +49,10 @@ public class SandboxV1JsonConverter : global::System.Text.Json.Serialization.Jso 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::Baseten.SandboxV1( configuration, diff --git a/src/libs/Baseten/Generated/Baseten.JsonConverters.UpdateSandboxPreviewRequestV1.g.cs b/src/libs/Baseten/Generated/Baseten.JsonConverters.UpdateSandboxPreviewRequestV1.g.cs index b81472d..04e8655 100644 --- a/src/libs/Baseten/Generated/Baseten.JsonConverters.UpdateSandboxPreviewRequestV1.g.cs +++ b/src/libs/Baseten/Generated/Baseten.JsonConverters.UpdateSandboxPreviewRequestV1.g.cs @@ -31,6 +31,10 @@ public class UpdateSandboxPreviewRequestV1JsonConverter : global::System.Text.Js 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::Baseten.UpdateSandboxPreviewRequestV1( configuration );