Package | Description |
---|---|
io.swagger.v3.oas.models | |
io.swagger.v3.oas.models.headers | |
io.swagger.v3.oas.models.media | |
io.swagger.v3.oas.models.parameters |
Modifier and Type | Method and Description |
---|---|
Map<String,Schema> |
Components.getSchemas()
returns the schemas property from a Components instance.
|
Modifier and Type | Method and Description |
---|---|
Components |
Components.addSchemas(String key,
Schema schemasItem) |
OpenAPI |
OpenAPI.schema(String name,
Schema schema) |
Modifier and Type | Method and Description |
---|---|
Components |
Components.schemas(Map<String,Schema> schemas) |
void |
Components.setSchemas(Map<String,Schema> schemas) |
Modifier and Type | Method and Description |
---|---|
Schema |
Header.getSchema()
returns the schema property from a Header instance.
|
Modifier and Type | Method and Description |
---|---|
Header |
Header.schema(Schema schema) |
void |
Header.setSchema(Schema schema) |
Modifier and Type | Class and Description |
---|---|
class |
ArraySchema
ArraySchema
|
class |
BinarySchema
BinarySchema
|
class |
BooleanSchema
BooleanSchema
|
class |
ByteArraySchema
ByteArraySchema
|
class |
ComposedSchema
ComposedSchema
|
class |
DateSchema
DateSchema
|
class |
DateTimeSchema
DateTimeSchema
|
class |
EmailSchema
EmailSchema
|
class |
FileSchema
FileSchema
|
class |
IntegerSchema
IntegerSchema
|
class |
MapSchema
MapSchema
|
class |
NumberSchema
NumberSchema
|
class |
ObjectSchema
ObjectSchema
|
class |
PasswordSchema
PasswordSchema
|
class |
StringSchema
StringSchema
|
class |
UUIDSchema
UUIDSchema
|
Modifier and Type | Method and Description |
---|---|
Schema |
Schema.$ref(String $ref) |
Schema |
Schema.additionalProperties(Object additionalProperties) |
Schema |
Schema.addProperties(String key,
Schema propertiesItem) |
Schema |
Schema.addRequiredItem(String requiredItem) |
Schema |
Schema.deprecated(Boolean deprecated) |
Schema |
Schema.description(String description) |
Schema |
Schema.discriminator(Discriminator discriminator) |
Schema |
Schema.example(Object example) |
Schema |
Schema.exclusiveMaximum(Boolean exclusiveMaximum) |
Schema |
Schema.exclusiveMinimum(Boolean exclusiveMinimum) |
Schema |
Schema.extensions(Map<String,Object> extensions) |
Schema |
Schema.externalDocs(ExternalDocumentation externalDocs) |
Schema |
Schema.format(String format) |
Schema<?> |
ArraySchema.getItems()
returns the items property from a ArraySchema instance.
|
Schema |
Schema.getNot()
returns the not property from a Schema instance.
|
Schema |
MediaType.getSchema()
returns the schema property from a MediaType instance.
|
Schema |
Schema.maximum(BigDecimal maximum) |
Schema |
Schema.maxItems(Integer maxItems) |
Schema |
Schema.maxLength(Integer maxLength) |
Schema |
Schema.maxProperties(Integer maxProperties) |
Schema |
Schema.minimum(BigDecimal minimum) |
Schema |
Schema.minItems(Integer minItems) |
Schema |
Schema.minLength(Integer minLength) |
Schema |
Schema.minProperties(Integer minProperties) |
Schema |
Schema.multipleOf(BigDecimal multipleOf) |
Schema |
Schema.name(String name) |
Schema |
Schema.not(Schema not) |
Schema |
Schema.nullable(Boolean nullable) |
Schema |
Schema.pattern(String pattern) |
Schema |
Schema.properties(Map<String,Schema> properties) |
Schema |
Schema.readOnly(Boolean readOnly) |
Schema |
Schema.required(List<String> required) |
Schema |
Schema.title(String title) |
Schema |
Schema.type(String type) |
Schema |
Schema.uniqueItems(Boolean uniqueItems) |
Schema |
Schema.writeOnly(Boolean writeOnly) |
Schema |
Schema.xml(XML xml) |
Modifier and Type | Method and Description |
---|---|
List<Schema> |
ComposedSchema.getAllOf()
returns the allOf property from a ComposedSchema instance.
|
List<Schema> |
ComposedSchema.getAnyOf()
returns the anyOf property from a ComposedSchema instance.
|
List<Schema> |
ComposedSchema.getOneOf()
returns the oneOf property from a ComposedSchema instance.
|
Map<String,Schema> |
Schema.getProperties()
returns the properties property from a Schema instance.
|
Modifier and Type | Method and Description |
---|---|
ComposedSchema |
ComposedSchema.addAllOfItem(Schema allOfItem) |
ComposedSchema |
ComposedSchema.addAnyOfItem(Schema anyOfItem) |
ComposedSchema |
ComposedSchema.addOneOfItem(Schema oneOfItem) |
Schema |
Schema.addProperties(String key,
Schema propertiesItem) |
ArraySchema |
ArraySchema.items(Schema<?> items) |
Schema |
Schema.not(Schema not) |
MediaType |
MediaType.schema(Schema schema) |
void |
ArraySchema.setItems(Schema<?> items) |
void |
Schema.setNot(Schema not) |
void |
MediaType.setSchema(Schema schema) |
Modifier and Type | Method and Description |
---|---|
ComposedSchema |
ComposedSchema.allOf(List<Schema> allOf) |
ComposedSchema |
ComposedSchema.anyOf(List<Schema> anyOf) |
ComposedSchema |
ComposedSchema.oneOf(List<Schema> oneOf) |
Schema |
Schema.properties(Map<String,Schema> properties) |
void |
ComposedSchema.setAllOf(List<Schema> allOf) |
void |
ComposedSchema.setAnyOf(List<Schema> anyOf) |
void |
ComposedSchema.setOneOf(List<Schema> oneOf) |
void |
Schema.setProperties(Map<String,Schema> properties) |
Modifier and Type | Method and Description |
---|---|
Schema |
Parameter.getSchema()
returns the schema property from a Parameter instance.
|
Modifier and Type | Method and Description |
---|---|
Parameter |
Parameter.schema(Schema schema) |
void |
Parameter.setSchema(Schema schema) |
Copyright © 2019. All rights reserved.