Example usage:
@GET
@Path("{id}")
@APIResponse(
responseCode="200",
description="Review retrieved",
content=@Content(
schema=@Schema(
implementation=Review.class))
)
| Modifier and Type | Annotation and Description |
|---|---|
| public @interface | APIResponse
The APIResponse annotation corresponds to the OpenAPI Response model object which describes a single response from an API Operation, including design-time, static links to operations based on the response. |
| public @interface | APIResponses
The ApiResponses annotation is a container for @ApiResponse annotations. |
| public @interface | APIResponseSchema
The APIResponseSchema annotation corresponds to an individual schema in the OpenAPI Response model object which describes a single response from an API Operation. |