Repair gitee issues #I13ZAL

This commit is contained in:
songhaozhi 2019-10-25 20:54:45 +08:00
parent 3b1239bab4
commit 9d7f53731a
1 changed files with 1 additions and 1 deletions

View File

@ -1175,7 +1175,7 @@ public class SourceBuilder {
ApiParam param = ApiParam.of().setField(paramName) ApiParam param = ApiParam.of().setField(paramName)
.setType(DocClassUtil.processTypeNameForParams(simpleName)) .setType(DocClassUtil.processTypeNameForParams(simpleName))
.setDesc(comment).setRequired(true).setVersion(DocGlobalConstants.DEFAULT_VERSION); .setDesc(comment).setRequired(Boolean.valueOf(required)).setVersion(DocGlobalConstants.DEFAULT_VERSION);
paramList.add(param); paramList.add(param);
} else { } else {
continue; continue;