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: spring-restdocs-core/src/main/java/org/springframework/restdocs/constraints/ResourceBundleConstraintDescriptionResolver.java
+4-6
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
/*
2
-
* Copyright 2014-2022 the original author or authors.
2
+
* Copyright 2014-2025 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
@@ -64,7 +64,7 @@
64
64
* {@code jakarta.validation.constraints.NotNull} is
Copy file name to clipboardExpand all lines: spring-restdocs-core/src/main/resources/org/springframework/restdocs/constraints/DefaultConstraintDescriptions.properties
-3
Original file line number
Diff line number
Diff line change
@@ -24,12 +24,9 @@ org.hibernate.validator.constraints.CodePointLength.description=Code point lengt
24
24
org.hibernate.validator.constraints.CreditCardNumber.description=Must be a well-formed credit card number
25
25
org.hibernate.validator.constraints.Currency.description=Must be in an accepted currency unit (${value})
26
26
org.hibernate.validator.constraints.EAN.description=Must be a well-formed ${type} number
27
-
org.hibernate.validator.constraints.Email.description=Must be a well-formed email address
28
27
org.hibernate.validator.constraints.Length.description=Length must be between ${min} and ${max} inclusive
29
28
org.hibernate.validator.constraints.LuhnCheck.description=Must pass the Luhn Modulo 10 checksum algorithm
30
29
org.hibernate.validator.constraints.Mod10Check.description=Must pass the Mod10 checksum algorithm
31
30
org.hibernate.validator.constraints.Mod11Check.description=Must pass the Mod11 checksum algorithm
32
-
org.hibernate.validator.constraints.NotBlank.description=Must not be blank
33
-
org.hibernate.validator.constraints.NotEmpty.description=Must not be empty
34
31
org.hibernate.validator.constraints.Range.description=Must be at least ${min} and at most ${max}
35
32
org.hibernate.validator.constraints.URL.description=Must be a well-formed URL
Copy file name to clipboardExpand all lines: spring-restdocs-core/src/test/java/org/springframework/restdocs/constraints/ResourceBundleConstraintDescriptionResolverTests.java
+30-24
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
/*
2
-
* Copyright 2014-2024 the original author or authors.
2
+
* Copyright 2014-2025 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
0 commit comments