test: 실습 2부 내용 반영

This commit is contained in:
kok202
2023-04-12 02:18:35 +09:00
parent 435de08537
commit 73453defa5
75 changed files with 2094 additions and 511 deletions

View File

@@ -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();
}
}