forked from github/dataease
fix: 解析API数据结构
This commit is contained in:
parent
cb9d94639a
commit
e5747ba8f5
@ -319,7 +319,7 @@ public class ApiUtils {
|
||||
}
|
||||
}
|
||||
for (JsonNode node : jsonArray) {
|
||||
handleStr(apiDefinition, node.toString(), childrenField, rootPath + "." + fieldName + "[*]");
|
||||
handleStr(apiDefinition, node.toString(), childrenField, rootPath + "." + String.format(path, fieldName) + "[*]");
|
||||
}
|
||||
o.put("children", childrenField);
|
||||
o.put("childrenDataType", "LIST");
|
||||
|
Loading…
Reference in New Issue
Block a user