mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-08 00:06:10 +00:00
10788: ApiClient for resttemplate should not produce warning (#10789)
Motivation: Remove useless warnings for webclient and resttemplate
This commit is contained in:
@@ -436,6 +436,7 @@ public class ApiClient extends JavaTimeFormatter {
|
||||
}
|
||||
|
||||
if (value instanceof Map) {
|
||||
@SuppressWarnings("unchecked")
|
||||
final Map<String, Object> valuesMap = (Map<String, Object>) value;
|
||||
for (final Entry<String, Object> entry : valuesMap.entrySet()) {
|
||||
params.add(entry.getKey(), parameterToString(entry.getValue()));
|
||||
|
||||
Reference in New Issue
Block a user