Skip to content

v7.0.5

Choose a tag to compare

@avgalex avgalex released this 26 Feb 20:27
· 114 commits to master since this release

Changes in 7.0.5

  • Added: RemoveUnusedQuerySchemas option (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.