Skip to content

Commit 63199b4

Browse files
authored
Fix WriteAsJsonAsync docs (#27108)
1 parent cfae382 commit 63199b4

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/Http/Http.Extensions/src/HttpResponseJsonExtensions.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public static partial class HttpResponseJsonExtensions
1818
{
1919
/// <summary>
2020
/// Write the specified value as JSON to the response body. The response content-type will be set to
21-
/// <c>application/json; charset=utf-8</c> and the status code set to <c>200</c>.
21+
/// <c>application/json; charset=utf-8</c>.
2222
/// </summary>
2323
/// <typeparam name="TValue">The type of object to write.</typeparam>
2424
/// <param name="response">The response to write JSON to.</param>
@@ -36,7 +36,7 @@ public static Task WriteAsJsonAsync<TValue>(
3636

3737
/// <summary>
3838
/// Write the specified value as JSON to the response body. The response content-type will be set to
39-
/// <c>application/json; charset=utf-8</c> and the status code set to <c>200</c>.
39+
/// <c>application/json; charset=utf-8</c>.
4040
/// </summary>
4141
/// <typeparam name="TValue">The type of object to write.</typeparam>
4242
/// <param name="response">The response to write JSON to.</param>
@@ -56,7 +56,7 @@ public static Task WriteAsJsonAsync<TValue>(
5656

5757
/// <summary>
5858
/// Write the specified value as JSON to the response body. The response content-type will be set to
59-
/// the specified content-type and the status code set to <c>200</c>.
59+
/// the specified content-type.
6060
/// </summary>
6161
/// <typeparam name="TValue">The type of object to write.</typeparam>
6262
/// <param name="response">The response to write JSON to.</param>
@@ -86,7 +86,7 @@ public static Task WriteAsJsonAsync<TValue>(
8686

8787
/// <summary>
8888
/// Write the specified value as JSON to the response body. The response content-type will be set to
89-
/// <c>application/json; charset=utf-8</c> and the status code set to <c>200</c>.
89+
/// <c>application/json; charset=utf-8</c>.
9090
/// </summary>
9191
/// <param name="response">The response to write JSON to.</param>
9292
/// <param name="value">The value to write as JSON.</param>
@@ -105,7 +105,7 @@ public static Task WriteAsJsonAsync(
105105

106106
/// <summary>
107107
/// Write the specified value as JSON to the response body. The response content-type will be set to
108-
/// <c>application/json; charset=utf-8</c> and the status code set to <c>200</c>.
108+
/// <c>application/json; charset=utf-8</c>.
109109
/// </summary>
110110
/// <param name="response">The response to write JSON to.</param>
111111
/// <param name="value">The value to write as JSON.</param>
@@ -126,7 +126,7 @@ public static Task WriteAsJsonAsync(
126126

127127
/// <summary>
128128
/// Write the specified value as JSON to the response body. The response content-type will be set to
129-
/// the specified content-type and the status code set to <c>200</c>.
129+
/// the specified content-type.
130130
/// </summary>
131131
/// <param name="response">The response to write JSON to.</param>
132132
/// <param name="value">The value to write as JSON.</param>

0 commit comments

Comments
 (0)