Swashbuckle.AspNetCore.SwaggerGen 8.1.1

dotnet add package Swashbuckle.AspNetCore.SwaggerGen --version 8.1.1
                    
NuGet\Install-Package Swashbuckle.AspNetCore.SwaggerGen -Version 8.1.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Swashbuckle.AspNetCore.SwaggerGen" Version="8.1.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Swashbuckle.AspNetCore.SwaggerGen" Version="8.1.1" />
                    
Directory.Packages.props
<PackageReference Include="Swashbuckle.AspNetCore.SwaggerGen" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Swashbuckle.AspNetCore.SwaggerGen --version 8.1.1
                    
#r "nuget: Swashbuckle.AspNetCore.SwaggerGen, 8.1.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#addin nuget:?package=Swashbuckle.AspNetCore.SwaggerGen&version=8.1.1
                    
Install Swashbuckle.AspNetCore.SwaggerGen as a Cake Addin
#tool nuget:?package=Swashbuckle.AspNetCore.SwaggerGen&version=8.1.1
                    
Install Swashbuckle.AspNetCore.SwaggerGen as a Cake Tool

Swashbuckle.AspNetCore

Swagger tooling for APIs built with ASP.NET Core.

Generate beautiful API documentation, including a UI to explore and test operations, directly from your routes, controllers and models.

Build status Code coverage

Release notes

  • The repository's releases describes changes by release.
  • We tag Pull Requests and Issues with milestones which match to NuGet package release numbers.

Documentation and Samples

Documentation, and samples, for using Swashbuckle.AspNetCore can be found in the repository's README.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (943)

Showing the top 5 NuGet packages that depend on Swashbuckle.AspNetCore.SwaggerGen:

Package Downloads
Swashbuckle.AspNetCore

Swagger tools for documenting APIs built on ASP.NET Core

Swashbuckle.AspNetCore.Annotations

Provides custom attributes that can be applied to controllers, actions and models to enrich the generated Swagger

Swashbuckle.AspNetCore.Newtonsoft

Swagger Generator opt-in component to support Newtonsoft.Json serializer behaviors

Swashbuckle.AspNetCore.Filters

Some additional useful filters for Swashbuckle.AspNetCore. This package replaces Swashbuckle.AspNetCore.Examples.

MicroElements.Swashbuckle.FluentValidation

Swagger ISchemaFilter that uses FluentValidation validators instead System.ComponentModel based attributes.

GitHub repositories (87)

Showing the top 20 popular GitHub repositories that depend on Swashbuckle.AspNetCore.SwaggerGen:

