Skip to content

Commit f406310

Browse files
authored
Update responses.md
Moved include for api-endpoint-auth further below the intro
1 parent f99f5dd commit f406310

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

aspnetcore/fundamentals/minimal-apis/responses.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ uid: fundamentals/minimal-apis/responses
1414

1515
This article explains how to create responses for minimal API endpoints in ASP.NET Core. Minimal APIs provide several ways to return data and HTTP status codes.
1616

17-
[!INCLUDE[](~/includes/api-endpoint-auth.md)]
18-
1917
:::moniker range=">= aspnetcore-10.0"
2018

2119
Minimal endpoints support the following types of return values:
@@ -24,6 +22,8 @@ Minimal endpoints support the following types of return values:
2422
1. `T` (Any other type) - This includes `Task<T>` and `ValueTask<T>`.
2523
1. `IResult` based - This includes `Task<IResult>` and `ValueTask<IResult>`.
2624

25+
[!INCLUDE[](~/includes/api-endpoint-auth.md)]
26+
2727
## `string` return values
2828

2929
|Behavior|Content-Type|

0 commit comments

Comments
 (0)