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

# swashbuckle.aspnetcore.swagger breaking changes

swashbuckle.aspnetcore.swagger 11.0.0 (November 10, 2026) is its newest release with breaking changes, 3 of them. The first: Multiple response types become anyOf schemas on .NET 11 in Swashbuckle.AspNetCore.Swagger 11.0.0. Every breaking API change we have recorded in swashbuckle.aspnetcore.swagger on NuGet: 21 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): 3 breaking changes in 1 version.
- From [7.0.0](#v-7-0-0) to [11.0.0](#v-11-0-0): 18 breaking changes in 4 versions.

## swashbuckle.aspnetcore.swagger 11.0.0 breaking changes

swashbuckle.aspnetcore.swagger 11.0.0, released November 10, 2026: 3 breaking changes.

- **Behavior changed**  

Endpoints declaring several response types for one status code now produce anyOf schemas. Align declared response types with returned types. [github.com](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/blob/HEAD/docs/migrating-to-v11.md)
- **Behavior changed**  

Documents in OpenAPI 3.1 and 3.2 now write an examples array instead of a single example value. [github.com](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/blob/HEAD/docs/migrating-to-v11.md)
- **Behavior changed**  

Version 11 targets .NET 10 and .NET 11. Applications on .NET 8 or .NET 9 must stay on Swashbuckle.AspNetCore v10.x or upgrade their runtime. [github.com](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/blob/HEAD/docs/migrating-to-v11.md)

## swashbuckle.aspnetcore.swagger 10.0.0 breaking changes

swashbuckle.aspnetcore.swagger 10.0.0, released November 11, 2025: 8 breaking changes.

- **Removed** `WithOpenApi`  

Using Swashbuckle.AspNetCore together with the ASP.NET Core WithOpenApi() method is no longer supported, so code relying on it must change. [github.com](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/releases/tag/v10.0.0)
- **Signature changed** `AddSecurityRequirement`  

Calls to AddSecurityRequirement() must pass a Func\<OpenApiDocument, OpenApiSecurityRequirement>. [github.com](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/blob/HEAD/docs/migrating-to-v10.md)
- **Signature changed** `Swashbuckle.AspNetCore.Swagger.IAsyncSwaggerProvider.GetSwaggerAsync`  

Was System.Threading.Tasks.Task\<Microsoft.OpenApi.Models.OpenApiDocument> GetSwaggerAsync(string documentName, string host, string basePath); now System.Threading.Tasks.Task\<Microsoft.OpenApi.OpenApiDocument> GetSwaggerAsync(string... [nuget.org](https://www.nuget.org/packages/Swashbuckle.AspNetCore.Swagger/10.0.0)
- **Signature changed** `Swashbuckle.AspNetCore.Swagger.ISwaggerDocumentSerializer.SerializeDocument`  

Was void SerializeDocument(Microsoft.OpenApi.Models.OpenApiDocument document, Microsoft.OpenApi.Writers.IOpenApiWriter writer, Microsoft.OpenApi.OpenApiSpecVersion specVersion); now void SerializeDocument(Microsoft.OpenApi.OpenApiDocument... [nuget.org](https://www.nuget.org/packages/Swashbuckle.AspNetCore.Swagger/10.0.0)
- **Signature changed** `Swashbuckle.AspNetCore.Swagger.ISwaggerProvider.GetSwagger`  

Was Microsoft.OpenApi.Models.OpenApiDocument GetSwagger(string documentName, string host, string basePath); now Microsoft.OpenApi.OpenApiDocument GetSwagger(string documentName, string host, string basePath). [nuget.org](https://www.nuget.org/packages/Swashbuckle.AspNetCore.Swagger/10.0.0)
- **Signature changed** `Swashbuckle.AspNetCore.Swagger.SwaggerEndpointOptions.PreSerializeFilters`  

Was System.Collections.Generic.List\<System.Action\<Microsoft.OpenApi.Models.OpenApiDocument, Microsoft.AspNetCore.Http.HttpRequest>> PreSerializeFilters {get;}; now... [nuget.org](https://www.nuget.org/packages/Swashbuckle.AspNetCore.Swagger/10.0.0)
- **Signature changed** `Swashbuckle.AspNetCore.Swagger.SwaggerOptions.PreSerializeFilters`  

Was System.Collections.Generic.List\<System.Action\<Microsoft.OpenApi.Models.OpenApiDocument, Microsoft.AspNetCore.Http.HttpRequest>> PreSerializeFilters {get;}; now... [nuget.org](https://www.nuget.org/packages/Swashbuckle.AspNetCore.Swagger/10.0.0)
- **Signature changed** `Swashbuckle.AspNetCore.SwaggerGen.IRequestBodyAsyncFilter.ApplyAsync`  

The requestBody parameter now uses the Microsoft.OpenApi interface IOpenApiRequestBody instead of OpenApiRequestBody, so implementations must be updated. [github.com](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/blob/HEAD/docs/migrating-to-v10.md)

## swashbuckle.aspnetcore.swagger 9.0.0 breaking changes

swashbuckle.aspnetcore.swagger 9.0.0, released June 13, 2025: 5 breaking changes.

- **Removed**  

Public members deprecated in earlier releases are removed. Code using them must switch to their replacements before upgrading. [github.com](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/releases/tag/v9.0.0)
- **Removed**  

Only net8.0 and net9.0 are supported now. Projects targeting .NET Framework or netstandard2.0 must move to a supported target. [github.com](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/releases/tag/v9.0.0)
- **Removed** `--serializeasv2`  

The option was superseded by --openapiversion in 8.0.0. Use --openapiversion instead. [github.com](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/releases/tag/v9.0.0)
- **Removed** `Swashbuckle.AspNetCore.Swagger.SwaggerEndpointOptions.SerializeAsV2`  

Use OpenApiVersion instead. [nuget.org](https://www.nuget.org/packages/Swashbuckle.AspNetCore.Swagger/9.0.0)
- **Removed** `Swashbuckle.AspNetCore.Swagger.SwaggerOptions.SerializeAsV2`  

Use OpenApiVersion instead. [nuget.org](https://www.nuget.org/packages/Swashbuckle.AspNetCore.Swagger/9.0.0)

## swashbuckle.aspnetcore.swagger 8.0.0 breaking changes

swashbuckle.aspnetcore.swagger 8.0.0, released March 18, 2025: 2 breaking changes.

- **Removed**  

Swashbuckle.AspNetCore no longer targets net6.0, so projects on .NET 6 must move to a supported .NET version or stay on an older release. [github.com](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/releases/tag/v8.0.0)
- **Behavior changed**  

Microsoft.OpenApi is updated to v1.6.23, which requires swagger-ui v5.19.0 or later; clear browser caches to load the new JavaScript files. [github.com](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/releases/tag/v8.0.0)

## swashbuckle.aspnetcore.swagger 7.0.0 breaking changes

swashbuckle.aspnetcore.swagger 7.0.0, released November 12, 2024: 3 breaking changes.

- **Removed**  

Support for older .NET (Core) versions is removed, so projects on those versions must upgrade to .NET 8 or later (or stay on 6). [github.com](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/releases/tag/v7.0.0)
- **Removed** `Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware`  

Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware was removed in Swashbuckle.AspNetCore.Swagger 7.0.0 [nuget.org](https://www.nuget.org/packages/Swashbuckle.AspNetCore.Swagger/7.0.0)
- **Behavior changed** `SwaggerIgnore`  

Properties marked with SwaggerIgnore are now also ignored when Newtonsoft.Json is used, which can change generated schemas for existing code. [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.swaggergen](https://since.dev/packages/nuget/swashbuckle.aspnetcore.swaggergen.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.
