修改当请求参数为泛型时数据解析错误问题

This commit is contained in:
xingzi 2020-04-11 00:08:26 +08:00
parent 5572c293cc
commit dfee5a4411
1 changed files with 1 additions and 1 deletions

View File

@ -475,7 +475,7 @@ public class SpringBootDocBuildTemplate implements IDocBuildTemplate {
.setType("string").setDesc(comment).setRequired(required).setVersion(DocGlobalConstants.DEFAULT_VERSION);
paramList.add(param);
} else {
paramList.addAll(ParamsBuildHelper.buildParams(fullTypeName, DocGlobalConstants.ENMPTY, 0, "true", responseFieldMap, Boolean.FALSE, new HashMap<>(), builder, groupClasses));
paramList.addAll(ParamsBuildHelper.buildParams(typeName, DocGlobalConstants.ENMPTY, 0, "true", responseFieldMap, Boolean.FALSE, new HashMap<>(), builder, groupClasses));
}
}
return paramList;