mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-07 02:56:09 +00:00
Fix unchecked conversion (#10246)
* Fix unchecked conversion Update restttemplate and webclient templates to use <>-operator. Also update samples. * Update samples
This commit is contained in:
@@ -627,7 +627,7 @@ public class ApiClient extends JavaTimeFormatter {
|
||||
public <T> ResponseEntity<T> invokeAPI(String path, HttpMethod method, Map<String, Object> pathParams, MultiValueMap<String, String> queryParams, Object body, HttpHeaders headerParams, MultiValueMap<String, String> cookieParams, MultiValueMap<String, Object> formParams, List<MediaType> accept, MediaType contentType, String[] authNames, ParameterizedTypeReference<T> returnType) throws RestClientException {
|
||||
updateParamsForAuth(authNames, queryParams, headerParams, cookieParams);
|
||||
|
||||
Map<String,Object> uriParams = new HashMap();
|
||||
Map<String,Object> uriParams = new HashMap<>();
|
||||
uriParams.putAll(pathParams);
|
||||
|
||||
String finalUri = path;
|
||||
|
||||
Reference in New Issue
Block a user