From 12af057a15d860d459b13de1aeae5b58511bbf08 Mon Sep 17 00:00:00 2001 From: Rick Anderson <3605364+Rick-Anderson@users.noreply.github.com> Date: Thu, 5 Sep 2024 15:35:05 -1000 Subject: [PATCH] swashbuckle.aspnetcore being removed in dotnet 9 (#33545) * swashbuckle.aspnetcore being removed in dotnet 9 * Update getting-started-with-swashbuckle8.md * Update aspnetcore/tutorials/getting-started-with-swashbuckle/includes/getting-started-with-swashbuckle8.md --- aspnetcore/tutorials/getting-started-with-swashbuckle.md | 2 +- .../includes/getting-started-with-swashbuckle8.md | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/aspnetcore/tutorials/getting-started-with-swashbuckle.md b/aspnetcore/tutorials/getting-started-with-swashbuckle.md index 0eaad11ab382..29c2a6f1e2c0 100644 --- a/aspnetcore/tutorials/getting-started-with-swashbuckle.md +++ b/aspnetcore/tutorials/getting-started-with-swashbuckle.md @@ -5,7 +5,7 @@ description: Learn how to add Swashbuckle to your ASP.NET Core web API project t ms.author: wpickett monikerRange: ">= aspnetcore-3.1 <= aspnetcore-8.0" ms.custom: mvc -ms.date: 08/27/2024 +ms.date: 8/27/2024 uid: tutorials/get-started-with-swashbuckle --- # Get started with Swashbuckle and ASP.NET Core diff --git a/aspnetcore/tutorials/getting-started-with-swashbuckle/includes/getting-started-with-swashbuckle8.md b/aspnetcore/tutorials/getting-started-with-swashbuckle/includes/getting-started-with-swashbuckle8.md index e8ee17e7d119..37cfe0581c83 100644 --- a/aspnetcore/tutorials/getting-started-with-swashbuckle/includes/getting-started-with-swashbuckle8.md +++ b/aspnetcore/tutorials/getting-started-with-swashbuckle/includes/getting-started-with-swashbuckle8.md @@ -1,6 +1,9 @@ :::moniker range=">= aspnetcore-6.0 < aspnetcore-9.0" +> [!NOTE] +> Swashbuckle is not available in .NET 9 and later. For an alternative, see . + There are three main components to Swashbuckle: * [Swashbuckle.AspNetCore.Swagger](https://www.nuget.org/packages/Swashbuckle.AspNetCore.Swagger/): a Swagger object model and middleware to expose `SwaggerDocument` objects as JSON endpoints.