forked from loafle/openapi-generator-original
Merge branch '5.4.x' into 6.0.x
This commit is contained in:
@@ -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()));
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user