MicroElements.Swashbuckle.FluentValidation 6.1.1

Prefix Reserved
dotnet add package MicroElements.Swashbuckle.FluentValidation --version 6.1.1
                    
NuGet\Install-Package MicroElements.Swashbuckle.FluentValidation -Version 6.1.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="6.1.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="MicroElements.Swashbuckle.FluentValidation" Version="6.1.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 6.1.1
                    
#r "nuget: MicroElements.Swashbuckle.FluentValidation, 6.1.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@6.1.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=6.1.1
                    
Install as a Cake Addin
#tool nuget:?package=MicroElements.Swashbuckle.FluentValidation&version=6.1.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 was computed.  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 (44)

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
6.1.1 3,337 9/2/2025
6.1.0 2,049,708 11/26/2024
6.0.0 4,758,910 12/3/2023
6.0.0-beta.3 284,081 2/19/2023
6.0.0-beta.1 285,521 7/23/2022
5.7.0 11,205,427 6/10/2022
5.6.0 1,154,203 5/3/2022
5.5.0 715,935 3/28/2022
5.4.0 3,253,906 9/19/2021
5.3.0 188,881 9/1/2021
5.2.0 459,935 7/31/2021
5.1.0 283,888 6/15/2021
5.1.0-rc.2 86,614 6/3/2021
5.1.0-rc.1 16,188 6/1/2021
5.0.0 64,236 5/30/2021
5.0.0-rc.2 10,205 5/18/2021
5.0.0-rc.1 2,626 5/16/2021
4.3.0 878,091 3/25/2021
4.3.0-rc.1 620 3/21/2021
4.2.0 824,644 2/18/2021
4.1.0 254,983 1/21/2021
4.1.0-rc.1 5,789 1/6/2021
4.0.0 1,645,535 8/21/2020
4.0.0-rc.2 23,276 7/18/2020
4.0.0-rc.1 67,101 6/15/2020
3.2.0 878,771 6/14/2020
3.1.1 627,922 4/28/2020
3.1.0 347,545 3/25/2020
3.0.0 179,615 3/7/2020
3.0.0-rc.6 93,441 2/5/2020
3.0.0-rc.5 269,643 1/24/2020
3.0.0-rc.4 116,476 12/29/2019
3.0.0-rc.3 91,046 11/28/2019
3.0.0-rc.2 48,424 10/13/2019
3.0.0-rc.1 11,697 9/30/2019
3.0.0-beta.1 35,156 4/26/2019
3.0.0-alpha.1 11,674 4/23/2019
2.3.0 84,722 11/14/2019
2.2.1 22,818 10/13/2019
2.2.0 62,753 8/28/2019
2.1.1 222,827 4/26/2019
2.1.0 96,183 4/8/2019
2.0.1 5,602 4/6/2019
2.0.0 31,359 3/13/2019
2.0.0-beta.5 27,277 2/13/2019
2.0.0-beta.4 3,367 2/11/2019
2.0.0-beta.3 4,113 1/28/2019
2.0.0-beta.2 7,651 1/10/2019
2.0.0-beta.1 13,716 11/12/2018
1.2.0 80,052 1/22/2019
1.1.0 33,008 11/10/2018
1.0.0 30,291 9/26/2018
1.0.0-rc.1 670 9/22/2018
1.0.0-beta.3 670 9/19/2018
1.0.0-beta.2 679 9/10/2018
1.0.0-beta.1 690 8/26/2018
0.8.2 16,499 6/29/2018
0.8.1 11,479 6/20/2018
0.8.0 2,807 6/12/2018
0.8.0-beta.1 1,086 5/11/2018
0.7.0 5,449 4/11/2018
0.6.0 2,842 4/4/2018
0.5.0 2,871 3/30/2018
0.4.0 3,064 3/29/2018
0.3.0 2,860 3/25/2018
0.2.0 2,758 3/25/2018
0.1.0 18,539 3/20/2018

$# 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

# Changes in 6.0.0 - beta.1:
- Abstracted common logic for NSwag
- Moved from `IValidationFactory` (obsolete in FV 11.1.0) to `IValidationRegistry`
- Supported FluentValidation 11 `AddFluentValidationAutoValidation`
- Removed `HttpContextServiceProviderValidatorFactory`
- Experimental `DocumentFilter`


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