Repair gitee issues #I13ZAL
This commit is contained in:
parent
3b1239bab4
commit
9d7f53731a
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue