Skip to content

Commit

Permalink
Improve JavaDoc of @JsonProperty.required (#239)
Browse files Browse the repository at this point in the history
  • Loading branch information
JooHyukKim authored Nov 15, 2023
1 parent 4fabac8 commit b124581
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,14 @@ public enum MyEnum {
* State of this property is exposed via introspection, and its
* value is typically used by Schema generators, such as one for
* JSON Schema.
*<p>
* Also note that the required value must come <b>directly</b> from the
* input source (e.g., JSON) and not from secondary sources, such as
* defaulting logic or absent value providers.
* If secondary sources are expected to supply the value,
* this property should be set to {@code false}. This is important because
* validation of {@code required} properties occurs before the application of
* secondary sources.
*
* @since 2.0
*/
Expand Down

0 comments on commit b124581

Please sign in to comment.