Update API versioning ref docs for client side

Closes: gh-34569
This commit is contained in:
rstoyanchev
2025-05-14 13:00:29 +01:00
parent 5cb3ea228e
commit e04de95ef2
5 changed files with 21 additions and 2 deletions

View File

@@ -265,6 +265,7 @@ Java::
client = WebTestClient.bindToController(new TestController())
.configureClient()
.baseUrl("/test")
.apiVersionInserter(ApiVersionInserter.fromHeader("API-Version").build())
.build();
----
@@ -275,6 +276,7 @@ Kotlin::
client = WebTestClient.bindToController(TestController())
.configureClient()
.baseUrl("/test")
.apiVersionInserter(ApiVersionInserter.fromHeader("API-Version").build())
.build()
----
======