MicroElements.Swashbuckle.FluentValidation 6.0.0
Swagger ISchemaFilter that uses FluentValidation validators instead System.ComponentModel based attributes.
No packages depend on MicroElements.Swashbuckle.FluentValidation.
$# 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`
# Changes in 5.7.0:
* Change: ILengthValidator support for arrays. Sets MinItems, MaxItems (PR#108 by biggik)
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.0.0)
- FluentValidation (>= 10.0.0 && < 12.0.0)
- Swashbuckle.AspNetCore.SwaggerGen (>= 6.3.0 && < 7.0.0)
Version | Downloads | Last updated |
---|---|---|
6.0.0 | 1 | 22.09.2024 |
6.0.0-beta.3 | 0 | 19.02.2023 |
6.0.0-beta.1 | 0 | 23.07.2022 |
5.7.0 | 0 | 10.06.2022 |
5.6.0 | 0 | 03.05.2022 |
5.5.0 | 0 | 28.03.2022 |
5.4.0 | 0 | 19.09.2021 |
5.3.0 | 0 | 01.09.2021 |
5.2.0 | 0 | 31.07.2021 |
5.1.0 | 0 | 15.06.2021 |
5.1.0-rc.2 | 0 | 03.06.2021 |
5.1.0-rc.1 | 0 | 01.06.2021 |
5.0.0 | 0 | 30.05.2021 |
5.0.0-rc.2 | 0 | 18.05.2021 |
5.0.0-rc.1 | 0 | 16.05.2021 |
4.3.0 | 0 | 25.03.2021 |
4.3.0-rc.1 | 0 | 21.03.2021 |
4.2.0 | 0 | 18.02.2021 |
4.1.0 | 0 | 21.01.2021 |
4.1.0-rc.1 | 0 | 06.01.2021 |
4.0.0 | 0 | 21.08.2020 |
4.0.0-rc.2 | 0 | 18.07.2020 |
4.0.0-rc.1 | 0 | 15.06.2020 |
3.2.0 | 0 | 14.06.2020 |
3.1.1 | 0 | 28.04.2020 |
3.1.0 | 0 | 25.03.2020 |
3.0.0 | 0 | 07.03.2020 |
3.0.0-rc.6 | 0 | 05.02.2020 |
3.0.0-rc.5 | 0 | 24.01.2020 |
3.0.0-rc.4 | 0 | 29.12.2019 |
3.0.0-rc.3 | 0 | 28.11.2019 |
3.0.0-rc.2 | 0 | 13.10.2019 |
3.0.0-rc.1 | 0 | 30.09.2019 |
3.0.0-beta.1 | 0 | 26.04.2019 |
3.0.0-alpha.1 | 0 | 23.04.2019 |
2.3.0 | 0 | 14.11.2019 |
2.2.1 | 0 | 13.10.2019 |
2.2.0 | 0 | 28.08.2019 |
2.1.1 | 5 | 01.03.2024 |
2.1.0 | 0 | 08.04.2019 |
2.0.1 | 0 | 06.04.2019 |
2.0.0 | 0 | 13.03.2019 |
2.0.0-beta.5 | 0 | 13.02.2019 |
2.0.0-beta.4 | 0 | 11.02.2019 |
2.0.0-beta.3 | 0 | 28.01.2019 |
2.0.0-beta.2 | 0 | 10.01.2019 |
2.0.0-beta.1 | 0 | 12.11.2018 |
1.2.0 | 0 | 22.01.2019 |
1.1.0 | 0 | 10.11.2018 |
1.0.0 | 0 | 26.09.2018 |
1.0.0-rc.1 | 0 | 22.09.2018 |
1.0.0-beta.3 | 0 | 19.09.2018 |
1.0.0-beta.2 | 0 | 10.09.2018 |
1.0.0-beta.1 | 0 | 26.08.2018 |
0.8.2 | 0 | 29.06.2018 |
0.8.1 | 0 | 20.06.2018 |
0.8.0 | 0 | 12.06.2018 |
0.8.0-beta.1 | 0 | 11.05.2018 |
0.7.0 | 0 | 11.04.2018 |
0.6.0 | 0 | 04.04.2018 |
0.5.0 | 0 | 30.03.2018 |
0.4.0 | 0 | 29.03.2018 |
0.3.0 | 0 | 25.03.2018 |
0.2.0 | 0 | 25.03.2018 |
0.1.0 | 0 | 20.03.2018 |