GH-2031 - Simplify @GetMapping in docs.

This commit is contained in:
Roland Weisleder
2023-09-26 07:24:32 +02:00
committed by Oliver Drotbohm
parent 7af93b6dc7
commit a3418a8ce5

View File

@@ -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) { … }
}
----