From 0871e2ad5834321620a418b0d2a2c55414d0deb1 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 6 Apr 2026 15:41:40 +0000 Subject: [PATCH] feat: Updated OpenAPI spec --- .../Humanloop/Generated/tryAGI.Humanloop.Polyfills.g.cs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/libs/Humanloop/Generated/tryAGI.Humanloop.Polyfills.g.cs b/src/libs/Humanloop/Generated/tryAGI.Humanloop.Polyfills.g.cs index 44ea11d..fadf3bc 100644 --- a/src/libs/Humanloop/Generated/tryAGI.Humanloop.Polyfills.g.cs +++ b/src/libs/Humanloop/Generated/tryAGI.Humanloop.Polyfills.g.cs @@ -53,6 +53,10 @@ public static partial class AutoSdkPolyfills /// /// Creates a JSON request content instance. /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif public static global::System.Net.Http.HttpContent CreateJsonContent( T inputValue, string mediaType, @@ -124,6 +128,10 @@ public static partial class AutoSdkPolyfills /// /// Reads JSON content into the specified type using serializer options. /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif public static async global::System.Threading.Tasks.Task ReadFromJsonAsync( this global::System.Net.Http.HttpContent content, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions,