diff --git a/src/libs/ModerationAPI/Generated/ModerationAPI.AccountClient.AccountGet.g.cs b/src/libs/ModerationAPI/Generated/ModerationAPI.AccountClient.AccountGet.g.cs
index c4e20d8..13401e9 100644
--- a/src/libs/ModerationAPI/Generated/ModerationAPI.AccountClient.AccountGet.g.cs
+++ b/src/libs/ModerationAPI/Generated/ModerationAPI.AccountClient.AccountGet.g.cs
@@ -171,6 +171,7 @@ partial void ProcessAccountGetResponseContent(
try
{
__response.EnsureSuccessStatusCode();
+
using var __content = await __response.Content.ReadAsStreamAsync(
#if NET5_0_OR_GREATER
cancellationToken
diff --git a/src/libs/ModerationAPI/Generated/ModerationAPI.ActionsClient.ActionsCreate.g.cs b/src/libs/ModerationAPI/Generated/ModerationAPI.ActionsClient.ActionsCreate.g.cs
index 5cb8013..088934d 100644
--- a/src/libs/ModerationAPI/Generated/ModerationAPI.ActionsClient.ActionsCreate.g.cs
+++ b/src/libs/ModerationAPI/Generated/ModerationAPI.ActionsClient.ActionsCreate.g.cs
@@ -262,6 +262,7 @@ partial void ProcessActionsCreateResponseContent(
try
{
__response.EnsureSuccessStatusCode();
+
using var __content = await __response.Content.ReadAsStreamAsync(
#if NET5_0_OR_GREATER
cancellationToken
diff --git a/src/libs/ModerationAPI/Generated/ModerationAPI.ActionsClient.ActionsDelete.g.cs b/src/libs/ModerationAPI/Generated/ModerationAPI.ActionsClient.ActionsDelete.g.cs
index 4270c15..12aa1e8 100644
--- a/src/libs/ModerationAPI/Generated/ModerationAPI.ActionsClient.ActionsDelete.g.cs
+++ b/src/libs/ModerationAPI/Generated/ModerationAPI.ActionsClient.ActionsDelete.g.cs
@@ -255,6 +255,7 @@ partial void ProcessActionsDeleteResponseContent(
try
{
__response.EnsureSuccessStatusCode();
+
using var __content = await __response.Content.ReadAsStreamAsync(
#if NET5_0_OR_GREATER
cancellationToken
diff --git a/src/libs/ModerationAPI/Generated/ModerationAPI.ActionsClient.ActionsExecute.g.cs b/src/libs/ModerationAPI/Generated/ModerationAPI.ActionsClient.ActionsExecute.g.cs
index 3959c03..5456388 100644
--- a/src/libs/ModerationAPI/Generated/ModerationAPI.ActionsClient.ActionsExecute.g.cs
+++ b/src/libs/ModerationAPI/Generated/ModerationAPI.ActionsClient.ActionsExecute.g.cs
@@ -262,6 +262,7 @@ partial void ProcessActionsExecuteResponseContent(
try
{
__response.EnsureSuccessStatusCode();
+
using var __content = await __response.Content.ReadAsStreamAsync(
#if NET5_0_OR_GREATER
cancellationToken
diff --git a/src/libs/ModerationAPI/Generated/ModerationAPI.ActionsClient.ActionsGet.g.cs b/src/libs/ModerationAPI/Generated/ModerationAPI.ActionsClient.ActionsGet.g.cs
index 9c8ef62..c7de0aa 100644
--- a/src/libs/ModerationAPI/Generated/ModerationAPI.ActionsClient.ActionsGet.g.cs
+++ b/src/libs/ModerationAPI/Generated/ModerationAPI.ActionsClient.ActionsGet.g.cs
@@ -255,6 +255,7 @@ partial void ProcessActionsGetResponseContent(
try
{
__response.EnsureSuccessStatusCode();
+
using var __content = await __response.Content.ReadAsStreamAsync(
#if NET5_0_OR_GREATER
cancellationToken
diff --git a/src/libs/ModerationAPI/Generated/ModerationAPI.ActionsClient.ActionsList.g.cs b/src/libs/ModerationAPI/Generated/ModerationAPI.ActionsClient.ActionsList.g.cs
index 8339db2..71e685a 100644
--- a/src/libs/ModerationAPI/Generated/ModerationAPI.ActionsClient.ActionsList.g.cs
+++ b/src/libs/ModerationAPI/Generated/ModerationAPI.ActionsClient.ActionsList.g.cs
@@ -332,6 +332,7 @@ partial void ProcessActionsListResponseContent(
try
{
__response.EnsureSuccessStatusCode();
+
using var __content = await __response.Content.ReadAsStreamAsync(
#if NET5_0_OR_GREATER
cancellationToken
diff --git a/src/libs/ModerationAPI/Generated/ModerationAPI.ActionsClient.ActionsUpdate.g.cs b/src/libs/ModerationAPI/Generated/ModerationAPI.ActionsClient.ActionsUpdate.g.cs
index c6f1103..d9fd411 100644
--- a/src/libs/ModerationAPI/Generated/ModerationAPI.ActionsClient.ActionsUpdate.g.cs
+++ b/src/libs/ModerationAPI/Generated/ModerationAPI.ActionsClient.ActionsUpdate.g.cs
@@ -308,6 +308,7 @@ partial void ProcessActionsUpdateResponseContent(
try
{
__response.EnsureSuccessStatusCode();
+
using var __content = await __response.Content.ReadAsStreamAsync(
#if NET5_0_OR_GREATER
cancellationToken
diff --git a/src/libs/ModerationAPI/Generated/ModerationAPI.AuthorClient.AuthorDelete.g.cs b/src/libs/ModerationAPI/Generated/ModerationAPI.AuthorClient.AuthorDelete.g.cs
index eb6cf7c..589de92 100644
--- a/src/libs/ModerationAPI/Generated/ModerationAPI.AuthorClient.AuthorDelete.g.cs
+++ b/src/libs/ModerationAPI/Generated/ModerationAPI.AuthorClient.AuthorDelete.g.cs
@@ -329,6 +329,7 @@ partial void ProcessAuthorDeleteResponseContent(
try
{
__response.EnsureSuccessStatusCode();
+
using var __content = await __response.Content.ReadAsStreamAsync(
#if NET5_0_OR_GREATER
cancellationToken
diff --git a/src/libs/ModerationAPI/Generated/ModerationAPI.AuthorClient.AuthorOpenCreate.g.cs b/src/libs/ModerationAPI/Generated/ModerationAPI.AuthorClient.AuthorOpenCreate.g.cs
index d89fe80..42e2fd2 100644
--- a/src/libs/ModerationAPI/Generated/ModerationAPI.AuthorClient.AuthorOpenCreate.g.cs
+++ b/src/libs/ModerationAPI/Generated/ModerationAPI.AuthorClient.AuthorOpenCreate.g.cs
@@ -300,6 +300,7 @@ partial void ProcessAuthorOpenCreateResponseContent(
try
{
__response.EnsureSuccessStatusCode();
+
using var __content = await __response.Content.ReadAsStreamAsync(
#if NET5_0_OR_GREATER
cancellationToken
diff --git a/src/libs/ModerationAPI/Generated/ModerationAPI.AuthorClient.AuthorOpenGetAuthorDetails.g.cs b/src/libs/ModerationAPI/Generated/ModerationAPI.AuthorClient.AuthorOpenGetAuthorDetails.g.cs
index 69cb4fc..d5f5190 100644
--- a/src/libs/ModerationAPI/Generated/ModerationAPI.AuthorClient.AuthorOpenGetAuthorDetails.g.cs
+++ b/src/libs/ModerationAPI/Generated/ModerationAPI.AuthorClient.AuthorOpenGetAuthorDetails.g.cs
@@ -331,6 +331,7 @@ partial void ProcessAuthorOpenGetAuthorDetailsResponseContent(
try
{
__response.EnsureSuccessStatusCode();
+
using var __content = await __response.Content.ReadAsStreamAsync(
#if NET5_0_OR_GREATER
cancellationToken
diff --git a/src/libs/ModerationAPI/Generated/ModerationAPI.AuthorClient.AuthorOpenListAuthors.g.cs b/src/libs/ModerationAPI/Generated/ModerationAPI.AuthorClient.AuthorOpenListAuthors.g.cs
index 94bd76d..424d5f1 100644
--- a/src/libs/ModerationAPI/Generated/ModerationAPI.AuthorClient.AuthorOpenListAuthors.g.cs
+++ b/src/libs/ModerationAPI/Generated/ModerationAPI.AuthorClient.AuthorOpenListAuthors.g.cs
@@ -383,6 +383,7 @@ partial void ProcessAuthorOpenListAuthorsResponseContent(
try
{
__response.EnsureSuccessStatusCode();
+
using var __content = await __response.Content.ReadAsStreamAsync(
#if NET5_0_OR_GREATER
cancellationToken
diff --git a/src/libs/ModerationAPI/Generated/ModerationAPI.AuthorClient.AuthorOpenUpdate.g.cs b/src/libs/ModerationAPI/Generated/ModerationAPI.AuthorClient.AuthorOpenUpdate.g.cs
index 2ae1e9d..ec66eb0 100644
--- a/src/libs/ModerationAPI/Generated/ModerationAPI.AuthorClient.AuthorOpenUpdate.g.cs
+++ b/src/libs/ModerationAPI/Generated/ModerationAPI.AuthorClient.AuthorOpenUpdate.g.cs
@@ -346,6 +346,7 @@ partial void ProcessAuthorOpenUpdateResponseContent(
try
{
__response.EnsureSuccessStatusCode();
+
using var __content = await __response.Content.ReadAsStreamAsync(
#if NET5_0_OR_GREATER
cancellationToken
diff --git a/src/libs/ModerationAPI/Generated/ModerationAPI.ModerationAPIClient.NewModerateModerate.g.cs b/src/libs/ModerationAPI/Generated/ModerationAPI.ModerationAPIClient.NewModerateModerate.g.cs
index 205696d..f2ec8bf 100644
--- a/src/libs/ModerationAPI/Generated/ModerationAPI.ModerationAPIClient.NewModerateModerate.g.cs
+++ b/src/libs/ModerationAPI/Generated/ModerationAPI.ModerationAPIClient.NewModerateModerate.g.cs
@@ -299,6 +299,7 @@ partial void ProcessNewModerateModerateResponseContent(
try
{
__response.EnsureSuccessStatusCode();
+
using var __content = await __response.Content.ReadAsStreamAsync(
#if NET5_0_OR_GREATER
cancellationToken
diff --git a/src/libs/ModerationAPI/Generated/ModerationAPI.Polyfills.g.cs b/src/libs/ModerationAPI/Generated/ModerationAPI.Polyfills.g.cs
index 66383f5..4c2d4cb 100644
--- a/src/libs/ModerationAPI/Generated/ModerationAPI.Polyfills.g.cs
+++ b/src/libs/ModerationAPI/Generated/ModerationAPI.Polyfills.g.cs
@@ -1,4 +1,5 @@
+#if !NET6_0_OR_GREATER
#nullable enable
namespace ModerationAPI
@@ -8,7 +9,6 @@ namespace ModerationAPI
///
public static partial class AutoSdkPolyfills
{
-#if !NET6_0_OR_GREATER
///
///
///
@@ -48,128 +48,6 @@ public static partial class AutoSdkPolyfills
content = content ?? throw new global::System.ArgumentNullException(nameof(content));
return content.ReadAsByteArrayAsync();
}
-#endif
-
- ///
- /// Creates a JSON request content instance.
- ///
- public static global::System.Net.Http.HttpContent CreateJsonContent(
- T inputValue,
- string mediaType,
- global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions)
- {
- if (string.IsNullOrWhiteSpace(mediaType))
- {
- throw new global::System.ArgumentException("Media type is required.", nameof(mediaType));
- }
-
-#if NET5_0_OR_GREATER
- return global::System.Net.Http.Json.JsonContent.Create(
- inputValue: inputValue,
- mediaType: new global::System.Net.Http.Headers.MediaTypeHeaderValue(mediaType),
- options: jsonSerializerOptions);
-#else
- var json = global::System.Text.Json.JsonSerializer.Serialize(inputValue, jsonSerializerOptions);
- var stringContent = new global::System.Net.Http.StringContent(
- content: json,
- encoding: global::System.Text.Encoding.UTF8);
- stringContent.Headers.ContentType = new global::System.Net.Http.Headers.MediaTypeHeaderValue(mediaType)
- {
- CharSet = global::System.Text.Encoding.UTF8.WebName,
- };
- return stringContent;
-#endif
- }
-
- ///
- /// Creates a JSON request content instance using a source-generated serializer context.
- ///
- public static global::System.Net.Http.HttpContent CreateJsonContent(
- object? inputValue,
- global::System.Type inputType,
- string mediaType,
- global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
- {
- inputType = inputType ?? throw new global::System.ArgumentNullException(nameof(inputType));
- jsonSerializerContext = jsonSerializerContext ?? throw new global::System.ArgumentNullException(nameof(jsonSerializerContext));
-
- if (string.IsNullOrWhiteSpace(mediaType))
- {
- throw new global::System.ArgumentException("Media type is required.", nameof(mediaType));
- }
-
-#if NET5_0_OR_GREATER
- var jsonTypeInfo = jsonSerializerContext.GetTypeInfo(inputType) ??
- throw new global::System.InvalidOperationException($"No JsonTypeInfo registered for '{inputType}'.");
- return global::System.Net.Http.Json.JsonContent.Create(
- inputValue: inputValue,
- jsonTypeInfo: jsonTypeInfo,
- mediaType: new global::System.Net.Http.Headers.MediaTypeHeaderValue(mediaType));
-#else
- var json = global::System.Text.Json.JsonSerializer.Serialize(
- value: inputValue,
- inputType: inputType,
- jsonSerializerContext);
- var stringContent = new global::System.Net.Http.StringContent(
- content: json,
- encoding: global::System.Text.Encoding.UTF8);
- stringContent.Headers.ContentType = new global::System.Net.Http.Headers.MediaTypeHeaderValue(mediaType)
- {
- CharSet = global::System.Text.Encoding.UTF8.WebName,
- };
- return stringContent;
-#endif
- }
-
- ///
- /// Reads JSON content into the specified type using serializer options.
- ///
- public static async global::System.Threading.Tasks.Task ReadFromJsonAsync(
- this global::System.Net.Http.HttpContent content,
- global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions,
- global::System.Threading.CancellationToken cancellationToken)
- {
- content = content ?? throw new global::System.ArgumentNullException(nameof(content));
-
-#if NET5_0_OR_GREATER
- return await global::System.Net.Http.Json.HttpContentJsonExtensions.ReadFromJsonAsync(
- content,
- jsonSerializerOptions,
- cancellationToken).ConfigureAwait(false);
-#else
- using var stream = await AutoSdkPolyfills.ReadAsStreamAsync(content, cancellationToken).ConfigureAwait(false);
- return await global::System.Text.Json.JsonSerializer.DeserializeAsync(
- utf8Json: stream,
- options: jsonSerializerOptions,
- cancellationToken: cancellationToken).ConfigureAwait(false);
-#endif
- }
-
- ///
- /// Reads JSON content into the specified type using a source-generated serializer context.
- ///
- public static async global::System.Threading.Tasks.Task ReadFromJsonAsync(
- this global::System.Net.Http.HttpContent content,
- global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext,
- global::System.Threading.CancellationToken cancellationToken)
- {
- content = content ?? throw new global::System.ArgumentNullException(nameof(content));
- jsonSerializerContext = jsonSerializerContext ?? throw new global::System.ArgumentNullException(nameof(jsonSerializerContext));
-
-#if NET5_0_OR_GREATER
- return (T?)await global::System.Net.Http.Json.HttpContentJsonExtensions.ReadFromJsonAsync(
- content,
- typeof(T),
- jsonSerializerContext,
- cancellationToken).ConfigureAwait(false);
-#else
- using var stream = await AutoSdkPolyfills.ReadAsStreamAsync(content, cancellationToken).ConfigureAwait(false);
- return (T?)await global::System.Text.Json.JsonSerializer.DeserializeAsync(
- utf8Json: stream,
- returnType: typeof(T),
- jsonSerializerContext,
- cancellationToken: cancellationToken).ConfigureAwait(false);
-#endif
- }
}
}
+#endif
\ No newline at end of file
diff --git a/src/libs/ModerationAPI/Generated/ModerationAPI.ReviewQueuesClient.QueueViewOpenGetItems.g.cs b/src/libs/ModerationAPI/Generated/ModerationAPI.ReviewQueuesClient.QueueViewOpenGetItems.g.cs
index 95abbda..41d9fd4 100644
--- a/src/libs/ModerationAPI/Generated/ModerationAPI.ReviewQueuesClient.QueueViewOpenGetItems.g.cs
+++ b/src/libs/ModerationAPI/Generated/ModerationAPI.ReviewQueuesClient.QueueViewOpenGetItems.g.cs
@@ -419,6 +419,7 @@ partial void ProcessQueueViewOpenGetItemsResponseContent(
try
{
__response.EnsureSuccessStatusCode();
+
using var __content = await __response.Content.ReadAsStreamAsync(
#if NET5_0_OR_GREATER
cancellationToken
diff --git a/src/libs/ModerationAPI/Generated/ModerationAPI.ReviewQueuesClient.QueueViewOpenGetQueue.g.cs b/src/libs/ModerationAPI/Generated/ModerationAPI.ReviewQueuesClient.QueueViewOpenGetQueue.g.cs
index 187d377..9eccff7 100644
--- a/src/libs/ModerationAPI/Generated/ModerationAPI.ReviewQueuesClient.QueueViewOpenGetQueue.g.cs
+++ b/src/libs/ModerationAPI/Generated/ModerationAPI.ReviewQueuesClient.QueueViewOpenGetQueue.g.cs
@@ -331,6 +331,7 @@ partial void ProcessQueueViewOpenGetQueueResponseContent(
try
{
__response.EnsureSuccessStatusCode();
+
using var __content = await __response.Content.ReadAsStreamAsync(
#if NET5_0_OR_GREATER
cancellationToken
diff --git a/src/libs/ModerationAPI/Generated/ModerationAPI.ReviewQueuesClient.QueueViewOpenGetStats.g.cs b/src/libs/ModerationAPI/Generated/ModerationAPI.ReviewQueuesClient.QueueViewOpenGetStats.g.cs
index b4eb16f..f7fcb46 100644
--- a/src/libs/ModerationAPI/Generated/ModerationAPI.ReviewQueuesClient.QueueViewOpenGetStats.g.cs
+++ b/src/libs/ModerationAPI/Generated/ModerationAPI.ReviewQueuesClient.QueueViewOpenGetStats.g.cs
@@ -343,6 +343,7 @@ partial void ProcessQueueViewOpenGetStatsResponseContent(
try
{
__response.EnsureSuccessStatusCode();
+
using var __content = await __response.Content.ReadAsStreamAsync(
#if NET5_0_OR_GREATER
cancellationToken
diff --git a/src/libs/ModerationAPI/Generated/ModerationAPI.ReviewQueuesClient.QueueViewOpenResolveItem.g.cs b/src/libs/ModerationAPI/Generated/ModerationAPI.ReviewQueuesClient.QueueViewOpenResolveItem.g.cs
index 51a616a..ab3fb9d 100644
--- a/src/libs/ModerationAPI/Generated/ModerationAPI.ReviewQueuesClient.QueueViewOpenResolveItem.g.cs
+++ b/src/libs/ModerationAPI/Generated/ModerationAPI.ReviewQueuesClient.QueueViewOpenResolveItem.g.cs
@@ -316,6 +316,7 @@ partial void ProcessQueueViewOpenResolveItemResponseContent(
try
{
__response.EnsureSuccessStatusCode();
+
using var __content = await __response.Content.ReadAsStreamAsync(
#if NET5_0_OR_GREATER
cancellationToken
diff --git a/src/libs/ModerationAPI/Generated/ModerationAPI.ReviewQueuesClient.QueueViewOpenUnresolveItem.g.cs b/src/libs/ModerationAPI/Generated/ModerationAPI.ReviewQueuesClient.QueueViewOpenUnresolveItem.g.cs
index e95cdce..d5286e6 100644
--- a/src/libs/ModerationAPI/Generated/ModerationAPI.ReviewQueuesClient.QueueViewOpenUnresolveItem.g.cs
+++ b/src/libs/ModerationAPI/Generated/ModerationAPI.ReviewQueuesClient.QueueViewOpenUnresolveItem.g.cs
@@ -316,6 +316,7 @@ partial void ProcessQueueViewOpenUnresolveItemResponseContent(
try
{
__response.EnsureSuccessStatusCode();
+
using var __content = await __response.Content.ReadAsStreamAsync(
#if NET5_0_OR_GREATER
cancellationToken
diff --git a/src/libs/ModerationAPI/Generated/ModerationAPI.WordlistClient.WordlistAddWords.g.cs b/src/libs/ModerationAPI/Generated/ModerationAPI.WordlistClient.WordlistAddWords.g.cs
index 11b3e7e..ac7274b 100644
--- a/src/libs/ModerationAPI/Generated/ModerationAPI.WordlistClient.WordlistAddWords.g.cs
+++ b/src/libs/ModerationAPI/Generated/ModerationAPI.WordlistClient.WordlistAddWords.g.cs
@@ -270,6 +270,7 @@ partial void ProcessWordlistAddWordsResponseContent(
try
{
__response.EnsureSuccessStatusCode();
+
using var __content = await __response.Content.ReadAsStreamAsync(
#if NET5_0_OR_GREATER
cancellationToken
diff --git a/src/libs/ModerationAPI/Generated/ModerationAPI.WordlistClient.WordlistGetWordlistPublic.g.cs b/src/libs/ModerationAPI/Generated/ModerationAPI.WordlistClient.WordlistGetWordlistPublic.g.cs
index fdda049..99bb23d 100644
--- a/src/libs/ModerationAPI/Generated/ModerationAPI.WordlistClient.WordlistGetWordlistPublic.g.cs
+++ b/src/libs/ModerationAPI/Generated/ModerationAPI.WordlistClient.WordlistGetWordlistPublic.g.cs
@@ -331,6 +331,7 @@ partial void ProcessWordlistGetWordlistPublicResponseContent(
try
{
__response.EnsureSuccessStatusCode();
+
using var __content = await __response.Content.ReadAsStreamAsync(
#if NET5_0_OR_GREATER
cancellationToken
diff --git a/src/libs/ModerationAPI/Generated/ModerationAPI.WordlistClient.WordlistList.g.cs b/src/libs/ModerationAPI/Generated/ModerationAPI.WordlistClient.WordlistList.g.cs
index bce64e5..06dc1fc 100644
--- a/src/libs/ModerationAPI/Generated/ModerationAPI.WordlistClient.WordlistList.g.cs
+++ b/src/libs/ModerationAPI/Generated/ModerationAPI.WordlistClient.WordlistList.g.cs
@@ -247,6 +247,7 @@ partial void ProcessWordlistListResponseContent(
try
{
__response.EnsureSuccessStatusCode();
+
using var __content = await __response.Content.ReadAsStreamAsync(
#if NET5_0_OR_GREATER
cancellationToken
diff --git a/src/libs/ModerationAPI/Generated/ModerationAPI.WordlistClient.WordlistRemoveWords.g.cs b/src/libs/ModerationAPI/Generated/ModerationAPI.WordlistClient.WordlistRemoveWords.g.cs
index c4d15ed..3f34802 100644
--- a/src/libs/ModerationAPI/Generated/ModerationAPI.WordlistClient.WordlistRemoveWords.g.cs
+++ b/src/libs/ModerationAPI/Generated/ModerationAPI.WordlistClient.WordlistRemoveWords.g.cs
@@ -266,6 +266,7 @@ partial void ProcessWordlistRemoveWordsResponseContent(
try
{
__response.EnsureSuccessStatusCode();
+
using var __content = await __response.Content.ReadAsStreamAsync(
#if NET5_0_OR_GREATER
cancellationToken
diff --git a/src/libs/ModerationAPI/Generated/ModerationAPI.WordlistClient.WordlistUpdate.g.cs b/src/libs/ModerationAPI/Generated/ModerationAPI.WordlistClient.WordlistUpdate.g.cs
index 779df76..ddb37dd 100644
--- a/src/libs/ModerationAPI/Generated/ModerationAPI.WordlistClient.WordlistUpdate.g.cs
+++ b/src/libs/ModerationAPI/Generated/ModerationAPI.WordlistClient.WordlistUpdate.g.cs
@@ -270,6 +270,7 @@ partial void ProcessWordlistUpdateResponseContent(
try
{
__response.EnsureSuccessStatusCode();
+
using var __content = await __response.Content.ReadAsStreamAsync(
#if NET5_0_OR_GREATER
cancellationToken
diff --git a/src/libs/ModerationAPI/Generated/ModerationAPI.WordlistClient.WordlistWordlistEmbeddingStatus.g.cs b/src/libs/ModerationAPI/Generated/ModerationAPI.WordlistClient.WordlistWordlistEmbeddingStatus.g.cs
index 31e92ed..30cee1d 100644
--- a/src/libs/ModerationAPI/Generated/ModerationAPI.WordlistClient.WordlistWordlistEmbeddingStatus.g.cs
+++ b/src/libs/ModerationAPI/Generated/ModerationAPI.WordlistClient.WordlistWordlistEmbeddingStatus.g.cs
@@ -331,6 +331,7 @@ partial void ProcessWordlistWordlistEmbeddingStatusResponseContent(
try
{
__response.EnsureSuccessStatusCode();
+
using var __content = await __response.Content.ReadAsStreamAsync(
#if NET5_0_OR_GREATER
cancellationToken