I have swagger configured and one of the method is annnotated with
@ApiResponses(value = {@ApiResponse(code = 200, message = "Verification Successful"),
@ApiResponse(code = 401, message = "Invalid Credentials"), @ApiResponse(code = 500, message = "Internal Server Error.")})
But issues is swagger-ui is not displaying this info instead it is displaying
200
201 Created
401 Unauthorized
403 Forbidden
404 Not Found
Am I missing anything.
Note : Other info like @ApiOperation is shown correctly.
Aucun commentaire:
Enregistrer un commentaire