From 61ae25a5b954b90db663bf90a107a9296260b0ac Mon Sep 17 00:00:00 2001 From: moonjin-kim Date: Mon, 29 Apr 2024 20:08:26 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20ELB=20=ED=97=AC=EC=8A=A4=20=EC=B2=B4?= =?UTF-8?q?=ED=81=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../PlanIT/domain/health/HealthController.java | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 src/main/java/com/sideProject/PlanIT/domain/health/HealthController.java diff --git a/src/main/java/com/sideProject/PlanIT/domain/health/HealthController.java b/src/main/java/com/sideProject/PlanIT/domain/health/HealthController.java new file mode 100644 index 0000000..ef484a0 --- /dev/null +++ b/src/main/java/com/sideProject/PlanIT/domain/health/HealthController.java @@ -0,0 +1,17 @@ +package com.sideProject.PlanIT.domain.health; + +import com.sideProject.PlanIT.common.response.ApiResponse; +import com.sideProject.PlanIT.common.response.CustomException; +import com.sideProject.PlanIT.common.response.ErrorCode; +import com.sideProject.PlanIT.domain.post.dto.request.BannerRequestDto; +import jakarta.validation.Valid; +import org.springframework.validation.BindingResult; +import org.springframework.web.bind.annotation.*; + +@RestController +public class HealthController { + @GetMapping("") + public ApiResponse healthCheck() { + return ApiResponse.ok("서버가 정상적으로 동작 중 입니다."); + } +}