We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
@GetMapping
1 parent 7af93b6 commit a3418a8Copy full SHA for a3418a8
src/main/asciidoc/server.adoc
@@ -19,7 +19,7 @@ class PersonController {
19
@GetMapping("/people")
20
HttpEntity<PersonModel> showAll() { … }
21
22
- @GetMapping(value = "/{person}", method = RequestMethod.GET)
+ @GetMapping("/{person}")
23
HttpEntity<PersonModel> show(@PathVariable Long person) { … }
24
}
25
----
0 commit comments