From a3418a8ce54baf359b07294b8b24605bbdf46a35 Mon Sep 17 00:00:00 2001 From: Roland Weisleder Date: Tue, 26 Sep 2023 07:24:32 +0200 Subject: [PATCH] GH-2031 - Simplify `@GetMapping` in docs. --- src/main/asciidoc/server.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/asciidoc/server.adoc b/src/main/asciidoc/server.adoc index 1b111460..16925347 100644 --- a/src/main/asciidoc/server.adoc +++ b/src/main/asciidoc/server.adoc @@ -19,7 +19,7 @@ class PersonController { @GetMapping("/people") HttpEntity showAll() { … } - @GetMapping(value = "/{person}", method = RequestMethod.GET) + @GetMapping("/{person}") HttpEntity show(@PathVariable Long person) { … } } ----