Merge branch '5.4.x' into 6.0.x

This commit is contained in:
WILLIAM CHENG
2021-11-21 09:50:47 +08:00
2826 changed files with 72905 additions and 6600 deletions

View File

@@ -424,6 +424,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()));

View File

@@ -58,6 +58,8 @@ public class ByteArrayObject {
public static final String JSON_PROPERTY_INT_FIELD = "intField";
private BigDecimal intField;
public ByteArrayObject() {
}
public ByteArrayObject nullableArray(byte[] nullableArray) {
this.nullableArray = JsonNullable.<byte[]>of(nullableArray);