mirror of
https://github.com/dataease/dataease.git
synced 2026-05-20 02:58:10 +08:00
feat: 【数据源】API数据源支持分页获取数据
This commit is contained in:
@@ -15,12 +15,36 @@ public class ApiDefinitionRequest {
|
||||
private List<Map<String, String>> arguments = new ArrayList<>();
|
||||
private List<Map<String, String>> rest = new ArrayList<>();
|
||||
private AuthManager authManager = new AuthManager();
|
||||
private Page page = new Page();
|
||||
|
||||
|
||||
@Data
|
||||
public static class AuthManager{
|
||||
public static class AuthManager {
|
||||
private String password;
|
||||
private String username;
|
||||
private String verification = "";
|
||||
}
|
||||
|
||||
@Data
|
||||
public static class Page {
|
||||
private String pageType;
|
||||
private List<RequestItem> requestData;
|
||||
private List<ResponseItem> responseData;
|
||||
}
|
||||
|
||||
@Data
|
||||
public static class RequestItem {
|
||||
private String parameterName;
|
||||
private String builtInParameterName;
|
||||
private String requestParameterName;
|
||||
private String parameterDefaultValue;
|
||||
}
|
||||
|
||||
@Data
|
||||
public static class ResponseItem {
|
||||
private String parameterName;
|
||||
private String resolutionPath;
|
||||
private String resolutionPathType;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user