MicroElements.Swashbuckle.FluentValidation
1.0.0-rc.1
Prefix Reserved
See the version list below for details.
dotnet add package MicroElements.Swashbuckle.FluentValidation --version 1.0.0-rc.1
NuGet\Install-Package MicroElements.Swashbuckle.FluentValidation -Version 1.0.0-rc.1
<PackageReference Include="MicroElements.Swashbuckle.FluentValidation" Version="1.0.0-rc.1" />
paket add MicroElements.Swashbuckle.FluentValidation --version 1.0.0-rc.1
#r "nuget: MicroElements.Swashbuckle.FluentValidation, 1.0.0-rc.1"
// Install MicroElements.Swashbuckle.FluentValidation as a Cake Addin
#addin nuget:?package=MicroElements.Swashbuckle.FluentValidation&version=1.0.0-rc.1&prerelease
// Install MicroElements.Swashbuckle.FluentValidation as a Cake Tool
#tool nuget:?package=MicroElements.Swashbuckle.FluentValidation&version=1.0.0-rc.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 (>= 1.1.0)
NuGet packages (40)
Showing the top 5 NuGet packages that depend on MicroElements.Swashbuckle.FluentValidation:
Package | Downloads |
---|---|
Reo.Core.Validation
Package Description |
|
H21.AspNetCore.Validation
Package Description |
|
Pipoburgos.SharedKernel.Api
C# DDD Distributed Services Layer |
|
Pipoburgos.SharedKernel.Api.Gateway
C# DDD Distributed Services Layer |
|
Hyperledger.Aries.AspNetCore
ASP.NET Core support for Agent Framework |
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 | 619,907 | 12/3/2023 |
6.0.0-beta.3 | 191,184 | 2/19/2023 |
6.0.0-beta.1 | 192,286 | 7/23/2022 |
5.7.0 | 8,927,771 | 6/10/2022 |
5.6.0 | 1,029,717 | 5/3/2022 |
5.5.0 | 599,695 | 3/28/2022 |
5.4.0 | 3,021,996 | 9/19/2021 |
5.3.0 | 184,133 | 9/1/2021 |
5.2.0 | 430,544 | 7/31/2021 |
5.1.0 | 271,557 | 6/15/2021 |
5.1.0-rc.2 | 68,910 | 6/3/2021 |
5.1.0-rc.1 | 16,072 | 6/1/2021 |
5.0.0 | 56,832 | 5/30/2021 |
5.0.0-rc.2 | 8,370 | 5/18/2021 |
5.0.0-rc.1 | 2,509 | 5/16/2021 |
4.3.0 | 717,888 | 3/25/2021 |
4.3.0-rc.1 | 456 | 3/21/2021 |
4.2.0 | 788,825 | 2/18/2021 |
4.1.0 | 230,694 | 1/21/2021 |
4.1.0-rc.1 | 5,656 | 1/6/2021 |
4.0.0 | 1,579,266 | 8/21/2020 |
4.0.0-rc.2 | 19,593 | 7/18/2020 |
4.0.0-rc.1 | 66,923 | 6/15/2020 |
3.2.0 | 827,335 | 6/14/2020 |
3.1.1 | 519,413 | 4/28/2020 |
3.1.0 | 305,104 | 3/25/2020 |
3.0.0 | 154,438 | 3/7/2020 |
3.0.0-rc.6 | 81,027 | 2/5/2020 |
3.0.0-rc.5 | 269,311 | 1/24/2020 |
3.0.0-rc.4 | 115,461 | 12/29/2019 |
3.0.0-rc.3 | 88,524 | 11/28/2019 |
3.0.0-rc.2 | 47,393 | 10/13/2019 |
3.0.0-rc.1 | 11,426 | 9/30/2019 |
3.0.0-beta.1 | 34,018 | 4/26/2019 |
3.0.0-alpha.1 | 11,530 | 4/23/2019 |
2.3.0 | 66,912 | 11/14/2019 |
2.2.1 | 22,286 | 10/13/2019 |
2.2.0 | 61,650 | 8/28/2019 |
2.1.1 | 219,486 | 4/26/2019 |
2.1.0 | 94,597 | 4/8/2019 |
2.0.1 | 5,177 | 4/6/2019 |
2.0.0 | 30,760 | 3/13/2019 |
2.0.0-beta.5 | 27,118 | 2/13/2019 |
2.0.0-beta.4 | 3,225 | 2/11/2019 |
2.0.0-beta.3 | 3,937 | 1/28/2019 |
2.0.0-beta.2 | 7,503 | 1/10/2019 |
2.0.0-beta.1 | 13,525 | 11/12/2018 |
1.2.0 | 78,223 | 1/22/2019 |
1.1.0 | 32,554 | 11/10/2018 |
1.0.0 | 29,752 | 9/26/2018 |
1.0.0-rc.1 | 497 | 9/22/2018 |
1.0.0-beta.3 | 489 | 9/19/2018 |
1.0.0-beta.2 | 504 | 9/10/2018 |
1.0.0-beta.1 | 528 | 8/26/2018 |
0.8.2 | 15,188 | 6/29/2018 |
0.8.1 | 10,081 | 6/20/2018 |
0.8.0 | 2,201 | 6/12/2018 |
0.8.0-beta.1 | 730 | 5/11/2018 |
0.7.0 | 4,762 | 4/11/2018 |
0.6.0 | 2,227 | 4/4/2018 |
0.5.0 | 2,241 | 3/30/2018 |
0.4.0 | 2,410 | 3/29/2018 |
0.3.0 | 2,242 | 3/25/2018 |
0.2.0 | 2,153 | 3/25/2018 |
0.1.0 | 4,118 | 3/20/2018 |
# 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