top.doudou.swagger.ApiGlobalProperties Maven / Gradle / Ivy
package top.doudou.swagger;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
/**
* @Description swagger全局参数类型
* @Author 傻男人 <[email protected]>
* @Date 2020-10-14 15:06
* @Version V1.0
*/
@Data
public class ApiGlobalProperties implements Serializable {
@ApiModelProperty("header参数")
private String name;
@ApiModelProperty("header参数描述")
private String description;
@ApiModelProperty("header参数类型,如string")
private String type;
@ApiModelProperty("header参数类型,如header")
private String parameterType;
@ApiModelProperty("header参数是否必填")
private boolean required;
}