Class OpenAPISchema
java.lang.Object
org.odpi.openmetadata.adapters.connectors.integration.openapis.properties.OpenAPISchema
OpenAPISchema describes the type of a parameter. For an "object" type, properties describes its fields; for an
"array" type, items describes the type of its elements. allOf combines schemas (a subclass is written as allOf its
superclass's $ref and an object holding its own properties); oneOf and anyOf list alternative schemas for a value.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionget$ref()getAllOf()getAnyOf()getItems()getName()getOneOf()getTitle()getType()booleanbooleanbooleanbooleanvoidvoidsetAllOf(List<OpenAPISchema> allOf) voidsetAnyOf(List<OpenAPISchema> anyOf) voidsetDeprecated(boolean deprecated) voidsetDescription(String description) voidsetEnumValues(List<Object> enumValues) voidsetExtensions(Map<String, Object> extensions) voidsetExternalDocs(OpenAPIExternalDocs externalDocs) voidvoidsetItems(OpenAPISchema items) voidvoidsetNullable(boolean nullable) voidsetOneOf(List<OpenAPISchema> oneOf) voidsetProperties(Map<String, OpenAPISchema> properties) voidsetReadOnly(boolean readOnly) voidsetRequired(List<String> required) voidvoidvoidsetWriteOnly(boolean writeOnly) toString()
-
Constructor Details
-
OpenAPISchema
public OpenAPISchema()
-
-
Method Details
-
getName
-
setName
-
getTitle
-
setTitle
-
getRequired
-
setRequired
-
getType
-
setType
-
getDescription
-
setDescription
-
getFormat
-
setFormat
-
isNullable
public boolean isNullable() -
setNullable
public void setNullable(boolean nullable) -
isReadOnly
public boolean isReadOnly() -
setReadOnly
public void setReadOnly(boolean readOnly) -
isWriteOnly
public boolean isWriteOnly() -
setWriteOnly
public void setWriteOnly(boolean writeOnly) -
isDeprecated
public boolean isDeprecated() -
setDeprecated
public void setDeprecated(boolean deprecated) -
getExternalDocs
-
setExternalDocs
-
getExtensions
-
setExtensions
-
get$ref
-
set$ref
-
getProperties
-
setProperties
-
getItems
-
setItems
-
getEnumValues
-
setEnumValues
-
getAllOf
-
setAllOf
-
getOneOf
-
setOneOf
-
getAnyOf
-
setAnyOf
-
toString
-