Class HealthController

java.lang.Object
com.nicholasalfonso.lato.controller.HealthController

@RestController @RequestMapping("/api/health") public class HealthController extends Object
REST controller for API health. Provides a simple endpoint to check if the API is running.
  • Constructor Details

    • HealthController

      public HealthController()
  • Method Details

    • healthCheck

      @GetMapping public boolean healthCheck()
      Gets the status of LATO.
      Returns:
      OK if the API is healthy