Package org.apache.juneau.annotation
Annotation Interface SubItems
Swagger items annotation.
This class is essentially identical to Items except it's used for defining items of items.
Since annotations cannot be nested, we're forced to create a separate annotation for it.
If you want to nest items further, you have to define them free-form using items() as free-form JSON.
See Also:
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescription$ref field of the Swagger Items Object.Synonym forcollectionFormat().collectionFormat field of the Swagger Items Object.String[]default field of the Swagger Items Object.String[]Optional description for the exposed API.String[]Synonym fordefault_().String[]Synonym forenum_().booleanSynonym forexclusiveMaximum().booleanSynonym forexclusiveMinimum().String[]enum field of the Swagger Items Object.booleanexclusiveMaximum field of the Swagger Items Object.booleanexclusiveMinimum field of the Swagger Items Object.Synonym forformat().format field of the Swagger Items Object.String[]items field of the Swagger Items Object.Synonym formaximum().longSynonym formaxItems().maximum field of the Swagger Items Object.longmaxItems field of the Swagger Items Object.longSynonym formaxLength().longmaxLength field of the Swagger Items Object.Synonym forminimum().longSynonym forminItems().minimum field of the Swagger Items Object.longminItems field of the Swagger Items Object.longSynonym forminLength().longminLength field of the Swagger Items Object.Synonym formultipleOf().multipleOf field of the Swagger Items Object.Synonym forpattern().pattern field of the Swagger Items Object.Synonym fortype().type field of the Swagger Items Object.booleanSynonym foruniqueItems().booleanuniqueItems field of the Swagger Items Object.
-
Element Details
-
default_
- Returns:
- The annotation value.
- Default:
- {}
-
enum_
- Returns:
- The annotation value.
- Default:
- {}
-
$ref
- Returns:
- The annotation value.
- Default:
- ""
-
cf
Synonym forcollectionFormat().- Returns:
- The annotation value.
- Default:
- ""
-
collectionFormat
- Returns:
- The annotation value.
- Default:
- ""
-
description
Optional description for the exposed API.- Returns:
- The annotation value.
- Since:
- 9.2.0
- Default:
- {}
-
df
Synonym fordefault_().- Returns:
- The annotation value.
- Default:
- {}
-
e
Synonym forenum_().- Returns:
- The annotation value.
- Default:
- {}
-
emax
boolean emaxSynonym forexclusiveMaximum().- Returns:
- The annotation value.
- Default:
- false
-
emin
boolean eminSynonym forexclusiveMinimum().- Returns:
- The annotation value.
- Default:
- false
-
exclusiveMaximum
boolean exclusiveMaximum- Returns:
- The annotation value.
- Default:
- false
-
exclusiveMinimum
boolean exclusiveMinimum- Returns:
- The annotation value.
- Default:
- false
-
f
Synonym forformat().- Returns:
- The annotation value.
- Default:
- ""
-
format
- Returns:
- The annotation value.
- Default:
- ""
-
items
items field of the Swagger Items Object.Describes the type of items in the array.
This is a juneau-bean-swagger-v2 object.
It must be declared free-form because it's not possible to nest annotations in Java.- Returns:
- The annotation value.
- Default:
- {}
-
max
Synonym formaximum().- Returns:
- The annotation value.
- Default:
- ""
-
maxi
long maxiSynonym formaxItems().- Returns:
- The annotation value.
- Default:
- -1L
-
maximum
- Returns:
- The annotation value.
- Default:
- ""
-
maxItems
long maxItems- Returns:
- The annotation value.
- Default:
- -1L
-
maxl
long maxlSynonym formaxLength().- Returns:
- The annotation value.
- Default:
- -1L
-
maxLength
long maxLength- Returns:
- The annotation value.
- Default:
- -1L
-
min
Synonym forminimum().- Returns:
- The annotation value.
- Default:
- ""
-
mini
long miniSynonym forminItems().- Returns:
- The annotation value.
- Default:
- -1L
-
minimum
- Returns:
- The annotation value.
- Default:
- ""
-
minItems
long minItems- Returns:
- The annotation value.
- Default:
- -1L
-
minl
long minlSynonym forminLength().- Returns:
- The annotation value.
- Default:
- -1L
-
minLength
long minLength- Returns:
- The annotation value.
- Default:
- -1L
-
mo
Synonym formultipleOf().- Returns:
- The annotation value.
- Default:
- ""
-
multipleOf
- Returns:
- The annotation value.
- Default:
- ""
-
p
Synonym forpattern().- Returns:
- The annotation value.
- Default:
- ""
-
pattern
- Returns:
- The annotation value.
- Default:
- ""
-
t
Synonym fortype().- Returns:
- The annotation value.
- Default:
- ""
-
type
- Returns:
- The annotation value.
- Default:
- ""
-
ui
boolean uiSynonym foruniqueItems().- Returns:
- The annotation value.
- Default:
- false
-
uniqueItems
boolean uniqueItems- Returns:
- The annotation value.
- Default:
- false
-