diff --git a/server/src/main/java/com/yogit/server/board/controller/CommenrController.java b/server/src/main/java/com/yogit/server/board/controller/CommenrController.java index 456db49..a617f80 100644 --- a/server/src/main/java/com/yogit/server/board/controller/CommenrController.java +++ b/server/src/main/java/com/yogit/server/board/controller/CommenrController.java @@ -52,10 +52,6 @@ public ApplicationResponse createComment(@RequestBody @Validated Cre @ApiResponse(code= 404, message = "존재하지 않는 클립보드입니다."), @ApiResponse(code = 4000 , message = "서버 오류입니다.") }) - @ApiImplicitParams({ - @ApiImplicitParam(name = "userId", required = true, dataTypeClass = Long.class, example = "1"), - @ApiImplicitParam(name = "clipBoardId", required = true, dataTypeClass = Long.class, example = "1") - }) @GetMapping("/clipboard/{clipBoardId}/user/{userId}") public ApplicationResponse> findAllComments(@PathVariable("clipBoardId") Long clipBoardId, @PathVariable("userId") Long userId){ return commentService.findAllComments(clipBoardId, userId); @@ -74,10 +70,6 @@ public ApplicationResponse> findAllComments(@PathVariable("clip @ApiResponse(code= 404, message = "존재하지 않는 코멘트입니다."), @ApiResponse(code = 4000 , message = "서버 오류입니다.") }) - @ApiImplicitParams({ - @ApiImplicitParam(name = "userId", required = true, dataTypeClass = Long.class, example = "1"), - @ApiImplicitParam(name = "commentId", required = true, dataTypeClass = Long.class, example = "1") - }) @PatchMapping("/{commentId}") public ApplicationResponse deleteComment(@PathVariable("commentId") Long commentId, @RequestBody @Validated DeleteCommentReq deleteCommentReq){ return commentService.deleteComment(deleteCommentReq, commentId); @@ -96,10 +88,6 @@ public ApplicationResponse deleteComment(@PathVariable("commen @ApiResponse(code= 404, message = "존재하지 않는 코멘트입니다."), @ApiResponse(code = 4000 , message = "서버 오류입니다.") }) - @ApiImplicitParams({ - @ApiImplicitParam(name = "userId", required = true, dataTypeClass = Long.class, example = "1"), - @ApiImplicitParam(name = "commentId", required = true, dataTypeClass = Long.class, example = "1") - }) @PatchMapping("/{commentId}/content") public ApplicationResponse updateComment(@PathVariable("commentId") Long commentId, @RequestBody @Validated PatchCommentReq patchCommentReq){ return commentService.updateComment(patchCommentReq, commentId);