add api responses.
@@ -113,7 +113,7 @@ public class HabitController {
*/
@ApiOperation(value = "Get habit assign.")
@ApiResponses(value = {
- @ApiResponse(code = 200, message = HttpStatuses.OK),
+ @ApiResponse(code = 200, message = HttpStatuses.OK, response = HabitAssignDto.class),
@ApiResponse(code = 400, message = HttpStatuses.BAD_REQUEST),
@ApiResponse(code = 404, message = HttpStatuses.NOT_FOUND)
})
@@ -131,7 +131,7 @@ public class HabitController {
*/
@ApiOperation(value = "Get all user assigns from certain habit.")
@ApiResponses(value = {
- @ApiResponse(code = 200, message = HttpStatuses.OK),
+ @ApiResponse(code = 200, message = HttpStatuses.OK, response = List.class),
@ApiResponse(code = 400, message = HttpStatuses.BAD_REQUEST),
@ApiResponse(code = 404, message = HttpStatuses.NOT_FOUND)
})
