public class ParameterDescriptor extends AbstractDescriptor<ParameterDescriptor>
RequestDocumentation.parameterWithName(java.lang.String)| Modifier | Constructor and Description |
|---|---|
protected |
ParameterDescriptor(String name)
Creates a new
ParameterDescriptor describing the parameter with the given
name. |
| Modifier and Type | Method and Description |
|---|---|
ParameterDescriptor |
description(String description)
Specifies the description of the parameter
|
String |
getDescription()
Returns the description of the parameter
|
String |
getName()
Returns the name of the parameter being described by this descriptor
|
attributes, getAttributesprotected ParameterDescriptor(String name)
ParameterDescriptor describing the parameter with the given
name.name - the name of the parameterpublic final ParameterDescriptor description(String description)
description - The parameter's descriptionthispublic final String getName()
public final String getDescription()