v7.0.5
Changes in 7.0.5
- Added:
RemoveUnusedQuerySchemasoption (default:true) to control cleanup of container type schemas for[FromQuery]/[AsParameters]types (Issue #180)
User-facing API
services.AddFluentValidationRulesToSwagger(options =>
{
options.RemoveUnusedQuerySchemas = false; // preserve schemas for custom DocumentFilters
});Default is true (v7.0.4 behavior preserved). Set to false if you have custom IDocumentFilter implementations that depend on container type schemas being present in components/schemas.