Annotation Interface 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
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.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_
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:
- ""
-
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
- 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
-