forked from loafle/openapi-generator-original
* Issue #5548 Avoid html escaping of pattern in bean validation * Run spring-all-petstore.sh and java-petstore-all.sh scripts
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{{#pattern}} @Pattern(regexp="{{pattern}}"){{/pattern}}{{!
|
||||
{{#pattern}} @Pattern(regexp="{{{pattern}}}"){{/pattern}}{{!
|
||||
minLength && maxLength set
|
||||
}}{{#minLength}}{{#maxLength}} @Size(min={{minLength}},max={{maxLength}}){{/maxLength}}{{/minLength}}{{!
|
||||
minLength set, maxLength not
|
||||
|
||||
Reference in New Issue
Block a user