From 5950768a162a927ff20596fbc71acbc221b5fe43 Mon Sep 17 00:00:00 2001 From: sonshn Date: Thu, 5 Sep 2024 13:56:26 +0900 Subject: [PATCH] =?UTF-8?q?[Chore]=20=EC=BA=98=EB=A6=B0=EB=8D=94:=20Operat?= =?UTF-8?q?ion(hidden=3Dtrue)=20=EC=A0=81=EC=9A=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../domain/calendar/controller/CalendarController.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main/java/com/umc/commonplant/domain/calendar/controller/CalendarController.java b/src/main/java/com/umc/commonplant/domain/calendar/controller/CalendarController.java index de51c02..438b2ad 100644 --- a/src/main/java/com/umc/commonplant/domain/calendar/controller/CalendarController.java +++ b/src/main/java/com/umc/commonplant/domain/calendar/controller/CalendarController.java @@ -10,6 +10,7 @@ import com.umc.commonplant.domain.user.service.UserService; import com.umc.commonplant.global.dto.JsonResponse; import io.swagger.v3.core.util.Json; +import io.swagger.v3.oas.annotations.Operation; import lombok.RequiredArgsConstructor; import lombok.extern.slf4j.Slf4j; import org.springframework.http.ResponseEntity; @@ -27,6 +28,7 @@ public class CalendarController implements CalendarSwagger { private final JwtService jwtService; private final UserService userService; + @Operation(hidden = true) @GetMapping public ResponseEntity getCalendarByDate(@RequestParam("year") String year, @RequestParam("month") String month, @@ -56,6 +58,7 @@ public ResponseEntity getCalendarByMonth(@RequestParam("year") Str return ResponseEntity.ok(new JsonResponse(true, 200, "getCalendarByMonth", monthlyCalendar)); } + @Operation(hidden = true) @GetMapping("/place") public ResponseEntity getCalendarByPlace() { String uuid = jwtService.resolveToken(); @@ -66,6 +69,7 @@ public ResponseEntity getCalendarByPlace() { return ResponseEntity.ok(new JsonResponse(true, 200, "getPlaceList", placeList)); } + @Operation(hidden = true) @GetMapping("/place/plant") public ResponseEntity getCalendarByPlaceAndPlant(@RequestParam("code") String code) { String uuid = jwtService.resolveToken(); @@ -76,6 +80,7 @@ public ResponseEntity getCalendarByPlaceAndPlant(@RequestParam("co return ResponseEntity.ok(new JsonResponse(true, 200, "getPlantList", plantList)); } + @Operation(hidden = true) @GetMapping("/place/plant/memo") public ResponseEntity getCalendarByPlaceAndPlantAndMemo(@RequestParam("code") String code, @RequestParam("plant") Long plantIdx) {