Skip to content

Commit

Permalink
Merge pull request #182 from Leets-Official/hotfix/#181-health-check-…
Browse files Browse the repository at this point in the history
…컨트롤러-추가

[hotfix] #181 health check 추가
  • Loading branch information
jj0526 authored Feb 5, 2025
2 parents 8c43a40 + 4d34cdd commit c6c2459
Showing 1 changed file with 18 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
package com.example.eatmate.global.common.controller;

import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import io.swagger.v3.oas.annotations.Hidden;

@Hidden
@RestController
public class StatusCheckController {
@GetMapping("/health-check")
public ResponseEntity<Void> checkHealthStatus() {

return new ResponseEntity<>(HttpStatus.OK);
}
}

0 comments on commit c6c2459

Please sign in to comment.