swashbuckle.aspnetcore.swaggergen breaking changes
swashbuckle.aspnetcore.swaggergen 11.0.0 (November 10, 2026) is its newest release with breaking changes, 4 of them. The first: Swashbuckle.AspNetCore.SwaggerGen 11.0.0 drops support for .NET 8 and 9. Every breaking API change we have recorded in swashbuckle.aspnetcore.swaggergen on NuGet: 56 breaking changes in 5 versions. Below, its 5 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 11.0.1, released November 12, 2026. Source repository
Its 11.0.0 release drops .NET 8 and 9. .NET end of life dates.
- From 10.0.0 to 11.0.0: 4 breaking changes in 1 version.
- From 7.0.0 to 11.0.0: 54 breaking changes in 4 versions.
swashbuckle.aspnetcore.swaggergen 11.0.0 breaking changes
- Removed
Swashbuckle.AspNetCore v11 targets .NET 10 and .NET 11. Applications on .NET 8 or .NET 9 must stay on v10.x or move to .NET 10 or later. github.com - Behavior changed
Examples from XML comments are now written as an examples array in OpenAPI 3.1 and 3.2 documents instead of an example value. github.com - Behavior changed
Documents remain OpenAPI 3.0 unless OpenApiVersion is set. Users who want 3.1 or 3.2 must set it explicitly. github.com - Behavior changed
Endpoints with several response types for the same status code are described as anyOf, so generated documents change. Align declared response types with returned types. github.com
swashbuckle.aspnetcore.swaggergen 10.0.0 breaking changes
- Removed
OpenApiSchema.Nullable
Set nullability by OR-ing JsonSchemaType.Null into OpenApiSchema.Type instead. github.com - Removed
Swashbuckle.AspNetCore.SwaggerGen.OpenApiAnyFactory
Swashbuckle.AspNetCore.SwaggerGen.OpenApiAnyFactory was removed in Swashbuckle.AspNetCore.SwaggerGen 10.0.0 nuget.org - Removed
Swashbuckle.AspNetCore.SwaggerGen.OpenApiSchemaExtensions.ResolveType
Swashbuckle.AspNetCore.SwaggerGen.OpenApiSchemaExtensions.ResolveType was removed in Swashbuckle.AspNetCore.SwaggerGen 10.0.0 nuget.org - Removed
WithOpenApi
Using Swashbuckle.AspNetCore together with the ASP.NET Core WithOpenApi() method is no longer supported, so code relying on it must stop using it. github.com - Renamed
OpenApiSchema.ReferenceV3
Use the new OpenApiSchemaReference class instead of the .Reference properties. github.com - Signature changed
Microsoft.Extensions.DependencyInjection.SwaggerGenOptionsExtensions.AddSecurityDefinition
Was static void AddSecurityDefinition(Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenOptions swaggerGenOptions, string name, Microsoft.OpenApi.Models.OpenApiSecurityScheme securityScheme); now static void... nuget.org - Signature changed
Microsoft.Extensions.DependencyInjection.SwaggerGenOptionsExtensions.AddSecurityRequirement
Calls to AddSecurityRequirement() must pass a Func<OpenApiDocument, OpenApiSecurityRequirement>. nuget.org - Signature changed
Microsoft.Extensions.DependencyInjection.SwaggerGenOptionsExtensions.AddServer
Was static void AddServer(Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenOptions swaggerGenOptions, Microsoft.OpenApi.Models.OpenApiServer server); now static void AddServer(Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenOptions... nuget.org - Signature changed
Microsoft.Extensions.DependencyInjection.SwaggerGenOptionsExtensions.InferSecuritySchemes
Was static void InferSecuritySchemes(Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenOptions swaggerGenOptions, System.Func<System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Authentication.AuthenticationScheme>... nuget.org - Signature changed
Microsoft.Extensions.DependencyInjection.SwaggerGenOptionsExtensions.MapType
Was static void MapType(Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenOptions swaggerGenOptions, System.Type type, System.Func<Microsoft.OpenApi.Models.OpenApiSchema> schemaFactory) static void... nuget.org
And 32 more in this version. Sign up to see every change
swashbuckle.aspnetcore.swaggergen 9.0.0 breaking changes
- Removed
All public members annotated as [Obsolete] in previous releases are removed. Stop using them and switch to their replacements before upgrading. github.com - Removed
The release drops netstandard2.0 and .NET Framework support. Projects must target net8.0 or net9.0. github.com - Removed
Microsoft.Extensions.DependencyInjection.SwaggerGenOptionsExtensions.GeneratePolymorphicSchemas
Use UseOneOfForPolymorphism instead. nuget.org - Removed
Swashbuckle.AspNetCore.SwaggerGen.ApiDescriptionExtensions.GetAdditionalMetadata
Use TryGetMethodInfo instead. nuget.org - Removed
Swashbuckle.AspNetCore.SwaggerGen.DataContract.EnumValues
Use JsonConverter instead. nuget.org - Signature changed
Microsoft.Extensions.DependencyInjection.SwaggerGenOptionsExtensions.TagActionsBy
The signature of Microsoft.Extensions.DependencyInjection.SwaggerGenOptionsExtensions.TagActionsBy changed in Swashbuckle.AspNetCore.SwaggerGen 9.0.0 nuget.org - Signature changed
Swashbuckle.AspNetCore.SwaggerGen.DataContract.ForPrimitive
The signature of Swashbuckle.AspNetCore.SwaggerGen.DataContract.ForPrimitive changed in Swashbuckle.AspNetCore.SwaggerGen 9.0.0 nuget.org
swashbuckle.aspnetcore.swaggergen 8.0.0 breaking changes
- Removed
Swashbuckle.AspNetCore 8.0.0 no longer supports net6.0; projects targeting .NET 6 must move to a supported target framework. github.com
swashbuckle.aspnetcore.swaggergen 7.0.0 breaking changes
- Removed
Support for .NET (Core) versions prior to 8 is dropped, except 6. Projects targeting those versions must upgrade to .NET 8 or later before using this release. github.com - Behavior changed
Properties marked with SwaggerIgnore are now excluded from schemas under Newtonsoft.Json as well. Code relying on those properties appearing in the generated docs must be reviewed. github.com
Related packages
- swashbuckle.aspnetcore
- swashbuckle.aspnetcore.swagger
- swashbuckle.aspnetcore.annotations
- swashbuckle.aspnetcore.redoc
- swashbuckle.aspnetcore.swaggerui
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.