From 5830aac1d43b605c5b56d1a7e52118742c84c063 Mon Sep 17 00:00:00 2001 From: Sam Brannen <104798+sbrannen@users.noreply.github.com> Date: Wed, 28 Feb 2024 10:41:50 +0100 Subject: [PATCH] Omit parameter names in REST Clients section of reference docs For consistency with other examples, this commit omits `method` parameter names in the "Migrating from RestTemplate to RestClient" section of the reference docs. Closes gh-32335 --- .../modules/ROOT/pages/integration/rest-clients.adoc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/framework-docs/modules/ROOT/pages/integration/rest-clients.adoc b/framework-docs/modules/ROOT/pages/integration/rest-clients.adoc index fcf55db7e2..d4a511fe0f 100644 --- a/framework-docs/modules/ROOT/pages/integration/rest-clients.adoc +++ b/framework-docs/modules/ROOT/pages/integration/rest-clients.adoc @@ -852,17 +852,17 @@ It can be used to migrate from the latter to the former. .toEntity(ParameterizedTypeReference)` footnote:request-entity[] -| `execute(String, HttpMethod method, RequestCallback, ResponseExtractor, Object...)` +| `execute(String, HttpMethod, RequestCallback, ResponseExtractor, Object...)` | `method(HttpMethod) .uri(String, Object...) .exchange(ExchangeFunction)` -| `execute(String, HttpMethod method, RequestCallback, ResponseExtractor, Map)` +| `execute(String, HttpMethod, RequestCallback, ResponseExtractor, Map)` | `method(HttpMethod) .uri(String, Map) .exchange(ExchangeFunction)` -| `execute(URI, HttpMethod method, RequestCallback, ResponseExtractor)` +| `execute(URI, HttpMethod, RequestCallback, ResponseExtractor)` | `method(HttpMethod) .uri(URI) .exchange(ExchangeFunction)`