-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
多层嵌套的返回参数目前能否满足,如果能满足能否给个@ApiRespParams的例子 #1
Comments
看了下你的例子,我这个可能比较特殊, 我的是3层嵌套,而且还是一个List 重点看下这一行 |
是对的,list的话dataType = DataType.ARRAY就可以了,最终都是转化成json,list和数组是一样的,你这样是对的,有什么问题吗? 记得下载最新版的前端 页面 这个文件夹(https://github.com/liupeng328/api-doc/tree/master/src/main/resources/static/apidoc) |
并不特殊,正常的需求,这个工具我们已经用了半年了,基本坑都踩完了。这是基本需求 |
方便的能否加下QQ ,这里截图还不会操作 419475374 |
最底下有qq群的啊,加群就行了 |
嗯,已发群里,有空的话 帮忙看看, 感谢!!! |
已经改为递归实现,参数中的对象支持无限层嵌套,当时这个地方偷懒了。哈哈,今天改过来了
|
JSON数据如下:
{
code: 0,
data: {
"pageSize":10,
"pageNum":1,
"data": [
{
"id":1,
"name":"test"
}
]
}
}
The text was updated successfully, but these errors were encountered: