@Target(value={METHOD,TYPE}) @Retention(value=RUNTIME) public @interface ApiResponses
ApiResponse
objects.
If you need to describe a single ApiResponse
, you still
must use this annotation and wrap the @ApiResponse
in an array.
ApiResponse
Modifier and Type | Required Element and Description |
---|---|
ApiResponse[] |
value
A list of
ApiResponse s provided by the API operation. |
public abstract ApiResponse[] value
ApiResponse
s provided by the API operation.Copyright © 2019. All Rights Reserved.