Skip to content

Commit 5ab3e24

Browse files
committed
#1920 - Reference docs update for support for @SiZe.
1 parent aeac73b commit 5ab3e24

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/asciidoc/mediatypes.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -342,9 +342,9 @@ Each property will get the following attributes defined:
342342
|`readOnly`| Set to `true` if there's no setter method for the property. If that is present, use Jackson's `@JsonProperty(Access.READ_ONLY)` on the accessors or field explicitly. Not rendered by default, thus defaulting to `false`.
343343
|`regex`| Can be customized by using JSR-303's `@Pattern` annotation either on the field or a type. In case of the latter the pattern will be used for every property declared as that particular type. Not rendered by default.
344344
|`required`| Can be customized by using JSR-303's `@NotNull`. Not rendered by default and thus defaulting to `false`. Templates using `PATCH` as method will automatically have all properties set to not required.
345-
|`max`| The maximum value allowed for the property. Derived from Hibernate Validator's `@Range` or JSR-303's `@Max` and `@DecimalMax` annotations.
345+
|`max`| The maximum value allowed for the property. Derived from Derived from JSR-303's `@Size`, Hibernate Validator's `@Range` or JSR-303's `@Max` and `@DecimalMax` annotations.
346346
|`maxLength`| The maximum length value allowed for the property. Derived from Hibernate Validator's `@Length` annotation.
347-
|`min`| The minimum value allowed for the property. Derived from Hibernate Validator's `@Range` or JSR-303's `@Min` and `@DecimalMin` annotations.
347+
|`min`| The minimum value allowed for the property. Derived from JSR-303's `@Size`, Hibernate Validator's `@Range` or JSR-303's `@Min` and `@DecimalMin` annotations.
348348
|`minLength`| The minimum length value allowed for the property. Derived from Hibernate Validator's `@Length` annotation.
349349
|`options`| The options to select a value from when submitting the form. For details, see <<mediatypes.hal-forms.options>>.
350350
|`prompt`| The user readable prompt to use when rendering the form input. For details, see <<mediatypes.hal-forms.i18n.prompts>>.

0 commit comments

Comments
 (0)