Package io.swagger.annotations
Annotation Type ApiResponses
-
@Target({METHOD,TYPE}) @Retention(RUNTIME) public @interface ApiResponses
A wrapper to allow a list of multipleApiResponse
objects.If you need to describe a single
ApiResponse
, you still must use this annotation and wrap the@ApiResponse
in an array.- See Also:
ApiResponse
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description ApiResponse[]
value
A list ofApiResponse
s provided by the API operation.
-
-
-
Element Detail
-
value
ApiResponse[] value
A list ofApiResponse
s provided by the API operation.
-
-