Skip to content

Commit a3418a8

Browse files
rweislederodrotbohm
authored andcommitted
spring-projectsGH-2031 - Simplify @GetMapping in docs.
1 parent 7af93b6 commit a3418a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/asciidoc/server.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class PersonController {
1919
@GetMapping("/people")
2020
HttpEntity<PersonModel> showAll() { … }
2121
22-
@GetMapping(value = "/{person}", method = RequestMethod.GET)
22+
@GetMapping("/{person}")
2323
HttpEntity<PersonModel> show(@PathVariable Long person) { … }
2424
}
2525
----

0 commit comments

Comments
 (0)