MicroElements.Swashbuckle.FluentValidation 7.0.1

Prefix Reserved
dotnet add package MicroElements.Swashbuckle.FluentValidation --version 7.0.1
                    
NuGet\Install-Package MicroElements.Swashbuckle.FluentValidation -Version 7.0.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="MicroElements.Swashbuckle.FluentValidation" Version="7.0.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="MicroElements.Swashbuckle.FluentValidation" Version="7.0.1" />
                    
Directory.Packages.props
<PackageReference Include="MicroElements.Swashbuckle.FluentValidation" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add MicroElements.Swashbuckle.FluentValidation --version 7.0.1
                    
#r "nuget: MicroElements.Swashbuckle.FluentValidation, 7.0.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package MicroElements.Swashbuckle.FluentValidation@7.0.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=MicroElements.Swashbuckle.FluentValidation&version=7.0.1
                    
Install as a Cake Addin
#tool nuget:?package=MicroElements.Swashbuckle.FluentValidation&version=7.0.1
                    
Install as a Cake Tool

Swagger ISchemaFilter that uses FluentValidation validators instead System.ComponentModel based attributes.

Product 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (48)

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

Pipoburgos.SharedKernel.Api.Gateway

C# DDD Distributed Services Layer

GitHub repositories (4)

Showing the top 4 popular GitHub repositories that depend on MicroElements.Swashbuckle.FluentValidation:

Repository Stars
AlphaYu/adnc
.NET微服务/分布式开发框架,同时也适用于单体架构系统的开发。
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.0.1 3,450 12/8/2025
7.0.0 469 12/7/2025
6.1.1 251,174 9/2/2025
6.1.0 2,946,021 11/26/2024
6.0.0 5,509,952 12/3/2023
6.0.0-beta.3 301,917 2/19/2023
6.0.0-beta.1 306,006 7/23/2022
5.7.0 11,919,824 6/10/2022
5.6.0 1,181,571 5/3/2022
5.5.0 747,631 3/28/2022
5.4.0 3,336,865 9/19/2021
5.3.0 194,326 9/1/2021
5.2.0 472,824 7/31/2021
5.1.0 289,989 6/15/2021
5.1.0-rc.2 87,351 6/3/2021
5.1.0-rc.1 16,253 6/1/2021
5.0.0 67,021 5/30/2021
5.0.0-rc.2 10,524 5/18/2021
5.0.0-rc.1 2,680 5/16/2021
4.3.0 901,228 3/25/2021
4.3.0-rc.1 682 3/21/2021
4.2.0 847,385 2/18/2021
4.1.0 258,200 1/21/2021
4.1.0-rc.1 5,849 1/6/2021
4.0.0 1,674,456 8/21/2020
4.0.0-rc.2 23,881 7/18/2020
4.0.0-rc.1 67,171 6/15/2020
3.2.0 893,019 6/14/2020
3.1.1 672,850 4/28/2020
3.1.0 359,619 3/25/2020
3.0.0 182,175 3/7/2020
3.0.0-rc.6 94,974 2/5/2020
3.0.0-rc.5 269,712 1/24/2020
3.0.0-rc.4 116,687 12/29/2019
3.0.0-rc.3 95,268 11/28/2019
3.0.0-rc.2 48,636 10/13/2019
3.0.0-rc.1 11,773 9/30/2019
3.0.0-beta.1 35,330 4/26/2019
3.0.0-alpha.1 11,730 4/23/2019
2.3.0 89,987 11/14/2019
2.2.1 23,858 10/13/2019
2.2.0 64,301 8/28/2019
2.1.1 225,061 4/26/2019
2.1.0 97,104 4/8/2019
2.0.1 6,555 4/6/2019
2.0.0 32,350 3/13/2019
2.0.0-beta.5 27,333 2/13/2019
2.0.0-beta.4 3,442 2/11/2019
2.0.0-beta.3 4,172 1/28/2019
2.0.0-beta.2 7,717 1/10/2019
2.0.0-beta.1 13,780 11/12/2018
1.2.0 81,045 1/22/2019
1.1.0 33,973 11/10/2018
1.0.0 31,273 9/26/2018
1.0.0-rc.1 738 9/22/2018
1.0.0-beta.3 730 9/19/2018
1.0.0-beta.2 745 9/10/2018
1.0.0-beta.1 738 8/26/2018
0.8.2 17,768 6/29/2018
0.8.1 12,523 6/20/2018
0.8.0 3,883 6/12/2018
0.8.0-beta.1 1,230 5/11/2018
0.7.0 6,560 4/11/2018
0.6.0 3,863 4/4/2018
0.5.0 3,889 3/30/2018
0.4.0 4,131 3/29/2018
0.3.0 3,904 3/25/2018
0.2.0 3,770 3/25/2018
0.1.0 21,021 3/20/2018

$# Changes in 7.0.1
- Fixed: FluentValidation rules not applied to `[FromForm]` parameters (Issue #170)
 - Added `RequestBody` processing in `FluentValidationOperationFilter` for `multipart/form-data` and `application/x-www-form-urlencoded` content types

# Changes in 6.1.0
- Added support for .NET 8 and .NET 9 to MicroElements.Swashbuckle.FluentValidation.AspNetCore
- Dropped support for .NET 6.0
- Updated NJsonSchema to version 10.6.10

# Changes in 6.0.0
- see changelog for betas

# Changes in 6.0.0 - beta.3:
- Added: `IFluentValidationRuleProvider` can be replaced with DI
- Added: `ISchemaGenerationOptions.ValidatorSearch`
 - `IsOneValidatorForType`: bool; Value `true`: Gets only one validator (default), `false`: Gets all suitable validators (new)
 - `SearchBaseTypeValidators`: allows to search base type validators
- Fixed: Stack Overflow Exception when using recursive validator type (PR#122 by @rachelpetitto)
- Deleted: `FluentValidationRulesRegistrator`
- Deleted: `SwaggerGenOptions` from filters
- Many minor code cleanups

# Changes in 6.0.0 - beta.2:
- Codebase unified with NSwag
- Added: MicroElements.NSwag.FluentValidation package. Early version
- Change: `INameResolver` removed from FluentValidationRules ctor. Set it from `SchemaGenerationOptions`
- Change: `ISchemaGenerationSettings` merged to `ISchemaGenerationOptions`
- Change: `IValidatorRegistry` and it's implementations moved to MicroElements.OpenApi.FluentValidation namespace and package
- Change: `IValidatorRegistry` can return more than one validator with method `GetValidators`
- Added: `ValidatorSearch` strategy OneForType, ManyForType
- Added: `ISchemaGenerationOptions.ValidatorFilter`, `ISchemaGenerationOptions.RuleFilter`, `ISchemaGenerationOptions.RuleComponentFilter`
 - Default Rule and RuleComponent filters checks that rule or component has no conditions.
 - Default ValidatorFilter checks that validator CanValidateInstancesOfType
- Change: `UseAllOfForMultipleRules` typo fix


Full release notes can be found at: https://github.com/micro-elements/MicroElements.Swashbuckle.FluentValidation/blob/master/CHANGELOG.md