Skip to content

Instantly share code, notes, and snippets.

@Kamilahsantos
Created July 26, 2020 08:10
Show Gist options
  • Save Kamilahsantos/5cbe5416916f41d35463e326bd6c1901 to your computer and use it in GitHub Desktop.
Save Kamilahsantos/5cbe5416916f41d35463e326bd6c1901 to your computer and use it in GitHub Desktop.
@GetMapping("/heroes")
public List<Hero> getAllHeroer() {
return heroRepository.findAll();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment