Skip to content

Commit 9b7b111

Browse files
committed
feat: 헬스 체크 API Presentation #9
1 parent b830e29 commit 9b7b111

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
package usay.app.domain.common.health;
2+
3+
import org.springframework.web.bind.annotation.GetMapping;
4+
import org.springframework.web.bind.annotation.RequestMapping;
5+
import org.springframework.web.bind.annotation.RestController;
6+
import usay.app.domain.ApiResponse;
7+
8+
@RequestMapping("/health")
9+
@RestController
10+
public class HealthApi {
11+
@GetMapping
12+
public ApiResponse<Void> health() {
13+
return ApiResponse.success();
14+
}
15+
}

0 commit comments

Comments
 (0)