Annotation Type FailedApiResponse
-
@Target({METHOD,TYPE,ANNOTATION_TYPE}) @Retention(RUNTIME) public @interface FailedApiResponse
A meta-annotation that bundles common error response definitions for API operations.Includes default definitions for:
- 400 Bad Request
- 401 Unauthorized
- 403 Forbidden
- 404 Not Found
- 429 Too Many Requests
- 500 Internal Server Error
- 503 Service Unavailable
- Since:
- 2.2.32
- See Also:
ApiResponse
,ApiResponses
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description Extension[]
extensions
The list of optional extensions.String
ref
A reference to a response definition in components responses.
-