Skip to content

Bump the swashbuckle group with 3 updates#36

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/nuget/backend/dot-config/swashbuckle-df52bc8a7c
Open

Bump the swashbuckle group with 3 updates#36
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/nuget/backend/dot-config/swashbuckle-df52bc8a7c

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 8, 2026

Copy link
Copy Markdown
Contributor

Updated MicroElements.Swashbuckle.FluentValidation from 7.1.2 to 7.1.6.

Release notes

Sourced from MicroElements.Swashbuckle.FluentValidation's releases.

7.1.6

Stable 7.1.6 (supersedes the unreleased 7.1.5 betas).

Changes

  • Fixed: $ref replaced with an inline copy (and the child component left orphaned) when a nested object's constraints come from ChildRules or an inline child validator (#​198, #​206).
    • The 7.1.3 fix restored unmodified $refs, but when the nested type had no standalone validator its component schema gained its required only after the parent's inline snapshot — the stale required diverged and defeated the restore check. The Required comparison in HasValidationConstraintChanges is now directional.
    • SetValidator (with a standalone child validator) was already correct; BigInteger/enum per-model constraints (#​146/#​176) continue to work.
  • Added: ConditionalRulesMode option to control how .When()/.Unless() conditional rules are handled (Exclude (default) / Include / IncludeWithWarning) (#​203).
  • Fixed: Multiple .Matches() rules on one property rendered incorrectly (only the first pattern shown). They are now combined into a single pattern via lookahead assertions, across Swashbuckle, MicroElements.AspNetCore.OpenApi.FluentValidation, and NSwag (#​204, #​205).
    • Changed: default of SchemaGenerationOptions.UseAllOfForMultipleRules truefalse; set it to true to keep the legacy allOf representation.

NuGet: https://www.nuget.org/packages/MicroElements.Swashbuckle.FluentValidation/7.1.6

7.1.6-beta.1

Pre-release for the upcoming 7.1.6.

Changes since 7.1.5-beta.2

  • Fixed: $ref still replaced with an inline copy (and the child component left orphaned) when nested object constraints come from ChildRules or an inline child validator (#​198, #​206).
    • The 7.1.3 fix restored unmodified $refs, but when the nested type has no standalone validator its component schema gains its required only after the parent's inline snapshot is taken, so the stale required diverged and defeated the restore check — leaving an inline copy and an orphaned component.
    • Fix: the Required comparison in HasValidationConstraintChanges is now directional — restoration is only blocked when the inline copy carries a required entry the component lacks.
    • SetValidator (with a standalone child validator) was already correct; BigInteger/enum per-model constraints (#​146/#​176) continue to work.

NuGet: https://www.nuget.org/packages/MicroElements.Swashbuckle.FluentValidation/7.1.6-beta.1

7.1.5-beta.2

Pre-release for the upcoming 7.1.5.

Changes since 7.1.5-beta

  • Fixed: Multiple .Matches() rules on one property displayed incorrectly — only the first pattern shown, property duplicated (#​204, #​205).
    • Multiple patterns were placed into separate allOf subschemas, which Swagger UI/Redoc/Scalar collapse, keeping only the first pattern.
    • Now multiple .Matches() rules are combined into a single pattern via lookahead assertions, preserving .Matches() semantics and rendering correctly.
    • Applied to all providers: Swashbuckle, MicroElements.AspNetCore.OpenApi.FluentValidation, and NSwag.
    • Behavior change: SchemaGenerationOptions.UseAllOfForMultipleRules default truefalse; set it to true to keep the legacy allOf representation.

Already in 7.1.5-beta

  • Added: ConditionalRulesMode option to control how .When()/.Unless() conditional rules are handled during schema generation (#​203).

See CHANGELOG.md for full details.

7.1.5-beta

What's New

ConditionalRulesMode option (Issue #​203)

Controls how conditional validation rules (.When(), .Unless()) are handled during OpenAPI schema generation.

Modes:

  • Exclude (default) — conditional rules are excluded from schema (backward-compatible)
  • Include — conditional rules are included in schema
  • IncludeWithWarning — same as Include, but logs a warning for each conditional rule

Usage:

services.AddFluentValidationRulesToSwagger(options =>
{
    options.ConditionalRules = ConditionalRulesMode.Include;
});

Why: When users write .When(x => x.Prop is not null) as a null-guard, validation constraints (minLength, maxLength, etc.) were silently dropped from the schema. This option lets users opt-in to including those constraints.

7.1.4

Changes in 7.1.4

  • Added: FluentValidationOperationTransformer (IOpenApiOperationTransformer) for MicroElements.AspNetCore.OpenApi.FluentValidation (Issue #​200)
    • Query parameters with [AsParameters] now receive validation constraints (min/max, required, pattern, etc.)
    • Supports container type resolution with fallback via reflection for [AsParameters]
    • Copies validation constraints from schema properties to parameter schemas
    • Registered automatically via AddFluentValidationRules()
  • Fixed: Nested DTOs in request body not receiving validation constraints (Issue #​200)
    • FluentValidationSchemaTransformer skipped all property-level schemas, but for nested object types this was the only transformer call
    • Now processes property-level schemas for complex types using the property type's validator

7.1.4-beta

Changes in 7.1.4-beta

  • Added: FluentValidationOperationTransformer (IOpenApiOperationTransformer) for MicroElements.AspNetCore.OpenApi.FluentValidation (Issue #​200)
    • Query parameters with [AsParameters] now receive validation constraints (min/max, required, pattern, etc.)
    • Supports container type resolution with fallback via reflection for [AsParameters]
    • Copies validation constraints from schema properties to parameter schemas
    • Registered automatically via AddFluentValidationRules()
  • Fixed: Nested DTOs in request body not receiving validation constraints (Issue #​200)
    • FluentValidationSchemaTransformer skipped all property-level schemas, but for nested object types this was the only transformer call
    • Now processes property-level schemas for complex types using the property type's validator

Full Changelog: micro-elements/MicroElements.Swashbuckle.FluentValidation@v7.1.3...v7.1.4-beta

7.1.3

Changes in 7.1.3

  • Fixed: $ref replaced with inline schema copy when using SetValidator with nested object types (Issue #​198)
    • ResolveRefProperty (introduced in 7.1.2 for BigInteger isolation) replaced all $ref properties with copies, destroying reference structure in the OpenAPI document
    • Fix: snapshot $ref properties before rule application, restore them afterwards if no validation constraints were added by rules
    • BigInteger per-model constraints (Issue #​146) continue to work correctly

Full Changelog: micro-elements/MicroElements.Swashbuckle.FluentValidation@v7.1.2...v7.1.3

Commits viewable in compare view.

Updated Swashbuckle.AspNetCore from 10.1.2 to 10.2.1.

Release notes

Sourced from Swashbuckle.AspNetCore's releases.

10.2.1

What's Changed

Full Changelog: domaindrivendev/Swashbuckle.AspNetCore@v10.2.0...v10.2.1

10.2.0

What's Changed

New Contributors

Full Changelog: domaindrivendev/Swashbuckle.AspNetCore@v10.1.7...v10.2.0

10.1.7

What's Changed

New Contributors

Full Changelog: domaindrivendev/Swashbuckle.AspNetCore@v10.1.6...v10.1.7

10.1.6

What's Changed

New Contributors

Full Changelog: domaindrivendev/Swashbuckle.AspNetCore@v10.1.5...v10.1.6

10.1.5

What's Changed

Full Changelog: domaindrivendev/Swashbuckle.AspNetCore@v10.1.4...v10.1.5

10.1.4

What's Changed

Full Changelog: domaindrivendev/Swashbuckle.AspNetCore@v10.1.3...v10.1.4

10.1.3

What's Changed

Full Changelog: domaindrivendev/Swashbuckle.AspNetCore@v10.1.2...v10.1.3

Commits viewable in compare view.

Updated swashbuckle.aspnetcore.cli from 10.1.2 to 10.2.1.

Release notes

Sourced from swashbuckle.aspnetcore.cli's releases.

10.2.1

What's Changed

Full Changelog: domaindrivendev/Swashbuckle.AspNetCore@v10.2.0...v10.2.1

10.2.0

What's Changed

New Contributors

Full Changelog: domaindrivendev/Swashbuckle.AspNetCore@v10.1.7...v10.2.0

10.1.7

What's Changed

New Contributors

Full Changelog: domaindrivendev/Swashbuckle.AspNetCore@v10.1.6...v10.1.7

10.1.6

What's Changed

New Contributors

Full Changelog: domaindrivendev/Swashbuckle.AspNetCore@v10.1.5...v10.1.6

10.1.5

What's Changed

Full Changelog: domaindrivendev/Swashbuckle.AspNetCore@v10.1.4...v10.1.5

10.1.4

What's Changed

Full Changelog: domaindrivendev/Swashbuckle.AspNetCore@v10.1.3...v10.1.4

10.1.3

What's Changed

Full Changelog: domaindrivendev/Swashbuckle.AspNetCore@v10.1.2...v10.1.3

Commits viewable in compare view.

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Bumps MicroElements.Swashbuckle.FluentValidation from 7.1.2 to 7.1.6
Bumps Swashbuckle.AspNetCore from 10.1.2 to 10.2.1
Bumps swashbuckle.aspnetcore.cli from 10.1.2 to 10.2.1

---
updated-dependencies:
- dependency-name: MicroElements.Swashbuckle.FluentValidation
  dependency-version: 7.1.6
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: swashbuckle
- dependency-name: Swashbuckle.AspNetCore
  dependency-version: 10.2.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: swashbuckle
- dependency-name: swashbuckle.aspnetcore.cli
  dependency-version: 10.2.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: swashbuckle
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added .NET Pull requests that update .NET code dependencies Pull requests that update a dependency file labels Jun 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file .NET Pull requests that update .NET code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants