From 61b1350a1b81e05ceb0436c71aca63fca9dbd0b1 Mon Sep 17 00:00:00 2001 From: sonsumin Date: Sun, 24 Nov 2024 02:54:22 +0900 Subject: [PATCH] =?UTF-8?q?[#8]=E2=99=BB=EF=B8=8FRefactor:=20DI=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../univ/yesummit/domain/board/api/BoardController.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/univ/yesummit/domain/board/api/BoardController.java b/src/main/java/univ/yesummit/domain/board/api/BoardController.java index 923f1eb..0e93104 100644 --- a/src/main/java/univ/yesummit/domain/board/api/BoardController.java +++ b/src/main/java/univ/yesummit/domain/board/api/BoardController.java @@ -5,6 +5,7 @@ import io.swagger.v3.oas.annotations.media.Schema; import io.swagger.v3.oas.annotations.responses.ApiResponse; import io.swagger.v3.oas.annotations.responses.ApiResponses; +import lombok.RequiredArgsConstructor; import org.apache.logging.log4j.Logger; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; @@ -20,14 +21,13 @@ import java.util.List; @RestController +@RequiredArgsConstructor @RequestMapping("/v1/api/board") public class BoardController { private final BoardService boardService; private Logger log; - public BoardController(BoardService boardService) { - this.boardService = boardService; - } + @Operation(summary = "PT 영상 및 정보 등록", description = "PT 영상 및 정보를 등록합니다.") @ApiResponses(value = {