MicroElements.Swashbuckle.FluentValidation 4.2.0

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

Install-Package MicroElements.Swashbuckle.FluentValidation -Version 4.2.0
dotnet add package MicroElements.Swashbuckle.FluentValidation --version 4.2.0
<PackageReference Include="MicroElements.Swashbuckle.FluentValidation" Version="4.2.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MicroElements.Swashbuckle.FluentValidation --version 4.2.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: MicroElements.Swashbuckle.FluentValidation, 4.2.0"
For F# scripts that support #r syntax, copy this into the source code to reference the package.

Release Notes

$# Changes in 4.2.0:
* Swashbuckle.AspNetCore version supports up to 7 (PR#75 by fabich)

# Changes in 4.1.0:
* RuleForEach supported. Issue #66
* SetValidator supported. Issue #68
* Multiple match rules supported with allOf. Issue #69
* Fixed #67: Absence of MinimumLength should not override nullable. (PR#67 by bcronje)
* Fixed #70: Nullability for numerics if MinLength is greater then zero
* Nullable annotations added

# Changes in 4.0.0:
* FluentValidation updated to [9.0.0]
* Swashbuckle.AspNetCore updated to [5.5.1]
* Changed getting included validator (FluentValidation internal API changed)
* New EmailValidator rule compatible with FluentValidation AspNetCoreCompatibleEmailValidator

# Changes in 3.2.0:
* FluentValidation fix version to [8.3.0, 9)
* Swashbuckle.AspNetCore fix version to [5.2.0, 6)
* Base type for numeric switched to decimal to match type change in OpenApi. Fixes floating numbers with nines after period.
* More smart MinLength, MaxLength, Minimum, Maximum that allows to combine rules without override values.
* More strict limits will be used for min and max values that was set more then once in other rules

# Changes in 3.1.1:
* Mark required properties as not nullable (PR#58 by @manne) Fixes: #55, #57


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

NuGet packages (19)

Showing the top 5 NuGet packages that depend on MicroElements.Swashbuckle.FluentValidation:

Package Downloads
Reo.Core.Validation
Package Description
Hyperledger.Aries.AspNetCore
ASP.NET Core support for Agent Framework
H21.AspNetCore.Validation
Package Description
Stone.Util
各个应用程序通用类库
iNube.Utility.Framework
Added CorelationId,CreatedDate,Error logs

GitHub repositories (1)

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

Repository Stars
AlphaYu/Adnc
微服务框架,同时也适用于单体架构系统的开发。支持经典三层与DDD架构开发模式、集成了一系列主流稳定的微服务配套技术栈。一个前后端分离的框架,前端基于Vue、后端基于.Net Core 3.1构建。

Version History

Version Downloads Last updated
4.2.0 5,983 2/18/2021
4.1.0 26,652 1/21/2021
4.1.0-rc.1 631 1/6/2021
4.0.0 287,443 8/21/2020
4.0.0-rc.2 11,732 7/18/2020
4.0.0-rc.1 42,135 6/15/2020
3.2.0 152,926 6/14/2020
3.1.1 132,061 4/28/2020
3.1.0 104,756 3/25/2020
3.0.0 69,563 3/7/2020
3.0.0-rc.6 37,508 2/5/2020
3.0.0-rc.5 102,207 1/24/2020
3.0.0-rc.4 93,622 12/29/2019
3.0.0-rc.3 35,246 11/28/2019
3.0.0-rc.2 40,239 10/13/2019
3.0.0-rc.1 10,684 9/30/2019
3.0.0-beta.1 28,767 4/26/2019
3.0.0-alpha.1 10,709 4/23/2019
2.3.0 40,664 11/14/2019
2.2.1 19,274 10/13/2019
2.2.0 46,747 8/28/2019
2.1.1 141,728 4/26/2019
2.1.0 63,571 4/8/2019
2.0.1 3,624 4/6/2019
2.0.0 26,668 3/13/2019
2.0.0-beta.5 22,775 2/13/2019
2.0.0-beta.4 2,957 2/11/2019
2.0.0-beta.3 3,638 1/28/2019
2.0.0-beta.2 7,226 1/10/2019
2.0.0-beta.1 13,006 11/12/2018
1.2.0 74,432 1/22/2019
1.1.0 27,507 11/10/2018
1.0.0 26,493 9/26/2018
1.0.0-rc.1 276 9/22/2018
1.0.0-beta.3 268 9/19/2018
1.0.0-beta.2 270 9/10/2018
1.0.0-beta.1 305 8/26/2018
0.8.2 11,767 6/29/2018
0.8.1 4,940 6/20/2018
0.8.0 582 6/12/2018
0.8.0-beta.1 434 5/11/2018
0.7.0 2,653 4/11/2018
0.6.0 539 4/4/2018
0.5.0 615 3/30/2018
0.4.0 609 3/29/2018
0.3.0 593 3/25/2018
0.2.0 524 3/25/2018
0.1.0 579 3/20/2018