From b91a99814e05fcf59038cd7036311e42fd3c1d3e Mon Sep 17 00:00:00 2001 From: Tom Dykstra Date: Wed, 24 Aug 2022 09:25:56 -0700 Subject: [PATCH 1/2] add to toc --- aspnetcore/toc.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/aspnetcore/toc.yml b/aspnetcore/toc.yml index abfb687e4f..e6c91b8b59 100644 --- a/aspnetcore/toc.yml +++ b/aspnetcore/toc.yml @@ -668,6 +668,8 @@ items: items: - name: Minimal APIs overview uid: fundamentals/minimal-apis + - name: OpenAPI in Minimal API apps + uid: fundamentals/minimal-apis/openapi - name: Filters in Minimal API apps uid: fundamentals/minimal-apis/min-api-filters - name: Real-time apps From 91384bbbd2a695923281a054046a4818a6b04337 Mon Sep 17 00:00:00 2001 From: Tom Dykstra Date: Wed, 24 Aug 2022 09:35:13 -0700 Subject: [PATCH 2/2] add see also section --- aspnetcore/fundamentals/minimal-apis.md | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/aspnetcore/fundamentals/minimal-apis.md b/aspnetcore/fundamentals/minimal-apis.md index a4bc2603bc..f681073827 100644 --- a/aspnetcore/fundamentals/minimal-apis.md +++ b/aspnetcore/fundamentals/minimal-apis.md @@ -769,6 +769,10 @@ Routes can be [CORS](xref:security/cors?view=aspnetcore-6.0) enabled using [CORS For more information, see +## See also + +[OpenAPI support in minimal APIs](xref:fundamentals/minimal-apis/openapi) + :::moniker-end :::moniker range=">= aspnetcore-7.0" @@ -1621,10 +1625,10 @@ The types implementing `IResult` are public, allowing for type assertions when t # Differences between minimal APIs and APIs with controllers Moved to uid: tutorials/min-web-api - -## OpenAPI (.NET 7 moniker only) - -Moved to uid:fundamentals/minimum-apis/openapi --> +## See also + +[OpenAPI support in minimal APIs](xref:fundamentals/minimal-apis/openapi) + :::moniker-end