From b7a6e0f179726fa4f497aca5df3496b47e661602 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Nicoll?= Date: Mon, 20 Apr 2026 08:22:58 +0200 Subject: [PATCH] Adapt HTTP service interface clients configuration sample This commit adapts a configuration example that wrongly described that API versioning is supported. Closes gh-50126 --- .../antora/modules/reference/pages/io/rest-client.adoc | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/documentation/spring-boot-docs/src/docs/antora/modules/reference/pages/io/rest-client.adoc b/documentation/spring-boot-docs/src/docs/antora/modules/reference/pages/io/rest-client.adoc index 2309a1edbcb..8784f0c9284 100644 --- a/documentation/spring-boot-docs/src/docs/antora/modules/reference/pages/io/rest-client.adoc +++ b/documentation/spring-boot-docs/src/docs/antora/modules/reference/pages/io/rest-client.adoc @@ -374,8 +374,8 @@ For example, the properties below will: * Configure all HTTP clients to use a one second connect timeout (unless otherwise overridden). * Configure HTTP Service clients in the "`echo`" group to: ** Use a specific base URL. -** Have a two second read timeout. -** Insert API version information using an `X-Version` header. +** Have a one-second connect timeout. +** Have a two-second read timeout. [configprops,yaml] ---- @@ -386,11 +386,8 @@ spring: serviceclient: echo: base-url: "https://echo.zuplo.io" + connect-timeout: 2s read-timeout: 2s - apiversion: - default: 1.0.0 - insert: - header: X-Version ----