public final class PropertyUtils
extends java.lang.Object
| Constructor and Description |
|---|
PropertyUtils() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
getDefaultValue(io.swagger.models.properties.Property property)
Retrieves the default value of a property, or otherwise returns an empty String.
|
static java.lang.String |
getType(io.swagger.models.properties.Property property,
io.github.robwin.markup.builder.MarkupLanguage markupLanguage)
Retrieves the type and format of a property.
|
public static java.lang.String getType(io.swagger.models.properties.Property property,
io.github.robwin.markup.builder.MarkupLanguage markupLanguage)
property - the propertymarkupLanguage - the markup language which is used to generate the filespublic static java.lang.String getDefaultValue(io.swagger.models.properties.Property property)
property - the property