MicroElements.Swashbuckle.FluentValidation 6.1.0
Swagger ISchemaFilter that uses FluentValidation validators instead System.ComponentModel based attributes.
No packages depend on MicroElements.Swashbuckle.FluentValidation.
$# 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
.NET Standard 2.0
- MicroElements.OpenApi.FluentValidation (>= 6.1.0)
- FluentValidation (>= 10.0.0 && < 12.0.0)
- Swashbuckle.AspNetCore.SwaggerGen (>= 6.3.0 && < 8.0.0)
Version | Downloads | Last updated |
---|---|---|
6.1.0 | 1 | 25.12.2024 |
6.0.0 | 10 | 22.09.2024 |
6.0.0-beta.3 | 6 | 22.09.2024 |
6.0.0-beta.1 | 6 | 22.09.2024 |
5.7.0 | 7 | 22.09.2024 |
5.6.0 | 9 | 22.09.2024 |
5.5.0 | 6 | 22.09.2024 |
5.4.0 | 9 | 22.09.2024 |
5.3.0 | 8 | 22.09.2024 |
5.2.0 | 8 | 22.09.2024 |
5.1.0 | 6 | 22.09.2024 |
5.1.0-rc.2 | 4 | 22.09.2024 |
5.1.0-rc.1 | 6 | 22.09.2024 |
5.0.0 | 8 | 22.09.2024 |
5.0.0-rc.2 | 7 | 22.09.2024 |
5.0.0-rc.1 | 5 | 22.09.2024 |
4.3.0 | 6 | 22.09.2024 |
4.3.0-rc.1 | 7 | 22.09.2024 |
4.2.0 | 7 | 22.09.2024 |
4.1.0 | 8 | 22.09.2024 |
4.1.0-rc.1 | 9 | 22.09.2024 |
4.0.0 | 6 | 22.09.2024 |
4.0.0-rc.2 | 6 | 22.09.2024 |
4.0.0-rc.1 | 6 | 22.09.2024 |
3.2.0 | 7 | 22.09.2024 |
3.1.1 | 10 | 22.09.2024 |
3.1.0 | 5 | 22.09.2024 |
3.0.0 | 5 | 22.09.2024 |
3.0.0-rc.6 | 8 | 22.09.2024 |
3.0.0-rc.5 | 6 | 22.09.2024 |
3.0.0-rc.4 | 8 | 22.09.2024 |
3.0.0-rc.3 | 8 | 22.09.2024 |
3.0.0-rc.2 | 10 | 22.09.2024 |
3.0.0-rc.1 | 6 | 22.09.2024 |
3.0.0-beta.1 | 6 | 22.09.2024 |
3.0.0-alpha.1 | 8 | 22.09.2024 |
2.3.0 | 6 | 22.09.2024 |
2.2.1 | 8 | 22.09.2024 |
2.2.0 | 8 | 22.09.2024 |
2.1.1 | 14 | 01.03.2024 |
2.1.0 | 8 | 22.09.2024 |
2.0.1 | 7 | 22.09.2024 |
2.0.0 | 6 | 22.09.2024 |
2.0.0-beta.5 | 7 | 22.09.2024 |
2.0.0-beta.4 | 7 | 23.09.2024 |
2.0.0-beta.3 | 6 | 22.09.2024 |
2.0.0-beta.2 | 8 | 22.09.2024 |
2.0.0-beta.1 | 5 | 22.09.2024 |
1.2.0 | 9 | 22.09.2024 |
1.1.0 | 6 | 22.09.2024 |
1.0.0 | 6 | 22.09.2024 |
1.0.0-rc.1 | 6 | 22.09.2024 |
1.0.0-beta.3 | 11 | 22.09.2024 |
1.0.0-beta.2 | 7 | 22.09.2024 |
1.0.0-beta.1 | 8 | 22.09.2024 |
0.8.2 | 7 | 22.09.2024 |
0.8.1 | 7 | 22.09.2024 |
0.8.0 | 5 | 22.09.2024 |
0.8.0-beta.1 | 7 | 22.09.2024 |
0.7.0 | 7 | 22.09.2024 |
0.6.0 | 9 | 22.09.2024 |
0.5.0 | 6 | 23.09.2024 |
0.4.0 | 7 | 22.09.2024 |
0.3.0 | 7 | 22.09.2024 |
0.2.0 | 8 | 22.09.2024 |
0.1.0 | 7 | 22.09.2024 |