Class HealthController

java.lang.Object
com.unosquare.carmigo.controller.HealthController

@RestController @RequestMapping("/v1/health") public class HealthController extends Object
Handles Health API.
  • Constructor Details

    • HealthController

      public HealthController()
  • Method Details

    • health

      @GetMapping public org.springframework.http.ResponseEntity<String> health()
      Healthcheck method. Returns 200 if the microservice is running.
      Returns:
      health check HTTP status.