forked from loafle/openapi-generator-original
[TYPO] [WEBCLIENT] Issue 7425: Fixed comments that referred to RestTemplate. (#7445)
* Issue 7425: Fixed comments that referred to RestTemplate. * Ran genreate-samples.sh * Re-ran generate-samples.sh against all configs. * update samples Co-authored-by: William Cheng <wing328hk@gmail.com>
This commit is contained in:
parent
29ed2342e5
commit
3f7a3f2b59
@ -144,8 +144,8 @@ public class ApiClient{{#java8}} extends JavaTimeFormatter{{/java8}} {
|
||||
}
|
||||
|
||||
/**
|
||||
* Build the RestTemplate used to make HTTP requests.
|
||||
* @return RestTemplate
|
||||
* Build the WebClient used to make HTTP requests.
|
||||
* @return WebClient
|
||||
*/
|
||||
public static WebClient buildWebClient(ObjectMapper mapper) {
|
||||
ExchangeStrategies strategies = ExchangeStrategies
|
||||
|
@ -86,7 +86,7 @@
|
||||
<version>${reactor-version}</version>
|
||||
</dependency>
|
||||
|
||||
<!-- HTTP client: Spring RestTemplate -->
|
||||
<!-- HTTP client: Spring WebFlux -->
|
||||
<dependency>
|
||||
<groupId>org.springframework</groupId>
|
||||
<artifactId>spring-webflux</artifactId>
|
||||
|
@ -79,7 +79,7 @@
|
||||
<version>${reactor-version}</version>
|
||||
</dependency>
|
||||
|
||||
<!-- HTTP client: Spring RestTemplate -->
|
||||
<!-- HTTP client: Spring WebFlux -->
|
||||
<dependency>
|
||||
<groupId>org.springframework</groupId>
|
||||
<artifactId>spring-webflux</artifactId>
|
||||
|
@ -136,8 +136,8 @@ public class ApiClient extends JavaTimeFormatter {
|
||||
}
|
||||
|
||||
/**
|
||||
* Build the RestTemplate used to make HTTP requests.
|
||||
* @return RestTemplate
|
||||
* Build the WebClient used to make HTTP requests.
|
||||
* @return WebClient
|
||||
*/
|
||||
public static WebClient buildWebClient(ObjectMapper mapper) {
|
||||
ExchangeStrategies strategies = ExchangeStrategies
|
||||
|
Loading…
x
Reference in New Issue
Block a user