Skip to content

Instantly share code, notes, and snippets.

@AlexeySoshin
Created October 22, 2017 17:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AlexeySoshin/3469eafd034ac8d49e6d6dcfee4bf832 to your computer and use it in GitHub Desktop.
Save AlexeySoshin/3469eafd034ac8d49e6d6dcfee4bf832 to your computer and use it in GitHub Desktop.
@GetMapping("/")
fun allCats(): List<Cat> {
return cats.values.toList()
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment