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
pull/33558/head
Rick Anderson 2024-09-05 15:35:05 -10:00 committed by GitHub
parent 4b5b42ae84
commit 12af057a15
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 1 deletions

View File

@ -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

View File

@ -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 <xref:fundamentals/openapi/overview?view=aspnetcore-9.0&preserve-view=true>.
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.