ApiResponse
Purpose
Documents a error response codeUsage
Simple Usage@ApiResponse(code=404, message="These are not the droid you're looking for", response=CustomErrorClass)
Parameters
Parameter | Supported | Usage |
---|---|---|
code | Yes | The HTTP code in question |
message | Yes | The correct interpretation of this code |
response | Yes | The data type of the response during this code |