You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The multiple patterns gives issues when generating TypeScript files for this swagger.json in openapi-generator-cli. The property phone will not be a string but an interface.
The text was updated successfully, but these errors were encountered:
In v6.0.0 of MicroElements.Swashbuckle.FluentValidation, I get duplicated pattern rules in swagger.json:
whereas in v5.7.0 I only get one pattern as expected:
for a class ContactInfo that has a regex validation on Phone number.
This happens when I have multiple classes that uses the ContactInfo class by composition:
Full sample
https://github.com/coder925/fluentvalidation-withregex
Consequence
The multiple patterns gives issues when generating TypeScript files for this swagger.json in openapi-generator-cli. The property phone will not be a string but an interface.
The text was updated successfully, but these errors were encountered: