package com.yunzhupaas.visualdata.model.visual;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import jakarta.validation.constraints.NotBlank;
import java.util.Collections;
import java.util.Map;

/**
 * 请求Api数据结构
 *
 * @author 云筑产品开发平台组
 * @version V3.1.0
 * @copyright 深圳市乐程软件有限公司
 * @date 2024年6月15日
 */
@Data
public class VisualApiRequest {

    @NotBlank
    @Schema(description ="路径")
    private String url;
    @NotBlank
    @Schema(description ="每页条数")
    private String method;
    @Schema(description ="每页条数")
    private Map<String, String> headers = Collections.emptyMap();
    @Schema(description ="每页条数")
    private Map<String, String> params = Collections.emptyMap();
    @Schema(description ="每页条数")
    private int timeout = 3;
}

