修改当请求参数为泛型时数据解析错误问题
This commit is contained in:
parent
5572c293cc
commit
dfee5a4411
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue