(Quick Reference)

ApiImplicitParam

Purpose

Documents a param for an operation

Usage

@ApiImplicitParam(name="", value="", defaultValue="", allowableValues="", required=false, access="",
        allowMultiple=false, dataType="", paramType="")

Parameters

ParameterSupportedUsage
nameYesThe name for the parameter. If paramType is "path", the name should be the associated section in the path. If paramType is "body", the name should be "body".
valueYesA brief description of the parameter.
defaultValueYesDescribes the default value for the parameter.
allowableValuesYesLimits the acceptable values for this parameter. To set a list of values, provide a comma-separated list surrounded by square brackets.
requiredYesSpecifies if the parameter is required or not.
accessNoAllows for filtering a parameter from the API documentation.
allowMultipleYesSpecifies whether the parameter can accept multiple comma-separated values.
dataTypeYesThe data type of the parameter. This can be the class name or a primitive.
paramTypeYesThe parameter type of the parameter. Valid values are path, query, body, header or form.