public class ObjectType extends Type
| Constructor and Description |
|---|
ObjectType(java.lang.String name,
java.util.Map<java.lang.String,io.swagger.models.properties.Property> properties) |
ObjectType(java.lang.String name,
ObjectTypePolymorphism polymorphism,
java.util.Map<java.lang.String,io.swagger.models.properties.Property> properties) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
displaySchema(io.github.swagger2markup.markup.builder.MarkupDocBuilder docBuilder) |
ObjectTypePolymorphism |
getPolymorphism() |
java.util.Map<java.lang.String,io.swagger.models.properties.Property> |
getProperties() |
void |
setPolymorphism(ObjectTypePolymorphism polymorphism) |
void |
setProperties(java.util.Map<java.lang.String,io.swagger.models.properties.Property> properties) |
getName, getUniqueName, setName, setUniqueNamepublic ObjectType(java.lang.String name,
ObjectTypePolymorphism polymorphism,
java.util.Map<java.lang.String,io.swagger.models.properties.Property> properties)
public ObjectType(java.lang.String name,
java.util.Map<java.lang.String,io.swagger.models.properties.Property> properties)
public java.lang.String displaySchema(io.github.swagger2markup.markup.builder.MarkupDocBuilder docBuilder)
displaySchema in class Typepublic ObjectTypePolymorphism getPolymorphism()
public void setPolymorphism(ObjectTypePolymorphism polymorphism)
public java.util.Map<java.lang.String,io.swagger.models.properties.Property> getProperties()
public void setProperties(java.util.Map<java.lang.String,io.swagger.models.properties.Property> properties)