|
@@ -36,7 +36,7 @@ public class CommentGenerator extends DefaultCommentGenerator {
|
|
|
public void addFieldComment(Field field, IntrospectedTable introspectedTable,
|
|
|
IntrospectedColumn introspectedColumn) {
|
|
|
String remarks = introspectedColumn.getRemarks();
|
|
|
- //根据参数和备注信息判断是否添加注释信息
|
|
|
+ //根据参数和备注信息判断是否添加swagger注解信息
|
|
|
if(addRemarkComments&&StringUtility.stringHasValue(remarks)){
|
|
|
// addFieldJavaDoc(field, remarks);
|
|
|
//数据库中特殊字符需要转义
|