MicroElements.Swashbuckle.FluentValidation 7.0.2

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package MicroElements.Swashbuckle.FluentValidation --version 7.0.2
                    
NuGet\Install-Package MicroElements.Swashbuckle.FluentValidation -Version 7.0.2
                    
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.2" />
                    
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.2" />
                    
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.2
                    
#r "nuget: MicroElements.Swashbuckle.FluentValidation, 7.0.2"
                    
#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.2
                    
#: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.2
                    
Install as a Cake Addin
#tool nuget:?package=MicroElements.Swashbuckle.FluentValidation&version=7.0.2
                    
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.3 22,505 12/23/2025
7.0.2 595 12/23/2025
7.0.1 14,755 12/8/2025
7.0.0 1,696 12/7/2025
6.1.1 355,460 9/2/2025
6.1.0 3,153,056 11/26/2024
6.0.0 5,683,410 12/3/2023
6.0.0-beta.3 307,993 2/19/2023
6.0.0-beta.1 315,624 7/23/2022
5.7.0 12,012,141 6/10/2022
5.6.0 1,188,364 5/3/2022
5.5.0 755,755 3/28/2022
5.4.0 3,345,035 9/19/2021
5.3.0 195,659 9/1/2021
5.2.0 475,333 7/31/2021
5.1.0 291,857 6/15/2021
5.1.0-rc.2 87,374 6/3/2021
5.1.0-rc.1 16,274 6/1/2021
5.0.0 68,333 5/30/2021
5.0.0-rc.2 10,568 5/18/2021
5.0.0-rc.1 2,694 5/16/2021
4.3.0 909,371 3/25/2021
4.3.0-rc.1 697 3/21/2021
4.2.0 850,175 2/18/2021
4.1.0 259,988 1/21/2021
4.1.0-rc.1 5,873 1/6/2021
4.0.0 1,679,665 8/21/2020
4.0.0-rc.2 23,927 7/18/2020
4.0.0-rc.1 67,188 6/15/2020
3.2.0 895,595 6/14/2020
3.1.1 686,667 4/28/2020
3.1.0 364,104 3/25/2020
3.0.0 183,925 3/7/2020
3.0.0-rc.6 95,360 2/5/2020
3.0.0-rc.5 269,731 1/24/2020
3.0.0-rc.4 116,735 12/29/2019
3.0.0-rc.3 95,337 11/28/2019
3.0.0-rc.2 48,699 10/13/2019
3.0.0-rc.1 11,798 9/30/2019
3.0.0-beta.1 35,359 4/26/2019
3.0.0-alpha.1 11,747 4/23/2019
2.3.0 93,064 11/14/2019
2.2.1 25,085 10/13/2019
2.2.0 65,555 8/28/2019
2.1.1 226,561 4/26/2019
2.1.0 98,350 4/8/2019
2.0.1 7,765 4/6/2019
2.0.0 33,587 3/13/2019
2.0.0-beta.5 27,351 2/13/2019
2.0.0-beta.4 3,462 2/11/2019
2.0.0-beta.3 4,195 1/28/2019
2.0.0-beta.2 7,743 1/10/2019
2.0.0-beta.1 13,802 11/12/2018
1.2.0 82,253 1/22/2019
1.1.0 35,176 11/10/2018
1.0.0 32,491 9/26/2018
1.0.0-rc.1 762 9/22/2018
1.0.0-beta.3 752 9/19/2018
1.0.0-beta.2 767 9/10/2018
1.0.0-beta.1 761 8/26/2018
0.8.2 19,035 6/29/2018
0.8.1 13,754 6/20/2018
0.8.0 5,108 6/12/2018
0.8.0-beta.1 1,268 5/11/2018
0.7.0 7,795 4/11/2018
0.6.0 5,093 4/4/2018
0.5.0 5,113 3/30/2018
0.4.0 5,358 3/29/2018
0.3.0 5,125 3/25/2018
0.2.0 4,991 3/25/2018
0.1.0 22,814 3/20/2018

$# Changes in 7.0.2
- Fixed: InvalidCastException when models contain enum properties (Issue #176)
 - In Microsoft.OpenApi 2.x, enum properties are represented as `OpenApiSchemaReference` instead of `OpenApiSchema`
 - Filter out schema references in `GetProperties()` method to avoid cast exception

# 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


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