test: 실습 2부 내용 반영
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
package com.example.demo.common.controller;
|
||||
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import org.springframework.http.ResponseEntity;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
@Tag(name = "헬스 체크")
|
||||
@RestController
|
||||
public class HealthCheckController {
|
||||
|
||||
@GetMapping("/health_check.html")
|
||||
public ResponseEntity<Void> healthCheck() {
|
||||
return ResponseEntity
|
||||
.ok()
|
||||
.build();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user