---
title: "swashbuckle.aspnetcore.swaggergen 11.0.0 Breaking Changes"
description: "What each swashbuckle.aspnetcore.swaggergen release removed, renamed or changed: 56 breaking changes in 5 versions on NuGet, each with its source."
canonical_url: https://since.dev/packages/nuget/swashbuckle.aspnetcore.swaggergen
last_updated: 2026-12-04
---

# 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

Latest version `11.0.1`, released November 12, 2026. [Source repository](https://github.com/domaindrivendev/Swashbuckle.AspNetCore)

Its 11.0.0 release drops .NET 8 and [9](https://since.dev/calendar/dotnet/9.md). [.NET end of life dates](https://since.dev/calendar/dotnet.md).

- From [10.0.0](#v-10-0-0) to [11.0.0](#v-11-0-0): 4 breaking changes in 1 version.
- From [7.0.0](#v-7-0-0) to [11.0.0](#v-11-0-0): 54 breaking changes in 4 versions.

## swashbuckle.aspnetcore.swaggergen 11.0.0 breaking changes

swashbuckle.aspnetcore.swaggergen 11.0.0, released November 10, 2026: 4 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](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/blob/HEAD/docs/migrating-to-v11.md)
- **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](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/blob/HEAD/docs/migrating-to-v11.md)
- **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](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/releases/tag/v11.0.0)
- **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](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/blob/HEAD/docs/migrating-to-v11.md)

## swashbuckle.aspnetcore.swaggergen 10.0.0 breaking changes

swashbuckle.aspnetcore.swaggergen 10.0.0, released November 11, 2025: 42 breaking changes.

- **Removed** `OpenApiSchema.Nullable`  

Set nullability by OR-ing JsonSchemaType.Null into OpenApiSchema.Type instead. [github.com](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/blob/HEAD/docs/migrating-to-v10.md)
- **Removed** `Swashbuckle.AspNetCore.SwaggerGen.OpenApiAnyFactory`  

Swashbuckle.AspNetCore.SwaggerGen.OpenApiAnyFactory was removed in Swashbuckle.AspNetCore.SwaggerGen 10.0.0 [nuget.org](https://www.nuget.org/packages/Swashbuckle.AspNetCore.SwaggerGen/10.0.0)
- **Removed** `Swashbuckle.AspNetCore.SwaggerGen.OpenApiSchemaExtensions.ResolveType`  

Swashbuckle.AspNetCore.SwaggerGen.OpenApiSchemaExtensions.ResolveType was removed in Swashbuckle.AspNetCore.SwaggerGen 10.0.0 [nuget.org](https://www.nuget.org/packages/Swashbuckle.AspNetCore.SwaggerGen/10.0.0)
- **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](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/releases/tag/v10.0.0)
- **Renamed** `OpenApiSchema.ReferenceV3`  

Use the new OpenApiSchemaReference class instead of the .Reference properties. [github.com](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/blob/HEAD/docs/migrating-to-v10.md)
- **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](https://www.nuget.org/packages/Swashbuckle.AspNetCore.SwaggerGen/10.0.0)
- **Signature changed** `Microsoft.Extensions.DependencyInjection.SwaggerGenOptionsExtensions.AddSecurityRequirement`  

Calls to AddSecurityRequirement() must pass a Func\<OpenApiDocument, OpenApiSecurityRequirement>. [nuget.org](https://www.nuget.org/packages/Swashbuckle.AspNetCore.SwaggerGen/10.0.0)
- **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](https://www.nuget.org/packages/Swashbuckle.AspNetCore.SwaggerGen/10.0.0)
- **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](https://www.nuget.org/packages/Swashbuckle.AspNetCore.SwaggerGen/10.0.0)
- **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](https://www.nuget.org/packages/Swashbuckle.AspNetCore.SwaggerGen/10.0.0)

And 32 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## swashbuckle.aspnetcore.swaggergen 9.0.0 breaking changes

swashbuckle.aspnetcore.swaggergen 9.0.0, released June 13, 2025: 7 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](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/releases/tag/v9.0.0)
- **Removed**  

The release drops netstandard2.0 and .NET Framework support. Projects must target net8.0 or net9.0. [github.com](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/releases/tag/v9.0.0)
- **Removed** `Microsoft.Extensions.DependencyInjection.SwaggerGenOptionsExtensions.GeneratePolymorphicSchemas`  

Use UseOneOfForPolymorphism instead. [nuget.org](https://www.nuget.org/packages/Swashbuckle.AspNetCore.SwaggerGen/9.0.0)
- **Removed** `Swashbuckle.AspNetCore.SwaggerGen.ApiDescriptionExtensions.GetAdditionalMetadata`  

Use TryGetMethodInfo instead. [nuget.org](https://www.nuget.org/packages/Swashbuckle.AspNetCore.SwaggerGen/9.0.0)
- **Removed** `Swashbuckle.AspNetCore.SwaggerGen.DataContract.EnumValues`  

Use JsonConverter instead. [nuget.org](https://www.nuget.org/packages/Swashbuckle.AspNetCore.SwaggerGen/9.0.0)
- **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](https://www.nuget.org/packages/Swashbuckle.AspNetCore.SwaggerGen/9.0.0)
- **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](https://www.nuget.org/packages/Swashbuckle.AspNetCore.SwaggerGen/9.0.0)

## swashbuckle.aspnetcore.swaggergen 8.0.0 breaking changes

swashbuckle.aspnetcore.swaggergen 8.0.0, released March 18, 2025: 1 breaking change.

- **Removed**  

Swashbuckle.AspNetCore 8.0.0 no longer supports net6.0; projects targeting .NET 6 must move to a supported target framework. [github.com](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/releases/tag/v8.0.0)

## swashbuckle.aspnetcore.swaggergen 7.0.0 breaking changes

swashbuckle.aspnetcore.swaggergen 7.0.0, released November 12, 2024: 2 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](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/releases/tag/v7.0.0)
- **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](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/releases/tag/v7.0.0)

## Related packages

- [swashbuckle.aspnetcore](https://since.dev/packages/nuget/swashbuckle.aspnetcore.md)
- [swashbuckle.aspnetcore.swagger](https://since.dev/packages/nuget/swashbuckle.aspnetcore.swagger.md)
- [swashbuckle.aspnetcore.annotations](https://since.dev/packages/nuget/swashbuckle.aspnetcore.annotations.md)
- [swashbuckle.aspnetcore.redoc](https://since.dev/packages/nuget/swashbuckle.aspnetcore.redoc.md)
- [swashbuckle.aspnetcore.swaggerui](https://since.dev/packages/nuget/swashbuckle.aspnetcore.swaggerui.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
