Package | Description |
---|---|
io.swagger.models | |
io.swagger.models.parameters | |
io.swagger.models.properties |
Modifier and Type | Method and Description |
---|---|
Property |
ModelImpl.getAdditionalProperties() |
Property |
ArrayModel.getItems() |
Property |
Response.getSchema() |
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,Property> |
Response.getHeaders() |
java.util.Map<java.lang.String,Property> |
ArrayModel.getProperties() |
java.util.Map<java.lang.String,Property> |
ModelImpl.getProperties() |
java.util.Map<java.lang.String,Property> |
ComposedModel.getProperties() |
java.util.Map<java.lang.String,Property> |
RefModel.getProperties() |
java.util.Map<java.lang.String,Property> |
Model.getProperties() |
Modifier and Type | Method and Description |
---|---|
void |
Response.addHeader(java.lang.String key,
Property property) |
ModelImpl |
ModelImpl.additionalProperties(Property additionalProperties) |
void |
ModelImpl.addProperty(java.lang.String key,
Property property) |
Response |
Response.header(java.lang.String name,
Property property) |
ArrayModel |
ArrayModel.items(Property items) |
ModelImpl |
ModelImpl.property(java.lang.String key,
Property property) |
Response |
Response.schema(Property property) |
void |
ModelImpl.setAdditionalProperties(Property additionalProperties) |
void |
ArrayModel.setItems(Property items) |
void |
Response.setSchema(Property schema) |
Modifier and Type | Method and Description |
---|---|
Response |
Response.headers(java.util.Map<java.lang.String,Property> headers) |
void |
Response.setHeaders(java.util.Map<java.lang.String,Property> headers) |
void |
ArrayModel.setProperties(java.util.Map<java.lang.String,Property> properties) |
void |
ModelImpl.setProperties(java.util.Map<java.lang.String,Property> properties) |
void |
ComposedModel.setProperties(java.util.Map<java.lang.String,Property> properties) |
void |
RefModel.setProperties(java.util.Map<java.lang.String,Property> properties) |
void |
Model.setProperties(java.util.Map<java.lang.String,Property> properties) |
Modifier and Type | Field and Description |
---|---|
protected Property |
AbstractSerializableParameter.items |
Modifier and Type | Method and Description |
---|---|
Property |
SerializableParameter.getItems() |
Property |
AbstractSerializableParameter.getItems() |
Modifier and Type | Method and Description |
---|---|
T |
AbstractSerializableParameter.items(Property items) |
T |
AbstractSerializableParameter.property(Property property) |
void |
SerializableParameter.setItems(Property items) |
void |
AbstractSerializableParameter.setItems(Property items) |
void |
AbstractSerializableParameter.setProperty(Property property) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractNumericProperty |
class |
AbstractProperty |
class |
ArrayProperty |
class |
BaseIntegerProperty
The
BaseIntegerProperty class defines property for integers without specific format, or with a custom
format. |
class |
BinaryProperty |
class |
BooleanProperty |
class |
ByteArrayProperty |
class |
DateProperty |
class |
DateTimeProperty |
class |
DecimalProperty
The DecimalProperty class defines properties for (decimal) numbers without a specific format, or with a custom
format.
|
class |
DoubleProperty |
class |
EmailProperty |
class |
FileProperty |
class |
FloatProperty |
class |
IntegerProperty |
class |
LongProperty |
class |
MapProperty |
class |
ObjectProperty |
class |
PasswordProperty |
class |
RefProperty |
class |
StringProperty
The StringProperty class defines properties for strings without a specific format, for standard formats which don't
need specific handling, or for custom formats.
|
class |
UntypedProperty |
class |
UUIDProperty |
Modifier and Type | Field and Description |
---|---|
protected Property |
ArrayProperty.items |
Modifier and Type | Method and Description |
---|---|
Property |
AbstractProperty.allowEmptyValue(java.lang.Boolean allowEmptyValue) |
static Property |
PropertyBuilder.build(java.lang.String type,
java.lang.String format,
java.util.Map<PropertyBuilder.PropertyId,java.lang.Object> args)
Creates new property on the passed arguments.
|
Property |
AbstractProperty.description(java.lang.String description) |
Property |
Property.description(java.lang.String description) |
Property |
MapProperty.getAdditionalProperties() |
Property |
ArrayProperty.getItems() |
static Property |
PropertyBuilder.merge(Property property,
java.util.Map<PropertyBuilder.PropertyId,java.lang.Object> args)
Merges passed arguments into an existing property instance.
|
Property |
AbstractProperty.readOnly() |
Property |
AbstractProperty.rename(java.lang.String newName) |
Property |
Property.rename(java.lang.String newName)
creates a new instance and renames the property to the given name.
|
Property |
AbstractProperty.title(java.lang.String title) |
Property |
Property.title(java.lang.String title) |
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,Property> |
ObjectProperty.getProperties() |
Modifier and Type | Method and Description |
---|---|
MapProperty |
MapProperty.additionalProperties(Property property) |
ArrayProperty |
ArrayProperty.items(Property items) |
static Property |
PropertyBuilder.merge(Property property,
java.util.Map<PropertyBuilder.PropertyId,java.lang.Object> args)
Merges passed arguments into an existing property instance.
|
ObjectProperty |
ObjectProperty.property(java.lang.String name,
Property property) |
void |
MapProperty.setAdditionalProperties(Property property) |
void |
ArrayProperty.setItems(Property items) |
static Model |
PropertyBuilder.toModel(Property property)
Converts passed property into a model.
|
Modifier and Type | Method and Description |
---|---|
ObjectProperty |
ObjectProperty.properties(java.util.Map<java.lang.String,Property> properties) |
void |
ObjectProperty.setProperties(java.util.Map<java.lang.String,Property> properties) |
Constructor and Description |
---|
ArrayProperty(Property items) |
MapProperty(Property property) |
Constructor and Description |
---|
ObjectProperty(java.util.Map<java.lang.String,Property> properties) |
Copyright © 2018. All Rights Reserved.