TGolla.Swashbuckle.AspNetCore 10.0.0

dotnet add package TGolla.Swashbuckle.AspNetCore --version 10.0.0
                    
NuGet\Install-Package TGolla.Swashbuckle.AspNetCore -Version 10.0.0
                    
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="TGolla.Swashbuckle.AspNetCore" Version="10.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="TGolla.Swashbuckle.AspNetCore" Version="10.0.0" />
                    
Directory.Packages.props
<PackageReference Include="TGolla.Swashbuckle.AspNetCore" />
                    
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 TGolla.Swashbuckle.AspNetCore --version 10.0.0
                    
#r "nuget: TGolla.Swashbuckle.AspNetCore, 10.0.0"
                    
#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.
#:package TGolla.Swashbuckle.AspNetCore@10.0.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=TGolla.Swashbuckle.AspNetCore&version=10.0.0
                    
Install as a Cake Addin
#tool nuget:?package=TGolla.Swashbuckle.AspNetCore&version=10.0.0
                    
Install as a Cake Tool

TGolla.Swashbuckle.AspNetCore

This repository contains the following Swashbuckle addons which are part of the NuGet package TGolla.Swashbuckle.AspNetCore.

.NET 10 Upgrade Notes

Starting with .NET 9, ASP.NET Core no longer includes Swagger by default in web API templates. And with .NET 10, Microsoft has doubled down on native OpenAPI support - now generating OpenAPI 3.1 documents out of the box with improved transformer APIs and better tooling. If you’re wondering what changed, whether Swagger is truly dead (spoiler: it’s not), and what the best alternatives are, keep reading to find out! (Ref: ASP.NET Core Dropped Swagger - Here’s What Replaced It in .NET 10 - codewithmukesh)

With the release .NET 10 Microsoft made breaking changes to Microsoft.OpenApi resulting in changes in Swashbuckle document generation. The following is a check list of changes you will need to contline using Swashbuckle along with TGolla.Swashbuckle.AspNetCore and TGolla.AspNetCore.Mvc.Filter.

  1. Upgrade your Swashbuckle packges to v10.*.
  2. Upgrade packages TGolla.Swashbuckle.AspNetCoreandTGolla.AspNetCore.Mvc.Filter` to v10.*.
  3. Remove builder.Services.AddEndpointsApiExplorer(); form Program.cs. in .NET 10 Swashbuckle v10 no longer uses or cooperates with the built‑in Endpoints API Explorer. Leaving it in causes duplicate or conflicting OpenAPI metadata, and Swashbuckle v10 replaces that entire pipeline with its own.
  4. In Program.cs change app.UseSwagger(); to app.MapSwagger();. .NET 8+ introduced a new endpoint‑based middleware model, and Swashbuckle v10 adopted it. UseSwagger() is part of the old middleware pipeline. MapSwagger() is the new endpoint‑based pipeline that aligns with .NET 10’s hosting model.5
  5. if to have invoking the AddSecurityDefinition method you also need to indicate which operations that scheme is applicable to. As a result you will need to update any AddSecurityRequirement() and OperationFilter<AddSecurityRequirement>() implemented by AddSwaggerGen(). Reference Adding Authentication/Authorization Information to Swagger API Documentation with Swashbuckle for complete details.
Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
10.0.0 114 6/11/2026
6.0.0 28,729 4/13/2024
0.9.2 5,055 4/23/2023
0.9.1 421 4/22/2023
0.9.0 379 4/21/2023