GH-2031 - Simplify @GetMapping in docs.
This commit is contained in:
committed by
Oliver Drotbohm
parent
7af93b6dc7
commit
a3418a8ce5
@@ -19,7 +19,7 @@ class PersonController {
|
||||
@GetMapping("/people")
|
||||
HttpEntity<PersonModel> showAll() { … }
|
||||
|
||||
@GetMapping(value = "/{person}", method = RequestMethod.GET)
|
||||
@GetMapping("/{person}")
|
||||
HttpEntity<PersonModel> show(@PathVariable Long person) { … }
|
||||
}
|
||||
----
|
||||
|
||||
Reference in New Issue
Block a user