Annotation Type SchemaProperty
-
@Target({FIELD,METHOD,PARAMETER,TYPE,ANNOTATION_TYPE}) @Retention(RUNTIME) @Inherited @Repeatable(SchemaProperties.class) public @interface SchemaProperty
The annotation may be used to define properties for an Object Schema- Since:
- 2.1.8
- See Also:
Schema
-
-
Element Detail
-
name
String name
The name.- Returns:
- the name
- Default:
- ""
-
-
-
schema
Schema schema
The schema of the property.- Returns:
- the schema
- Default:
- @io.swagger.v3.oas.annotations.media.Schema
-
-
-
array
ArraySchema array
The schema of the array.- Returns:
- the schema of the array
- Default:
- @io.swagger.v3.oas.annotations.media.ArraySchema
-
-