We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 92b71fe commit 4a5c6c2Copy full SHA for 4a5c6c2
src/main/java/dmu/dasom/api/global/healthcheck/HealthCheck.java
@@ -0,0 +1,15 @@
1
+package dmu.dasom.api.global.healthcheck;
2
+
3
+import io.swagger.v3.oas.annotations.tags.Tag;
4
+import org.springframework.http.ResponseEntity;
5
+import org.springframework.web.bind.annotation.GetMapping;
6
+import org.springframework.web.bind.annotation.RestController;
7
8
+@RestController
9
+@Tag(name = "health-check", description = "서버 상태 체크")
10
+public class HealthCheck {
11
+ @GetMapping("/api/health-check")
12
+ public ResponseEntity<Void> healthCheck() {
13
+ return ResponseEntity.ok().build();
14
+ }
15
+}
0 commit comments