MicroElements.Swashbuckle.FluentValidation 3.2.0

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

There is a newer prerelease version of this package available.
See the version list below for details.
Install-Package MicroElements.Swashbuckle.FluentValidation -Version 3.2.0
dotnet add package MicroElements.Swashbuckle.FluentValidation --version 3.2.0
<PackageReference Include="MicroElements.Swashbuckle.FluentValidation" Version="3.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 3.2.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

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

# Changes in 3.1.0:
* Swashbuckle.AspNetCore updated to version >= 5.2.0
* Fixed: #53 (Missing method exception when using Swashbuckle > 5.0.0)

# Changes in 3.0.0:
* Supports Swashbuckle 5, net core 3 and brand new System.Text.Json
* Swashbuckle.AspNetCore updated to version >= 5.0.0 (new Microsoft.OpenApi)
* FluentValidation updated to version >= 8.3

* FluentValidation property rules of type CollectionValidationRules (RuleForEach()) are no longer exposed #49.
* New IgnoreAllStringComparer was invented to solve problem with different property name formatting: camelCase, PascalCase, snake_case, kebab-case
* Added NewtonsoftJsonNamingPolicy example to override property name formatting in new System.Text.Json according Newtonsoft.Json.Serialization.NamingStrategy (see: SampleWebApi)
* Fixed invalid documentation on validation rules containing a condition #38
* Fixed: #37 (FluentValidationOperationFilter now uses swachbuckle interface to determine json settings)

# Changes in 3.0.0-rc.6:
* Swashbuckle.AspNetCore updated to version >= 5.0.0


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

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
4.0.0-rc.1 75 6/15/2020
3.2.0 10,819 6/14/2020
3.1.1 46,537 4/28/2020
3.1.0 42,151 3/25/2020
3.0.0 34,424 3/7/2020
3.0.0-rc.6 15,692 2/5/2020
3.0.0-rc.5 35,767 1/24/2020
3.0.0-rc.4 63,887 12/29/2019
3.0.0-rc.3 25,712 11/28/2019
3.0.0-rc.2 32,814 10/13/2019
3.0.0-rc.1 9,378 9/30/2019
3.0.0-beta.1 22,791 4/26/2019
3.0.0-alpha.1 1,017 4/23/2019
2.3.0 28,937 11/14/2019
2.2.1 15,778 10/13/2019
2.2.0 38,246 8/28/2019
2.1.1 113,681 4/26/2019
2.1.0 39,475 4/8/2019
2.0.1 3,542 4/6/2019
2.0.0 23,902 3/13/2019
2.0.0-beta.5 15,395 2/13/2019
2.0.0-beta.4 2,456 2/11/2019
2.0.0-beta.3 3,478 1/28/2019
2.0.0-beta.2 7,011 1/10/2019
2.0.0-beta.1 12,491 11/12/2018
1.2.0 72,665 1/22/2019
1.1.0 24,461 11/10/2018
1.0.0 23,140 9/26/2018
1.0.0-rc.1 156 9/22/2018
1.0.0-beta.3 142 9/19/2018
1.0.0-beta.2 143 9/10/2018
1.0.0-beta.1 158 8/26/2018
0.8.2 10,451 6/29/2018
0.8.1 3,383 6/20/2018
0.8.0 428 6/12/2018
0.8.0-beta.1 299 5/11/2018
0.7.0 2,031 4/11/2018
0.6.0 390 4/4/2018
0.5.0 468 3/30/2018
0.4.0 455 3/29/2018
0.3.0 437 3/25/2018
0.2.0 370 3/25/2018
0.1.0 384 3/20/2018