源java
@Data
public class UnitVO {
@ApiModelProperty(value = "编号")
private Integer unitId;
@ApiModelProperty(value = "名字")
private String unitName;
@ApiModelProperty(value = "图标")
private String unitIcon;
}
修改后
@Data
public class UnitVO {
/**
* 编号
*/
private Integer unitId;
/**
* 名字
*/
private String unitName;
/**
* 图标
*/
private String unitIcon;
}
替换表达式
@ApiModelProperty\(value \= "(.*?)"\)
/** \n * $1 \n */