File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
modules/swagger-annotations/src/main/java/io/swagger/v3/oas/annotations/media Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 164164 /**
165165 * Mandates that the annotated item is required or not.
166166 *
167- * @deprecated As of 2.3.1 , replaced by {@link #requiredMode()}
167+ * @deprecated since 2.2.5 , replaced by {@link #requiredMode()}
168168 *
169- * @return whether or not this schema is required
169+ * @return whether this schema is required
170170 **/
171171 @ Deprecated
172172 boolean required () default false ;
178178 * RequiredMode.REQUIRED: will force the item to be considered as required regardless of heuristics.
179179 * RequiredMode.NOT_REQUIRED: will force the item to be considered as not required regardless of heuristics.
180180 *
181+ * @since 2.2.5
181182 * @return the requiredMode for this schema (property)
182183 *
183184 */
You can’t perform that action at this time.
0 commit comments