Compare commits
3
Commits
fc941f97e4
...
b2daaa1010
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b2daaa1010 | ||
|
|
d97b7e679f | ||
|
|
530477fb75 |
@@ -0,0 +1,15 @@
|
|||||||
|
package ru.soune.no_copy.controller;
|
||||||
|
|
||||||
|
import org.apache.coyote.Response;
|
||||||
|
import org.springframework.http.HttpStatus;
|
||||||
|
import org.springframework.web.bind.annotation.*;
|
||||||
|
|
||||||
|
@RestController
|
||||||
|
@RequestMapping("/api")
|
||||||
|
public class HealtCheckController {
|
||||||
|
|
||||||
|
@GetMapping("/healt")
|
||||||
|
public HttpStatus healtCheck() {
|
||||||
|
return HttpStatus.OK;
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user