change places of api responses
@@ -132,8 +132,8 @@ public class HabitController {
@ApiOperation(value = "Update habit assign acquired or suspended status.")
@ApiResponses(value = {
@ApiResponse(code = 200, message = HttpStatuses.OK, response = HabitAssignDto.class),
- @ApiResponse(code = 403, message = HttpStatuses.FORBIDDEN),
@ApiResponse(code = 400, message = HttpStatuses.BAD_REQUEST),
+ @ApiResponse(code = 403, message = HttpStatuses.FORBIDDEN),
@ApiResponse(code = 404, message = HttpStatuses.NOT_FOUND)
})
@PatchMapping("assign/{habitAssignId}")
@@ -173,8 +173,8 @@ public class HabitController {
@ApiOperation(value = "Update habit statistic.")
@ApiResponses(value = {
@ApiResponse(code = 200, message = HttpStatuses.OK, response = HabitStatisticDto.class),
- @ApiResponse(code = 403, message = HttpStatuses.FORBIDDEN),
@ApiResponse(code = 400, message = HttpStatuses.BAD_REQUEST),
+ @ApiResponse(code = 403, message = HttpStatuses.FORBIDDEN),
@ApiResponse(code = 404, message = HttpStatuses.NOT_FOUND)
})
@PatchMapping("/statistic/{habitStatisticId}")
