File tree 1 file changed +9
-4
lines changed
src/main/java/com/fasterxml/jackson/annotation
1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change 60
60
* rectify the problem, for example, by supplying a default
61
61
* value).
62
62
*<p>
63
- * Note that as of 2.0, this property is NOT used by
64
- * <code>BeanDeserializer</code>: support is expected to be
65
- * added for a later minor version.
66
- *
63
+ * Note that as of 2.6, this property is only used for Creator
64
+ * Properties, to ensure existence of property value in JSON:
65
+ * for other properties (ones injected using a setter or mutable
66
+ * field), no validation is performed. Support for those cases
67
+ * may be added in future.
68
+ * State of this property is exposed via introspection, and its
69
+ * value is typically used by Schema generators, such as one for
70
+ * JSON Schema.
71
+ *
67
72
* @since 2.0
68
73
*/
69
74
boolean required () default false ;
You can’t perform that action at this time.
0 commit comments