Class Schema
java.lang.Object
com.github.chhorz.openapi.common.domain.Schema
https://spec.openapis.org/oas/v3.1.0#schema-object
- Author:
- chhorz
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addEnumValue
(String enumValue) void
addRequired
(String required) getItems()
getType()
void
putProperty
(String name, Reference reference) void
putProperty
(String name, Schema property) void
setAdditionalProperties
(Object additionalProperties) void
setDefaultValue
(Object defaultValue) void
setDeprecated
(Boolean deprecated) void
setDescription
(String description) void
setEnumValues
(List<String> enumValues) void
setFormat
(Schema.Format format) void
void
setMaximum
(Long maximum) void
setMaxItems
(Integer maxItems) void
setMaxLength
(Integer maxLength) void
setMinimum
(Long minimum) void
setMinItems
(Integer minItems) void
setMinLength
(Integer minLength) void
setPattern
(String pattern) void
setType
(Schema.Type type) toString()
-
Constructor Details
-
Schema
public Schema()
-
-
Method Details
-
getRequired
-
addRequired
-
getMaximum
-
setMaximum
-
getMinimum
-
setMinimum
-
getPattern
-
setPattern
-
getMaxItems
-
setMaxItems
-
getMinItems
-
setMinItems
-
getMaxLength
-
setMaxLength
-
getMinLength
-
setMinLength
-
setEnumValues
-
getDeprecated
-
setDeprecated
-
getType
-
setType
-
getFormat
-
setFormat
-
getDescription
-
setDescription
-
getProperties
-
putProperty
-
putProperty
-
getDefaultValue
-
setDefaultValue
-
addEnumValue
-
getEnumValues
-
getItems
-
setItems
-
getAdditionalProperties
-
setAdditionalProperties
-
toString
-