docs: Add Swashbuckle.AspNetCore v10 upgrade section to v10.1 migration guide#24962
Merged
docs: Add Swashbuckle.AspNetCore v10 upgrade section to v10.1 migration guide#24962
Conversation
…on guide Co-authored-by: EngincanV <[email protected]>
Copilot
AI
changed the title
[WIP] Update v10.1 migration guide with missing section
docs: Add Swashbuckle.AspNetCore v10 upgrade section to v10.1 migration guide
Feb 26, 2026
EngincanV
approved these changes
Feb 26, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
Adds migration documentation for the ABP v10.1 upgrade to Swashbuckle.AspNetCore v10 / Microsoft.OpenApi v2.x, focusing on the breaking API changes that affect custom Swagger filters and security configuration.
Changes:
- Documented required namespace and signature updates (new
Microsoft.OpenApiinterfaces likeIOpenApiSchema). - Added guidance for migrating schema type/nullability and security requirement configuration.
- Linked to the official Swashbuckle v10 migration guide and the related ABP PR for details.
EngincanV
approved these changes
Feb 26, 2026
enisn
approved these changes
Feb 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
ABP v10.1 upgraded
Swashbuckle.AspNetCoreto v10, which pulls inMicrosoft.OpenApiv2.x — a breaking change for any app with custom Swagger filters, schema customizations, or security requirements.Changes
Documented required migration actions:
using Microsoft.OpenApi;— interfaces (e.g.IOpenApiSchema) moved there; concrete types (e.g.OpenApiSchema) stay inMicrosoft.OpenApi.ModelsOpenApiSchema.TypewithJsonSchemaTypeflags enumOpenApiSchema.Nullablewithschema.Type |= JsonSchemaType.Null.Referenceproperties to new*Referenceclasses (e.g.OpenApiSchemaReference)AddSecurityRequirement()to acceptFunc<OpenApiDocument, OpenApiSecurityRequirement>Checklist
🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.