Package io.apicurio.datamodels.models
Interface Schema
-
- All Superinterfaces:
BooleanSchemaUnion,Node,Union,Visitable
- All Known Subinterfaces:
AsyncApi20Schema,AsyncApi21Schema,AsyncApi22Schema,AsyncApi23Schema,AsyncApi24Schema,AsyncApi25Schema,AsyncApi26Schema,AsyncApi30Schema,AsyncApiSchema,OpenApi20Schema,OpenApi30Schema,OpenApi31Schema,OpenApiSchema
- All Known Implementing Classes:
AsyncApi20SchemaImpl,AsyncApi21SchemaImpl,AsyncApi22SchemaImpl,AsyncApi23SchemaImpl,AsyncApi24SchemaImpl,AsyncApi25SchemaImpl,AsyncApi26SchemaImpl,AsyncApi30SchemaImpl,OpenApi20SchemaImpl,OpenApi30SchemaImpl,OpenApi31SchemaImpl
public interface Schema extends Node, BooleanSchemaUnion
-
-
Method Summary
-
Methods inherited from interface io.apicurio.datamodels.models.union.BooleanSchemaUnion
asBoolean, asSchema, isBoolean, isSchema
-
Methods inherited from interface io.apicurio.datamodels.models.Node
addExtraProperty, attach, clearNodeAttributes, emptyClone, getExtraProperty, getExtraPropertyNames, getNodeAttribute, getNodeAttributeNames, hasExtraProperties, isAttached, mapPropertyName, modelId, parent, parentPropertyName, parentPropertyType, removeExtraProperty, root, setNodeAttribute
-
Methods inherited from interface io.apicurio.datamodels.models.union.Union
isEntity, isEntityList, isEntityMap, unionValue
-
-
-
-
Method Detail
-
getDefault
com.fasterxml.jackson.databind.JsonNode getDefault()
-
setDefault
void setDefault(com.fasterxml.jackson.databind.JsonNode value)
-
isUniqueItems
Boolean isUniqueItems()
-
setUniqueItems
void setUniqueItems(Boolean value)
-
isReadOnly
Boolean isReadOnly()
-
setReadOnly
void setReadOnly(Boolean value)
-
getMaxLength
Integer getMaxLength()
-
setMaxLength
void setMaxLength(Integer value)
-
getMaximum
Number getMaximum()
-
setMaximum
void setMaximum(Number value)
-
getMinItems
Integer getMinItems()
-
setMinItems
void setMinItems(Integer value)
-
getExternalDocs
ExternalDocumentation getExternalDocs()
-
setExternalDocs
void setExternalDocs(ExternalDocumentation value)
-
createExternalDocumentation
ExternalDocumentation createExternalDocumentation()
-
getAdditionalProperties
BooleanSchemaUnion getAdditionalProperties()
-
setAdditionalProperties
void setAdditionalProperties(BooleanSchemaUnion value)
-
createSchema
Schema createSchema()
-
getFormat
String getFormat()
-
setFormat
void setFormat(String value)
-
getMinProperties
Integer getMinProperties()
-
setMinProperties
void setMinProperties(Integer value)
-
getPattern
String getPattern()
-
setPattern
void setPattern(String value)
-
addAllOf
void addAllOf(Schema value)
-
clearAllOf
void clearAllOf()
-
removeAllOf
void removeAllOf(Schema value)
-
insertAllOf
void insertAllOf(Schema value, int atIndex)
-
clearProperties
void clearProperties()
-
removeProperty
void removeProperty(String name)
-
getEnum
List<com.fasterxml.jackson.databind.JsonNode> getEnum()
-
setEnum
void setEnum(List<com.fasterxml.jackson.databind.JsonNode> value)
-
getTitle
String getTitle()
-
setTitle
void setTitle(String value)
-
getMultipleOf
Number getMultipleOf()
-
setMultipleOf
void setMultipleOf(Number value)
-
getMaxItems
Integer getMaxItems()
-
setMaxItems
void setMaxItems(Integer value)
-
getDescription
String getDescription()
-
setDescription
void setDescription(String value)
-
getMaxProperties
Integer getMaxProperties()
-
setMaxProperties
void setMaxProperties(Integer value)
-
getMinimum
Number getMinimum()
-
setMinimum
void setMinimum(Number value)
-
getMinLength
Integer getMinLength()
-
setMinLength
void setMinLength(Integer value)
-
-