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
Copy file name to clipboardExpand all lines: src/main/java/jakarta/validation/Constraint.java
+11-4Lines changed: 11 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -24,17 +24,21 @@
24
24
* <p>
25
25
* Each constraint annotation must host the following attributes:
26
26
* <ul>
27
-
* <li>{@link String}<code> message() default [...];</code> which should default to an error message key made of the fully-qualified class name of the constraint followed by <code>.message</code>. For example <code>"{com.acme.constraints.NotSafe.message}"</code></li>
28
-
* <li>{@link Class}<code><?>[] groups() default {};</code> for user to customize the targeted groups</li>
0 commit comments