Repository navigation
7.1.5-beta.2
Pre-release
Pre-release
Pre-release for the upcoming 7.1.5.
Changes since 7.1.5-beta
- Fixed: Multiple
.Matches()rules on one property displayed incorrectly — only the first pattern shown, property duplicated (#204, #205).- Multiple patterns were placed into separate
allOfsubschemas, which Swagger UI/Redoc/Scalar collapse, keeping only the firstpattern. - Now multiple
.Matches()rules are combined into a singlepatternvia lookahead assertions, preserving.Matches()semantics and rendering correctly. - Applied to all providers: Swashbuckle,
MicroElements.AspNetCore.OpenApi.FluentValidation, and NSwag. - Behavior change:
SchemaGenerationOptions.UseAllOfForMultipleRulesdefaulttrue→false; set it totrueto keep the legacyallOfrepresentation.
- Multiple patterns were placed into separate
Already in 7.1.5-beta
- Added:
ConditionalRulesModeoption to control how.When()/.Unless()conditional rules are handled during schema generation (#203).
See CHANGELOG.md for full details.