This commit is contained in:
anugulokeshreddy-cmd 2026-01-29 22:19:15 -06:00 committed by GitHub
commit 3b3c9889ac
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -18,6 +18,7 @@ package org.springframework.samples.petclinic.system;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.ResponseBody;
@Controller
class WelcomeController {
@ -27,4 +28,10 @@ class WelcomeController {
return "welcome";
}
@GetMapping("/status")
@ResponseBody
public String status() {
return "Application is running";
}
}