Skip to content

Conversation

@JoschiZ
Copy link
Contributor

@JoschiZ JoschiZ commented Jan 24, 2026

This fixes #881
Another entry in the list of breaking changes due to Microsoft.OpenApi 2.0

Adds a switch to use the correct type for the ISchemaFilter::Apply implementation based on the detected OpenApiSchemaUtils version.

See the related issue for further details.

Copy link
Owner

@SteveDunn SteveDunn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thank you very much for the bug report and the fix!

@SteveDunn SteveDunn merged commit 4cd06ac into SteveDunn:main Jan 25, 2026
6 checks passed
@JoschiZ JoschiZ deleted the correct-ischemafilter-generation branch January 25, 2026 19:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

OpenApiSchemaCustomizations.GenerateSwashbuckleSchemaFilter generates invalid code with newer Swashbuckle >10.0

2 participants