Skip to content

Commit

Permalink
add say hi
Browse files Browse the repository at this point in the history
  • Loading branch information
bhuridech committed Oct 27, 2023
1 parent 342b25a commit e716de5
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ public class PetController {
@Autowired
private PetService petService;

@GetMapping("/hi")
public String sayHi() {
return "hi";
}

@GetMapping
public List<Pet> allPet() {
return petService.allPets();
Expand Down

0 comments on commit e716de5

Please sign in to comment.