Repository Stars
bitwarden/server
Bitwarden infrastructure/backend (API, database, Docker, etc).
Sonarr/Sonarr
Smart PVR for newsgroup and bittorrent users.
Radarr/Radarr
Movie organizer/manager for usenet and torrent users.
EduardoPires/EquinoxProject
Web Application ASP.NET 9 using Clean Architecture, DDD, CQRS, Event Sourcing and a lot of good practices
Prowlarr/Prowlarr
Prowlarr is an indexer manager/proxy built on the popular *arr .net/reactjs base stack to integrate with your various PVR apps, supporting management of both Torrent Trackers and Usenet Indexers.
cobbr/Covenant
Covenant is a collaborative .NET C2 framework for red teamers.
dotnetcore/WTM
Use WTM to write .netcore app fast !!!
Lidarr/Lidarr
Looks and smells like Sonarr but made for music.
ardalis/ApiEndpoints
A project for supporting API Endpoints in ASP.NET Core web applications.
Readarr/Readarr
Book Manager and Automation (Sonarr for Ebooks)
dotnetcore/AgileConfig
基于.NET Core开发的轻量级分布式配置中心 / .NET Core lightweight configuration server
AlphaYu/adnc
.NET微服务/分布式开发框架,同时也适用于单体架构系统的开发。
VirtoCommerce/vc-platform
Virto Commerce B2B Innovation Platform
OfficeDev/Microsoft-Teams-Samples
Welcome to the Microsoft Teams samples repository. Here you will find task-focused samples in C#, JavaScript and TypeScript to help you get started with the Microsoft Teams App!
meysamhadeli/monolith-to-cloud-architecture
A practical architecture styles for migrating from monolith to modern cloud native application with the latest technologies and architectures like Vertical Slice Architecture, Event Sourcing, CQRS, DDD, gRpc, MongoDB, RabbitMq, and Masstransit in .Net 9.
snatch-dev/Convey
A simple recipe for .NET Core microservices.
dotnetcore/FlubuCore
A cross platform build and deployment automation system for building projects and executing deployment scripts using C# code.
trueai-org/module-shop
一个基于 .NET 8.0 构建的简单、跨平台、模块化的商城系统
newbe36524/Newbe.Mahua.Framework
本SDK为实现QQ机器人平台的大一统,支持多种机器人平台:酷Q、MyPCQQ、QQLight等
simpleidserver/SimpleIdServer
OpenID, OAuth 2.0, SCIM2.0, UMA2.0, FAPI, CIBA & OPENBANKING Framework for ASP.NET Core
Version Downloads Last updated
8.1.1 86,006 4/10/2025
8.1.0 571,757 3/31/2025
8.0.0 943,101 3/18/2025
7.3.2 325,709 3/18/2025
7.3.1 2,301,168 2/27/2025
7.3.0 251,910 2/26/2025
7.2.0 12,366,587 12/10/2024
7.1.0 3,855,940 11/25/2024
7.0.0 4,027,462 11/12/2024
6.9.0 12,554,313 10/15/2024
6.8.1 5,666,841 9/30/2024
6.8.0 2,310,581 9/23/2024
6.7.3 9,878,680 8/26/2024
6.7.2 303,030 8/24/2024
6.7.1 2,826,933 8/18/2024
6.7.0 5,233,294 8/1/2024
6.6.2 27,806,816 5/21/2024
6.6.1 3,175,554 5/14/2024
6.6.0-preview.322 1,101 5/14/2024
6.5.0 179,399,029 1/11/2023
6.4.0 97,019,849 7/19/2022
6.3.1 33,622,950 4/22/2022
6.3.0 37,331,425 3/7/2022
6.2.3 84,951,745 10/16/2021
6.2.2 8,942,141 9/22/2021
6.2.1 6,949,894 8/30/2021
6.2.0 104,738 8/30/2021
6.1.5 7,950,209 8/2/2021
6.1.4 25,449,881 4/30/2021
6.1.3 3,276,165 4/20/2021
6.1.2 2,907,396 4/9/2021
6.1.1 7,639,033 3/16/2021
6.1.0 4,119,056 3/6/2021
6.0.7 5,794,243 2/16/2021
6.0.6 99,122 2/16/2021
6.0.5 741,607 2/13/2021
6.0.4 664,978 2/10/2021
6.0.3 170,642 2/10/2021
6.0.2 5,005,511 2/7/2021
6.0.1 263,039 2/6/2021
6.0.0 2,069,763 2/5/2021
5.6.3 65,364,089 9/23/2020
5.6.2 771,563 9/22/2020
5.6.1 2,770,090 9/16/2020
5.5.1 26,750,772 6/25/2020
5.5.0 5,091,184 6/19/2020
5.4.1 18,487,370 4/29/2020
5.4.0 757,023 4/28/2020
5.3.3 3,003,196 4/20/2020
5.3.2 3,156,344 4/17/2020
5.3.1 5,636,866 4/3/2020
5.3.0 392,830 4/2/2020
5.2.1 3,394,683 3/23/2020
5.2.0 1,458,285 3/20/2020
5.1.0 3,484,815 3/11/2020
5.0.0 66,725,781 1/14/2020
5.0.0-rc5 3,619,821 12/12/2019
5.0.0-rc4 8,516,702 9/30/2019
5.0.0-rc3 597,312 9/20/2019
5.0.0-rc2 3,956,995 3/22/2019
5.0.0-rc1 14,809 3/20/2019
5.0.0-beta 692,095 11/24/2018
4.0.1 39,013,141 11/7/2018
4.0.0 454,033 11/6/2018
3.0.0 12,184,377 7/6/2018
2.5.0 2,976,109 6/5/2018
2.4.0 3,193,031 4/7/2018
2.3.0 1,307,153 3/12/2018
2.2.0 389,051 3/1/2018
2.1.0 291,675 2/25/2018
2.0.0 192,794 2/22/2018
1.2.0 357,396 2/18/2018
1.1.0 4,692,173 11/14/2017
1.0.0 6,127,822 4/21/2017
1.0.0-rc3 228,981 2/27/2017
1.0.0-rc2 8,399 2/27/2017
1.0.0-rc1 211,417 1/3/2017