Skip to content

Commit

Permalink
Merge pull request #9121 from swagger-api/issue-5643
Browse files Browse the repository at this point in the history
handled extension for pattern message.
  • Loading branch information
HugoMario committed Jan 25, 2019
2 parents c4c5c06 + 129f88f commit f4d59b5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{#pattern}}@Pattern(regexp="{{{pattern}}}") {{/pattern}}{{!
{{#pattern}}@Pattern(regexp="{{{pattern}}}"{{#vendorExtensions.x-pattern-message}}, message="{{vendorExtensions.x-pattern-message}}"{{/vendorExtensions.x-pattern-message}}) {{/pattern}}{{!
minLength && maxLength set
}}{{#minLength}}{{#maxLength}}@Size(min={{minLength}},max={{maxLength}}) {{/maxLength}}{{/minLength}}{{!
minLength set, maxLength not
Expand Down

0 comments on commit f4d59b5

Please sign in to comment.