@Documented @Target(value={PARAMETER,ANNOTATION_TYPE}) @Retention(value=RUNTIME) @ApiPathParam public @interface ApiQueryParam
ApiParams| Modifier and Type | Optional Element and Description |
|---|---|
String[] |
allowedvalues
An array representing the allowed values this parameter can have.
|
Class<?> |
clazz
Specify this element if you need to use the ApiParam annotation on the method declaration and not inside the method's signature.
|
String |
defaultvalue
The default value for this parameter, if it is not passed in the query string
|
String |
description
A description of what the parameter is needed for
|
String |
format
The format from the parameter (ex.
|
String |
name
The name of the url parameter, as expected by the server
|
boolean |
required
Whether this parameter is required or not.
|
public abstract String name
public abstract String description
public abstract boolean required
public abstract String[] allowedvalues
public abstract String format
public abstract String defaultvalue
public abstract Class<?> clazz
Copyright © 2015. All rights reserved.