Skip to content
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

feat: 支持解析 org.springframework.data.domain.Page 包装的返回值 #73

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nnnnnox
Copy link

@nnnnnox nnnnnox commented Feb 4, 2020

非常感谢你们提供的这个插件,但是在实际使用中对于使用 Spring Data 的 Page 包装类,在上传到 Yapi 中是不会被解析的,所以对于 Page 的返回值进行了一些处理,使其可以在 Yapi 中正常显示

@zhangbokang
Copy link

我简单试了一下,像【public Page list(@PageableDefault Pageable pageable)】这样的可以正常使用,但是像【public CommonResult<Page> list(@PageableDefault Pageable pageable)】这样,就还是无法正确生成。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants