package org.matrix.autotest.swaggerEntity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author MRY
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("返回值信息")
public class ResponseVo {

    @ApiModelProperty("名称")
    private String name;

    @ApiModelProperty("类型")
    private String type;

    @ApiModelProperty("描述")
    private String description;

    @ApiModelProperty("是否必填")
    private Boolean required;

    @ApiModelProperty("子类返回值")
    private List<ResponseVo> childResp;

}
