NCP-4 #6
@@ -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