Interface OpenApi20Schema
-
- All Superinterfaces:
BooleanSchemaUnion
,Extensible
,Node
,OpenApi20Extensible
,OpenApi20Referenceable
,OpenApiExtensible
,OpenApiReferenceable
,OpenApiSchema
,Referenceable
,Schema
,SchemaSchemaListUnion
,Union
,Visitable
- All Known Implementing Classes:
OpenApi20SchemaImpl
public interface OpenApi20Schema extends OpenApiSchema, OpenApi20Extensible, OpenApi20Referenceable, SchemaSchemaListUnion
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description OpenApi20Schema
createSchema()
String
getDiscriminator()
SchemaSchemaListUnion
getItems()
String
getType()
Boolean
isExclusiveMaximum()
Boolean
isExclusiveMinimum()
void
setDiscriminator(String value)
void
setExclusiveMaximum(Boolean value)
void
setExclusiveMinimum(Boolean value)
void
setItems(SchemaSchemaListUnion value)
void
setType(String value)
-
Methods inherited from interface io.apicurio.datamodels.models.union.BooleanSchemaUnion
asBoolean, asSchema, isBoolean, isSchema
-
Methods inherited from interface io.apicurio.datamodels.models.Extensible
addExtension, clearExtensions, getExtensions, removeExtension
-
Methods inherited from interface io.apicurio.datamodels.models.Node
addExtraProperty, attach, clearNodeAttributes, emptyClone, getExtraProperty, getExtraPropertyNames, getNodeAttribute, getNodeAttributeNames, hasExtraProperties, isAttached, modelId, parent, removeExtraProperty, root, setNodeAttribute
-
Methods inherited from interface io.apicurio.datamodels.models.openapi.OpenApiSchema
createXML, getExample, getXml, setExample, setXml
-
Methods inherited from interface io.apicurio.datamodels.models.Referenceable
get$ref, set$ref
-
Methods inherited from interface io.apicurio.datamodels.models.Schema
addAllOf, addProperty, clearAllOf, clearProperties, createExternalDocumentation, getAdditionalProperties, getAllOf, getDefault, getDescription, getEnum, getExternalDocs, getFormat, getMaximum, getMaxItems, getMaxLength, getMaxProperties, getMinimum, getMinItems, getMinLength, getMinProperties, getMultipleOf, getPattern, getProperties, getRequired, getTitle, isReadOnly, isUniqueItems, removeAllOf, removeProperty, setAdditionalProperties, setDefault, setDescription, setEnum, setExternalDocs, setFormat, setMaximum, setMaxItems, setMaxLength, setMaxProperties, setMinimum, setMinItems, setMinLength, setMinProperties, setMultipleOf, setPattern, setReadOnly, setRequired, setTitle, setUniqueItems
-
Methods inherited from interface io.apicurio.datamodels.models.union.SchemaSchemaListUnion
asSchema, asSchemaList, isSchema, isSchemaList
-
Methods inherited from interface io.apicurio.datamodels.models.union.Union
isEntity, isEntityList, isEntityMap, unionValue
-
-
-
-
Method Detail
-
getItems
SchemaSchemaListUnion getItems()
-
setItems
void setItems(SchemaSchemaListUnion value)
-
createSchema
OpenApi20Schema createSchema()
- Specified by:
createSchema
in interfaceSchema
-
getDiscriminator
String getDiscriminator()
-
setDiscriminator
void setDiscriminator(String value)
-
getType
String getType()
-
setType
void setType(String value)
-
isExclusiveMaximum
Boolean isExclusiveMaximum()
-
setExclusiveMaximum
void setExclusiveMaximum(Boolean value)
-
isExclusiveMinimum
Boolean isExclusiveMinimum()
-
setExclusiveMinimum
void setExclusiveMinimum(Boolean value)
-
-