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 124,651 9/2/2025
6.1.0 2,672,655 11/26/2024
6.0.0 5,298,613 12/3/2023
6.0.0-beta.3 295,835 2/19/2023
6.0.0-beta.1 297,991 7/23/2022
5.7.0 11,812,060 6/10/2022
5.6.0 1,174,190 5/3/2022
5.5.0 737,518 3/28/2022
5.4.0 3,327,140 9/19/2021
5.3.0 193,711 9/1/2021
5.2.0 471,042 7/31/2021
5.1.0 288,442 6/15/2021
5.1.0-rc.2 87,324 6/3/2021
5.1.0-rc.1 16,235 6/1/2021
5.0.0 66,411 5/30/2021
5.0.0-rc.2 10,389 5/18/2021
5.0.0-rc.1 2,659 5/16/2021
4.3.0 893,769 3/25/2021
4.3.0-rc.1 662 3/21/2021
4.2.0 845,238 2/18/2021
4.1.0 257,092 1/21/2021
4.1.0-rc.1 5,826 1/6/2021
4.0.0 1,668,639 8/21/2020
4.0.0-rc.2 23,601 7/18/2020
4.0.0-rc.1 67,145 6/15/2020
3.2.0 890,982 6/14/2020
3.1.1 658,357 4/28/2020
3.1.0 355,175 3/25/2020
3.0.0 181,202 3/7/2020
3.0.0-rc.6 94,329 2/5/2020
3.0.0-rc.5 269,685 1/24/2020
3.0.0-rc.4 116,661 12/29/2019
3.0.0-rc.3 95,182 11/28/2019
3.0.0-rc.2 48,539 10/13/2019
3.0.0-rc.1 11,748 9/30/2019
3.0.0-beta.1 35,262 4/26/2019
3.0.0-alpha.1 11,710 4/23/2019
2.3.0 88,039 11/14/2019
2.2.1 23,383 10/13/2019
2.2.0 63,836 8/28/2019
2.1.1 224,225 4/26/2019
2.1.0 96,652 4/8/2019
2.0.1 6,105 4/6/2019
2.0.0 31,878 3/13/2019
2.0.0-beta.5 27,310 2/13/2019
2.0.0-beta.4 3,418 2/11/2019
2.0.0-beta.3 4,151 1/28/2019
2.0.0-beta.2 7,693 1/10/2019
2.0.0-beta.1 13,752 11/12/2018
1.2.0 80,582 1/22/2019
1.1.0 33,518 11/10/2018
1.0.0 30,818 9/26/2018
1.0.0-rc.1 707 9/22/2018
1.0.0-beta.3 708 9/19/2018
1.0.0-beta.2 717 9/10/2018
1.0.0-beta.1 714 8/26/2018
0.8.2 17,201 6/29/2018
0.8.1 12,035 6/20/2018
0.8.0 3,396 6/12/2018
0.8.0-beta.1 1,168 5/11/2018
0.7.0 6,067 4/11/2018
0.6.0 3,374 4/4/2018
0.5.0 3,403 3/30/2018
0.4.0 3,632 3/29/2018
0.3.0 3,416 3/25/2018
0.2.0 3,284 3/25/2018
0.1.0 20,127 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