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 b830e29 commit 9b7b111Copy full SHA for 9b7b111
src/main/java/usay/app/domain/common/health/HealthApi.java
@@ -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