MicroElements.Swashbuckle.FluentValidation
2.0.0-beta.1
Prefix Reserved
See the version list below for details.
dotnet add package MicroElements.Swashbuckle.FluentValidation --version 2.0.0-beta.1
NuGet\Install-Package MicroElements.Swashbuckle.FluentValidation -Version 2.0.0-beta.1
<PackageReference Include="MicroElements.Swashbuckle.FluentValidation" Version="2.0.0-beta.1" />
paket add MicroElements.Swashbuckle.FluentValidation --version 2.0.0-beta.1
#r "nuget: MicroElements.Swashbuckle.FluentValidation, 2.0.0-beta.1"
// Install MicroElements.Swashbuckle.FluentValidation as a Cake Addin #addin nuget:?package=MicroElements.Swashbuckle.FluentValidation&version=2.0.0-beta.1&prerelease // Install MicroElements.Swashbuckle.FluentValidation as a Cake Tool #tool nuget:?package=MicroElements.Swashbuckle.FluentValidation&version=2.0.0-beta.1&prerelease
Swagger ISchemaFilter that uses FluentValidation validators instead System.ComponentModel based attributes.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. 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. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- FluentValidation (>= 7.2.0)
- Swashbuckle.AspNetCore (>= 4.0.1)
NuGet packages (74)
Showing the top 5 NuGet packages that depend on MicroElements.Swashbuckle.FluentValidation:
Package | Downloads |
---|---|
Reo.Core.Validation
Package Description |
|
Reo.Core.Hosting
Package Description |
|
Reo.Core.DistributedCache.Abstractions
Package Description |
|
Reo.Core.Queue.RabbitMq
Package Description |
|
Reo.Core.IdentityModel
Package Description |
GitHub repositories (3)
Showing the top 3 popular GitHub repositories that depend on MicroElements.Swashbuckle.FluentValidation:
Repository | Stars |
---|---|
AlphaYu/adnc
.NET微服务/分布式开发框架,同时也适用于单体架构系统的开发。
|
|
micro-elements/MicroElements.Swashbuckle.FluentValidation
Use FluentValidation rules instead of ComponentModel attributes
|
|
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
|
Version | Downloads | Last updated |
---|---|---|
6.0.0 | 2,769,369 | 12/3/2023 |
6.0.0-beta.3 | 243,079 | 2/19/2023 |
6.0.0-beta.1 | 230,413 | 7/23/2022 |
5.7.0 | 10,273,972 | 6/10/2022 |
5.6.0 | 1,103,001 | 5/3/2022 |
5.5.0 | 655,758 | 3/28/2022 |
5.4.0 | 3,144,932 | 9/19/2021 |
5.3.0 | 187,681 | 9/1/2021 |
5.2.0 | 445,043 | 7/31/2021 |
5.1.0 | 277,482 | 6/15/2021 |
5.1.0-rc.2 | 78,936 | 6/3/2021 |
5.1.0-rc.1 | 16,088 | 6/1/2021 |
5.0.0 | 59,484 | 5/30/2021 |
5.0.0-rc.2 | 9,123 | 5/18/2021 |
5.0.0-rc.1 | 2,529 | 5/16/2021 |
4.3.0 | 805,753 | 3/25/2021 |
4.3.0-rc.1 | 515 | 3/21/2021 |
4.2.0 | 809,378 | 2/18/2021 |
4.1.0 | 247,723 | 1/21/2021 |
4.1.0-rc.1 | 5,682 | 1/6/2021 |
4.0.0 | 1,609,413 | 8/21/2020 |
4.0.0-rc.2 | 20,896 | 7/18/2020 |
4.0.0-rc.1 | 66,962 | 6/15/2020 |
3.2.0 | 859,841 | 6/14/2020 |
3.1.1 | 546,450 | 4/28/2020 |
3.1.0 | 324,998 | 3/25/2020 |
3.0.0 | 165,908 | 3/7/2020 |
3.0.0-rc.6 | 86,640 | 2/5/2020 |
3.0.0-rc.5 | 269,407 | 1/24/2020 |
3.0.0-rc.4 | 115,980 | 12/29/2019 |
3.0.0-rc.3 | 90,562 | 11/28/2019 |
3.0.0-rc.2 | 47,835 | 10/13/2019 |
3.0.0-rc.1 | 11,509 | 9/30/2019 |
3.0.0-beta.1 | 34,484 | 4/26/2019 |
3.0.0-alpha.1 | 11,549 | 4/23/2019 |
2.3.0 | 73,806 | 11/14/2019 |
2.2.1 | 22,392 | 10/13/2019 |
2.2.0 | 62,039 | 8/28/2019 |
2.1.1 | 221,108 | 4/26/2019 |
2.1.0 | 95,503 | 4/8/2019 |
2.0.1 | 5,253 | 4/6/2019 |
2.0.0 | 30,862 | 3/13/2019 |
2.0.0-beta.5 | 27,154 | 2/13/2019 |
2.0.0-beta.4 | 3,244 | 2/11/2019 |
2.0.0-beta.3 | 3,968 | 1/28/2019 |
2.0.0-beta.2 | 7,525 | 1/10/2019 |
2.0.0-beta.1 | 13,549 | 11/12/2018 |
1.2.0 | 78,858 | 1/22/2019 |
1.1.0 | 32,611 | 11/10/2018 |
1.0.0 | 29,891 | 9/26/2018 |
1.0.0-rc.1 | 524 | 9/22/2018 |
1.0.0-beta.3 | 521 | 9/19/2018 |
1.0.0-beta.2 | 529 | 9/10/2018 |
1.0.0-beta.1 | 552 | 8/26/2018 |
0.8.2 | 15,400 | 6/29/2018 |
0.8.1 | 10,704 | 6/20/2018 |
0.8.0 | 2,251 | 6/12/2018 |
0.8.0-beta.1 | 751 | 5/11/2018 |
0.7.0 | 4,853 | 4/11/2018 |
0.6.0 | 2,276 | 4/4/2018 |
0.5.0 | 2,301 | 3/30/2018 |
0.4.0 | 2,473 | 3/29/2018 |
0.3.0 | 2,285 | 3/25/2018 |
0.2.0 | 2,198 | 3/25/2018 |
0.1.0 | 9,245 | 3/20/2018 |
# Changes in 2.0.0-beta.1:
* Swashbuckle.AspNetCore updated to version >= 4.0.0
* Schema Minimum and Maximum now supports doubles (was only int)
* WARNING: ScopedSwaggerMiddleware doesn't work as expected because Swashbuckle.AspNetCore changed a lot. Looking for workaround.
# Changes in 1.1.0:
* Swashbuckle.AspNetCore version locked to versions [1.1.0-3.0.0] because version 4.0.0 has breaking changes. Next version will be 2.0.0 according semver.
# Changes in 1.0.0:
* Added ScopedSwaggerMiddleware to resolve error "Cannot resolve 'MyValidator' from root provider because it requires scoped service 'TDependency'"
* Added support for Include
* Bugfixes
* Updated samples and documentation
* Build scripts migrated to MicroElements.Devops
* Build: added SourceLink
# Changes in 0.8.2:
* Fixed: GH-13: Fixed warning with null schema.Properties
# Changes in 0.8.1:
* Fixed: GH-12: Fixed NullReferenceException, if schema.Properties is null
# Changes in 0.8.0:
* New feature: FluentValidation rules for get operation parameters binded from models with validators. Adds swagger validation for parameters: Required, MinLength, MaxLength, Minimum, Maximum, Pattern (DataAnnotation works only with [Required]).
* Fixed: GH-10: Now member search is IgnoreCase
* Fixed: Possible double Required
# Changes in 0.7.0:
* Improved stability and diagnostics
* Added GetValidator error handling, ApplyRule error handling
* Added ability to work without provided FluentValidation (does not break anything)
* Added ability to use Microsoft.Extensions.Logging.Abstractions (no additional dependencies)
* Added logging in error points (logs as warnings)
# Changes in 0.6.0:
* Fixed: GH-6: Removed empty required array from swagger schema
# Changes in 0.5.0:
* Supported float and double values for IComparisonValidator and IBetweenValidator
# Changes in 0.4.0:
* Refactored to easy add new rules
* Added ability to add rules through DI
Supported validators:
* INotNullValidator (NotNull)
* INotEmptyValidator (NotEmpty)
* ILengthValidator (Length, MinimumLength, MaximumLength, ExactLength)
* IRegularExpressionValidator (Email, Matches)
* IComparisonValidator (GreaterThan, GreaterThanOrEqual, LessThan, LessThanOrEqual)
* IBetweenValidator (InclusiveBetween, ExclusiveBetween)
# Changes in 0.3.0:
* FluentValidationRulesRegistrator moved to main swagger namespace
# Changes in 0.2.0:
* Added FluentValidationRulesRegistrator
# Changes in 0.1.0:
* Added FluentValidationRules.
Full release notes can be found at
https://github.com/micro-elements/MicroElements.Swashbuckle.FluentValidation/blob/master/CHANGELOG.md