File tree Expand file tree Collapse file tree
main/templates/boat-spring
test/resources/boat-spring Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,8 +11,10 @@ minLength not set, maxLength set
1111} }{ {#minItems} }{ {^maxItems} }@Size(min = { {minItems} }) { {/maxItems} }{ {/minItems} }{ {!
1212@Size: minItems not set && maxItems set
1313} }{ {^minItems} }{ {#maxItems} }@Size(max = { {.} }) { {/maxItems} }{ {/minItems} }{ {!
14- @Email: useBeanValidation set && isEmail set
15- } }{ {#useBeanValidation} }{ {#isEmail} }@Email{ {/isEmail} }{ {/useBeanValidation} }{ {!
14+ @Email: useBeanValidation set && isEmail && java8 set
15+ } }{ {#useBeanValidation} }{ {#isEmail} }{ {#java8} }@org.hibernate.validator.constraints.Email{ {/java8} }{ {/isEmail} }{ {/useBeanValidation} }{ {!
16+ @Email: performBeanValidation set && isEmail && not java8 set
17+ } }{ {#performBeanValidation} }{ {#isEmail} }{ {^java8} }@jakarta.validation.constraints.Email{ {/java8} }{ {/isEmail} }{ {/performBeanValidation} }{ {!
1618check for integer or long / all others= decimal type with @Decimal*
1719isInteger set
1820} }{ {#isInteger} }{ {#minimum} }@Min({ {.} }) { {/minimum} }{ {#maximum} }@Max({ {.} }) { {/maximum} }{ {/isInteger} }{ {!
Original file line number Diff line number Diff line change @@ -357,6 +357,12 @@ components:
357357 minLength : 7
358358 maxLength : 10
359359 description : " Transaction data string map"
360+ emailAddress :
361+ type : string
362+ description : Sender Email
363+ format : email
364+ maxLength : 250
365+ example : xyz@gmail.com
360366 PaymentRequestLine :
361367 required :
362368 - accountId
You can’t perform that action at this time.
0 commit comments