Skip to content

Commit 01cf524

Browse files
origonisnicoll
authored andcommitted
Fix typo in WebClient example
Closes gh-14499
1 parent 6fba477 commit 01cf524

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5616,7 +5616,7 @@ The following code shows a typical example:
56165616
}
56175617
56185618
public Mono<Details> someRestCall(String name) {
5619-
return this.webClient.get().url("/{name}/details", name)
5619+
return this.webClient.get().uri("/{name}/details", name)
56205620
.retrieve().bodyToMono(Details.class);
56215621
}
56225622

0 commit comments

Comments
 (0)