From 01cf52447ca72307842e27375f5a5490618d2996 Mon Sep 17 00:00:00 2001 From: DK Lee Date: Tue, 18 Sep 2018 12:27:10 +0900 Subject: [PATCH] Fix typo in WebClient example Closes gh-14499 --- .../src/main/asciidoc/spring-boot-features.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }