Package | Description |
---|---|
io.swagger.models | |
io.swagger.models.parameters | |
io.swagger.models.properties | |
io.swagger.models.utils |
Modifier and Type | Field and Description |
---|---|
protected Map<String,Property> |
AbstractModel.properties |
Modifier and Type | Method and Description |
---|---|
Property |
ModelImpl.getAdditionalProperties() |
Property |
ArrayModel.getItems() |
Property |
Response.getSchema()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Map<String,Property> |
Response.getHeaders() |
Map<String,Property> |
Model.getProperties() |
Map<String,Property> |
RefModel.getProperties() |
Map<String,Property> |
AbstractModel.getProperties() |
Modifier and Type | Method and Description |
---|---|
void |
Response.addHeader(String key,
Property property) |
ModelImpl |
ModelImpl.additionalProperties(Property additionalProperties) |
void |
AbstractModel.addProperty(String key,
Property property) |
Response |
Response.header(String name,
Property property) |
ArrayModel |
ArrayModel.items(Property items) |
ModelImpl |
ModelImpl.property(String key,
Property property) |
Response |
Response.schema(Property property)
Deprecated.
|
void |
ModelImpl.setAdditionalProperties(Property additionalProperties) |
void |
ArrayModel.setItems(Property items) |
void |
Response.setSchema(Property schema)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Response |
Response.headers(Map<String,Property> headers) |
void |
Response.setHeaders(Map<String,Property> headers) |
void |
Model.setProperties(Map<String,Property> properties) |
void |
RefModel.setProperties(Map<String,Property> properties) |
void |
AbstractModel.setProperties(Map<String,Property> properties) |
Modifier and Type | Field and Description |
---|---|
protected Property |
AbstractSerializableParameter.items |
Modifier and Type | Method and Description |
---|---|
Property |
AbstractSerializableParameter.getItems() |
Property |
SerializableParameter.getItems() |
Modifier and Type | Method and Description |
---|---|
T |
AbstractSerializableParameter.items(Property items) |
T |
AbstractSerializableParameter.property(Property property) |
void |
AbstractSerializableParameter.setItems(Property items) |
void |
SerializableParameter.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 |
ComposedProperty |
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(Boolean allowEmptyValue) |
static Property |
PropertyBuilder.build(String type,
String format,
Map<PropertyBuilder.PropertyId,Object> args)
Creates new property on the passed arguments.
|
Property |
Property.description(String description) |
Property |
AbstractProperty.description(String description) |
Property |
MapProperty.getAdditionalProperties() |
Property |
ArrayProperty.getItems() |
static Property |
PropertyBuilder.merge(Property property,
Map<PropertyBuilder.PropertyId,Object> args)
Merges passed arguments into an existing property instance.
|
Property |
AbstractProperty.readOnly() |
Property |
Property.rename(String newName)
creates a new instance and renames the property to the given name.
|
Property |
AbstractProperty.rename(String newName) |
Property |
Property.title(String title) |
Property |
AbstractProperty.title(String title) |
Modifier and Type | Method and Description |
---|---|
List<Property> |
ComposedProperty.getAllOf() |
Map<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,
Map<PropertyBuilder.PropertyId,Object> args)
Merges passed arguments into an existing property instance.
|
ObjectProperty |
ObjectProperty.property(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 |
---|---|
ComposedProperty |
ComposedProperty.allOf(List<Property> allOf) |
ObjectProperty |
ObjectProperty.properties(Map<String,Property> properties) |
void |
ComposedProperty.setAllOf(List<Property> allOf) |
void |
ObjectProperty.setProperties(Map<String,Property> properties) |
Constructor and Description |
---|
ArrayProperty(Property items) |
MapProperty(Property property) |
Constructor and Description |
---|
ObjectProperty(Map<String,Property> properties) |
Modifier and Type | Method and Description |
---|---|
Property |
PropertyModelConverter.modelToProperty(Model model) |
Modifier and Type | Method and Description |
---|---|
Model |
PropertyModelConverter.propertyToModel(Property property) |
Copyright © 2019. All Rights Reserved.