| Modifier and Type | Optional Element and Description | 
|---|---|
| String | accessAllows for filtering a property from the API documentation. | 
| String | allowableValuesLimits the acceptable values for this parameter. | 
| String | dataTypeThe data type of the parameter. | 
| String | exampleA sample value for the property. | 
| boolean | hiddenAllows a model property to be hidden in the Swagger model definition. | 
| String | nameAllows overriding the name of the property. | 
| String | notesCurrently not in use. | 
| int | positionAllows explicitly ordering the property in the model. | 
| boolean | readOnlyAllows a model property to be designated as read only. | 
| String | referenceSpecifies a reference to the corresponding type definition, overrides any other metadata specified | 
| boolean | requiredSpecifies if the parameter is required or not. | 
| String | valueA brief description of this property. | 
public abstract String value
public abstract String name
public abstract String allowableValues
There are three ways to describe the allowable values:
first, second, third.range[1, 5], range(1, 5), range[1, 5).range[1, infinity] means the
 minimum allowable value of this parameter is 1.public abstract String access
public abstract String notes
public abstract String dataType
This can be the class name or a primitive. The value will override the data type as read from the class property.
public abstract boolean required
public abstract int position
public abstract boolean hidden
public abstract String example
public abstract boolean readOnly
public abstract String reference
Copyright © 2015. All Rights Reserved.