Class OASchema
java.lang.Object
de.fraunhofer.iosb.ilt.frostserver.plugin.openapi.spec.OASchema
An OpenAPI schema object.
- Author:
- scf
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionOASchema(Version version, PropertyType propertyType) OASchema(OASchema.Type type, OASchema.Format format) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddProperty(String name, OASchema property) getDeflt()getItems()getRef()getType()voidsetAdditionalProperties(Boolean additionalProperties) voidvoidsetDescription(String description) voidsetFormat(OASchema.Format format) voidvoidsetReadOnly(boolean readOnly) voidvoidsetType(OASchema.Type type)
-
Constructor Details
-
OASchema
-
OASchema
-
OASchema
-
-
Method Details
-
addProperty
-
getRef
- Returns:
- the ref
-
setRef
- Parameters:
ref- the ref to set
-
getType
- Returns:
- the type
-
setType
- Parameters:
type- the type to set
-
getFormat
- Returns:
- the format
-
setFormat
- Parameters:
format- the format to set
-
getDescription
- Returns:
- the description
-
setDescription
- Parameters:
description- the description to set
-
getDeflt
- Returns:
- the deflt
-
setDeflt
- Parameters:
deflt- the deflt to set
-
getItems
- Returns:
- the items
-
setItems
- Parameters:
items- the items to set
-
getProperties
- Returns:
- the properties
-
getAdditionalProperties
- Returns:
- the additionalProperties
-
setAdditionalProperties
- Parameters:
additionalProperties- the additionalProperties to set
-
isReadOnly
-
setReadOnly
public void setReadOnly(boolean readOnly)
-