Skip to content

Fix WriteAsJsonAsync docs #27108

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 22, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions src/Http/Http.Extensions/src/HttpResponseJsonExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public static partial class HttpResponseJsonExtensions
{
/// <summary>
/// Write the specified value as JSON to the response body. The response content-type will be set to
/// <c>application/json; charset=utf-8</c> and the status code set to <c>200</c>.
/// <c>application/json; charset=utf-8</c>.
/// </summary>
/// <typeparam name="TValue">The type of object to write.</typeparam>
/// <param name="response">The response to write JSON to.</param>
Expand All @@ -36,7 +36,7 @@ public static Task WriteAsJsonAsync<TValue>(

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

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

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

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

/// <summary>
/// Write the specified value as JSON to the response body. The response content-type will be set to
/// the specified content-type and the status code set to <c>200</c>.
/// the specified content-type.
/// </summary>
/// <param name="response">The response to write JSON to.</param>
/// <param name="value">The value to write as JSON.</param>
Expand Down