diff --git a/spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc b/spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc index a277544d47..9480f05f90 100644 --- a/spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc +++ b/spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc @@ -5616,7 +5616,7 @@ The following code shows a typical example: } public Mono
someRestCall(String name) { - return this.webClient.get().url("/{name}/details", name) + return this.webClient.get().uri("/{name}/details", name) .retrieve().bodyToMono(Details.class); }