Package org.apache.juneau.annotation
Annotation Type 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
Modifier and TypeOptional ElementDescriptionString[]
default field of the Swagger Items Object.String[]
enum field of the Swagger Items Object.$ref field of the Swagger Items Object.Synonym forcollectionFormat()
.collectionFormat field of the Swagger Items Object.String[]
Synonym for_default()
.String[]
Synonym for_enum()
.boolean
Synonym forexclusiveMaximum()
.boolean
Synonym forexclusiveMinimum()
.boolean
exclusiveMaximum field of the Swagger Items Object.boolean
exclusiveMinimum 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()
.long
Synonym formaxItems()
.maximum field of the Swagger Items Object.long
maxItems field of the Swagger Items Object.long
Synonym formaxLength()
.long
maxLength field of the Swagger Items Object.Synonym forminimum()
.long
Synonym forminItems()
.minimum field of the Swagger Items Object.long
minItems field of the Swagger Items Object.long
Synonym forminLength()
.long
minLength 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.boolean
Synonym foruniqueItems()
.boolean
uniqueItems 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:
- ""
-
df
Synonym for_default()
.- Returns:
- The annotation value.
- Default:
- {}
-
e
Synonym for_enum()
.- 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 Swagger 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
-