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

Can customResponseFields ignore org.springframework.data.domain.Pageable in the response? #625

Closed
yangyf520 opened this issue Oct 11, 2023 · 7 comments
Labels
enhancement New feature or request
Milestone

Comments

@yangyf520
Copy link

yangyf520 commented Oct 11, 2023

Summary(关于这个pr的描述)

When using org.springframework.data.domain.Pageable for query pagination, can the returned results overwrite these parameters?
使用org.springframework.data.domain.Pageable做查询分页,返回结果可以覆盖这部分参数么

@yangyf520 yangyf520 added the enhancement New feature or request label Oct 11, 2023
@shalousun
Copy link
Collaborator

@yangyf520 Do you not want certain fields to be displayed in the document(是一些字段不想显示在文档中)?

@shalousun
Copy link
Collaborator

shalousun commented Oct 12, 2023

If it's convenient, could you please help with the registration? #12

@yangyf520
Copy link
Author

yangyf520 commented Oct 13, 2023

企业微信截图_b514208e-7e13-42b4-9b99-76ec2924ef61

@yangyf520
Copy link
Author

@yangyf520 Do you not want certain fields to be displayed in the document(是一些字段不想显示在文档中)?

内容太多没有用途的不用显示,是否可以配置成不显示,如何实现呢,谢谢

@shalousun
Copy link
Collaborator

shalousun commented Oct 13, 2023

customResponseFields does support this feature, but a bug appeared in later versions.
customResponseFields是支持这个功能的,不过后来的版本改动中出现了bug

@yangyf520
Copy link
Author

yangyf520 commented Oct 16, 2023

customResponseFields does support this feature, but a bug appeared in later versions.
customResponseFields是支持这个功能的,不过后来的版本改动中出现了bug

Which version can be fixed?
哪个版本可以修复呢

@abing22333
Copy link
Contributor

abing22333 commented Oct 16, 2023

customResponseFields does support this feature, but a bug appeared in later versions.
customResponseFields是支持这个功能的,不过后来的版本改动中出现了bug

Which version can be fixed?
哪个版本可以修复呢

It has been fixed; it will be available in the next version.
已经修复了,下个版本就可以了

Fioooooooo pushed a commit to Fioooooooo/smart-doc that referenced this issue Nov 14, 2023
@shalousun shalousun added this to the 3.0.0 milestone Dec 17, 2023
@shalousun shalousun changed the title customResponseFields是否可以忽略response中org.springframework.data.domain.Pageable Can customResponseFields ignore org.springframework.data.domain.Pageable in the response? Jun 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants