MicroElements.Swashbuckle.FluentValidation
7.3.1
Prefix Reserved
dotnet add package MicroElements.Swashbuckle.FluentValidation --version 7.3.1
NuGet\Install-Package MicroElements.Swashbuckle.FluentValidation -Version 7.3.1
<PackageReference Include="MicroElements.Swashbuckle.FluentValidation" Version="7.3.1" />
<PackageVersion Include="MicroElements.Swashbuckle.FluentValidation" Version="7.3.1" />
<PackageReference Include="MicroElements.Swashbuckle.FluentValidation" />
paket add MicroElements.Swashbuckle.FluentValidation --version 7.3.1
#r "nuget: MicroElements.Swashbuckle.FluentValidation, 7.3.1"
#:package MicroElements.Swashbuckle.FluentValidation@7.3.1
#addin nuget:?package=MicroElements.Swashbuckle.FluentValidation&version=7.3.1
#tool nuget:?package=MicroElements.Swashbuckle.FluentValidation&version=7.3.1
Swagger ISchemaFilter that uses FluentValidation validators instead System.ComponentModel based attributes.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. net11.0 is compatible. |
-
net10.0
- MicroElements.OpenApi.FluentValidation (>= 7.3.1)
- Swashbuckle.AspNetCore.SwaggerGen (>= 10.2.1)
-
net11.0
- MicroElements.OpenApi.FluentValidation (>= 7.3.1)
- Swashbuckle.AspNetCore.Swagger (>= 11.0.1)
- Swashbuckle.AspNetCore.SwaggerGen (>= 11.0.1)
-
net8.0
- MicroElements.OpenApi.FluentValidation (>= 7.3.1)
- Swashbuckle.AspNetCore.SwaggerGen (>= 8.1.1)
-
net9.0
- MicroElements.OpenApi.FluentValidation (>= 7.3.1)
- Swashbuckle.AspNetCore.SwaggerGen (>= 8.1.1)
NuGet packages (53)
Showing the top 5 NuGet packages that depend on MicroElements.Swashbuckle.FluentValidation:
| Package | Downloads |
|---|---|
|
Reo.Core.Queue.RabbitMq
Package Description |
|
|
Reo.Core.Email
Package Description |
|
|
Mii.Rinjani.Gateway.Commons
Package Description |
|
|
H21.AspNetCore.Validation
Package Description |
|
|
WalletFramework.AspNetCore.Contracts
Api Library |
GitHub repositories (4)
Showing the top 4 popular GitHub repositories that depend on MicroElements.Swashbuckle.FluentValidation:
| Repository | Stars |
|---|---|
|
AlphaYu/adnc
A pragmatic .NET 8 framework for modular monoliths to evolve seamlessly into distributed microservices.
|
|
|
AntonioFalcaoJr/EventualShop
A state-of-the-art distributed system using Reactive DDD as uncertainty modeling, Event Storming as subdomain decomposition, Event Sourcing as an eventual persistence mechanism, CQRS, Async Projections, Microservices for individual deployable units, Event-driven Architecture for efficient integration, and Clean Architecture as domain-centric design
|
|
|
nhonvo/clean-architecture-net-8.0
Clean Architecture Web API Project
|
|
|
melikpehlivanov/AuctionSystem
Auction system written in ASP.NET Core
|
| Version | Downloads | Last Updated |
|---|---|---|
| 7.3.1 | 62 | 11/21/2026 |
| 7.3.0 | 9,396 | 11/14/2026 |
| 7.3.0-beta.1 | 137 | 10/31/2026 |
| 7.2.4 | 28,054 | 11/3/2026 |
| 7.2.3 | 9,938 | 10/31/2026 |
| 7.2.2 | 351,765 | 8/21/2026 |
| 7.2.1 | 327,887 | 7/13/2026 |
| 7.2.0 | 8,195 | 7/12/2026 |
| 7.1.11 | 14,764 | 7/12/2026 |
| 7.1.10 | 1,199 | 7/12/2026 |
| 7.1.9 | 26,500 | 7/9/2026 |
| 7.1.8 | 45,290 | 7/1/2026 |
| 7.1.8-beta.2 | 564 | 6/21/2026 |
| 7.1.8-beta.1 | 114 | 6/20/2026 |
| 7.1.7 | 71,943 | 6/20/2026 |
| 7.1.7-beta.3 | 150 | 6/17/2026 |
| 7.1.7-beta.2 | 124 | 6/17/2026 |
| 7.1.7-beta.1 | 134 | 6/15/2026 |
| 7.1.6 | 167,521 | 6/2/2026 |
| 7.1.6-beta.1 | 111 | 6/2/2026 |
$# Changes in 7.3.1
- Fixed array length constraints for MVC query parameters in `MicroElements.AspNetCore.OpenApi.FluentValidation`. Collection length validators now emit `minItems` and `maxItems`, preserve the item schema, and respect stricter bounds already in the OpenAPI document.
- Element length rules configured with `RuleForEach` no longer produce a collection count limit. [Issue #239](https://github.com/micro-elements/MicroElements.Swashbuckle.FluentValidation/issues/239)
# Changes in 7.3.0
- Added: stable `net11.0` assets for the shared core, native ASP.NET Core OpenAPI adapter, and Swashbuckle adapter. The net11 Swashbuckle asset uses stable Swashbuckle 11.0.1 / Microsoft.OpenApi 3.11.0 and supports explicitly selected OpenAPI 3.2. Existing net8/net9/net10 Swashbuckle dependency families are preserved.
- Added: native OpenAPI 3.2 and explicitly selected 3.1 coverage at runtime and build time, preserving FluentValidation constraints on properties, child validators, collection items, parameters, forms, and shared schemas. .NET 11 dependencies and SDK baseline now use GA versions.
- Security: the native net10 adapter requires Microsoft.OpenApi 2.7.5 or later, excluding versions affected by GHSA-v5pm-xwqc-g5wc.
- Behavior: .NET 11 float/double bounds preserve the runtime's decimal conversion values without extra library rounding. Existing .NET 8–10 behavior and NSwag package targets are retained; existing NSwag assets are tested on a .NET 11 host.
- Includes the 7.2.4 fix for untyped string length constraints (#238). Source builds require SDK 11.0.100 or an eligible newer 11.0 feature band. MyGet publication is manual and restricted to the release tag.
# Changes in 7.3.0-beta.1
- Security: the native ASP.NET Core OpenAPI adapter now requires `Microsoft.OpenApi` 2.7.5 or later on net10, excluding versions affected by GHSA-v5pm-xwqc-g5wc.
- Added: `net11.0` assets for `MicroElements.OpenApi.FluentValidation` and `MicroElements.AspNetCore.OpenApi.FluentValidation`, using .NET 11 RC3 dependencies. The native ASP.NET Core adapter supports OpenAPI 3.2 and explicitly selected OpenAPI 3.1, with runtime and build-time generation coverage.
- Compatibility: Swashbuckle and NSwag retain their existing package targets and generator dependencies. Their existing assets were tested in .NET 11 hosts. This beta does not include the separate Swashbuckle 11 / Microsoft.OpenApi 3.x experiment.
- Behavior: on .NET 11, float and double validation bounds can appear with additional decimal digits in generated schemas because of runtime numeric conversion changes. The library preserves the runtime values without additional rounding; existing .NET 8–10 behavior is unchanged.
- Development: added a shared .NET 11 RC3 SDK baseline with `rollForward: latestFeature`. Package consumers do not need this SDK unless targeting .NET 11. Automatic package upload remains disabled; beta publication requires a manually triggered workflow on the beta tag.
# Changes in 7.2.4
- Fixed: `MicroElements.AspNetCore.OpenApi.FluentValidation` could lose string `minLength` and `maxLength` constraints when a custom JSON converter left the property's schema type unset (Issue #238, regression in 7.2.3). Length rules now fall back to the FluentValidation target's CLR string type only when the schema type is absent, preserving explicit schema types and the non-string `ChildRules` safeguards. A later transformer can restore the schema type without requiring registration order changes.
- Added regression coverage for string converters, late type restoration, identity child rules, explicit non-string schema types, and untyped non-string values.
# Changes in 7.2.3
- Fixed: constraints inside `ChildRules(child => child.RuleFor(x => x).Matches(...).DependentRules(...))` were missing from the parent property's OpenAPI schema. Identity child rules now contribute their constraints to the owning property (or collection item), including nested identity validators, while honoring rule/component filters and conditional-rule settings. The fix is shared by Swashbuckle, NSwag, and Microsoft.AspNetCore.OpenApi. Runtime validation is unchanged; schema generation does not execute `Must` predicates or repository lookups, and does not infer constraints from `DependentRules`.
- Fixed: identity child `NotNull`/`NotEmpty` rules preserve the owning property's nullability and optionality, matching FluentValidation's null-skipping child adapters. Non-empty string/array constraints and explicit parent presence rules are preserved.
Full release notes can be found at: https://github.com/micro-elements/MicroElements.Swashbuckle.FluentValidation/blob/master/CHANGELOG.md