feat: 【数据源】API数据源支持分页获取数据

This commit is contained in:
taojinlong
2024-12-18 16:09:10 +08:00
committed by dataeaseShu
parent 645bc0ddec
commit ea5f0f4156
6 changed files with 178 additions and 40 deletions

View File

@@ -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;
}
}