1- package hansung .hansung_connect .domain .commnet .controller ;
1+ package hansung .hansung_connect .domain .comment .controller ;
22
33import hansung .hansung_connect .common .response .ApiResponse ;
4- import hansung .hansung_connect .domain .commnet .dto .CommentRequestDto ;
5- import hansung .hansung_connect .domain .commnet .dto .CommentResponseDto ;
6- import hansung .hansung_connect .domain .commnet .service .CommentCommandService ;
7- import hansung .hansung_connect .domain .commnet .service .CommentQueryService ;
4+ import hansung .hansung_connect .domain .comment .dto .CommentRequestDto ;
5+ import hansung .hansung_connect .domain .comment .dto .CommentResponseDto ;
6+ import hansung .hansung_connect .domain .comment .service .CommentCommandService ;
7+ import hansung .hansung_connect .domain .comment .service .CommentQueryService ;
88import io .swagger .v3 .oas .annotations .Operation ;
99import io .swagger .v3 .oas .annotations .Parameter ;
1010import io .swagger .v3 .oas .annotations .tags .Tag ;
@@ -42,10 +42,10 @@ public ApiResponse<CommentResponseDto.CommentCreateResponse> createComment(
4242 @ Operation (
4343 summary = "내 댓글 리스트 조회" ,
4444 description = """
45- 작성한 댓글의 리스트를 조회하는 API입니다.
46-
47- 한 페이지에 댓글의 수는 20입니다.
48- """
45+ 작성한 댓글의 리스트를 조회하는 API입니다.
46+
47+ 한 페이지에 댓글의 수는 20입니다.
48+ """
4949 )
5050 @ GetMapping ("/comments/my" )
5151 public ApiResponse <CommentResponseDto .CommentListResponse > getMyComments (
@@ -59,11 +59,11 @@ public ApiResponse<CommentResponseDto.CommentListResponse> getMyComments(
5959 @ Operation (
6060 summary = "댓글 삭제" ,
6161 description = """
62- 댓글을 삭제하는 API입니다.
63- Path Variable로 댓글 아이디를 입력해주세요.
64- - 게시글의 작성자인 경우 모든 댓글 삭제 가능
65- - 게시글의 작성자가 아닌 경우 자신의 댓글만 삭제 가능
66- """
62+ 댓글을 삭제하는 API입니다.
63+ Path Variable로 댓글 아이디를 입력해주세요.
64+ - 게시글의 작성자인 경우 모든 댓글 삭제 가능
65+ - 게시글의 작성자가 아닌 경우 자신의 댓글만 삭제 가능
66+ """
6767 )
6868 @ DeleteMapping
6969 public ApiResponse <Void > deleteComment (
0 commit comments