Annotation Type Items
A limited subset of JSON-Schema's items object.
Used to populate the auto-generated Swagger documentation and UI for server-side
Also used to define OpenAPI schema information for POJOs serialized through OpenApiSerializer
and parsed through OpenApiParser
.
Examples:
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.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
enum field of the Swagger Items Object.Notes:
- Each entry is a possible value. Can also contain comma-delimited lists of values.
- 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
- Returns:
- The annotation value.
- Default:
- @org.apache.juneau.annotation.SubItems
-
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
-