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