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

If code similar to @Validated(GenerateDataByPlanDateGroup.class) is detected, then only the fields marked with GenerateDataByPlanDateGroup should be included in the generated documentation. #791

Open
baichoulishang opened this issue May 21, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@baichoulishang
Copy link

如果检测到类似 @validated(GenerateDataByPlanDateGroup.class) 的代码,那么生成文档的时候,只生成GenerateDataByPlanDateGroup标记的那些字段

@baichoulishang baichoulishang added the enhancement New feature or request label May 21, 2024
@shalousun
Copy link
Collaborator

shalousun commented May 21, 2024

@baichoulishang Please create an issue according to the official template and also provide the translation in English.
The community has launched international promotion, and in the future, we will no longer process issues and pull requests submitted in Chinese. Submissions in Chinese have added a lot of workload to the community.

@baichoulishang
Copy link
Author

If code similar to @validated(GenerateDataByPlanDateGroup.class) is detected, then only the fields marked with GenerateDataByPlanDateGroup should be included in the generated documentation.

@baichoulishang baichoulishang changed the title 如果检测到类似 @Validated(GenerateDataByPlanDateGroup.class) 的代码,那么生成文档的时候,只生成GenerateDataByPlanDateGroup标记的那些字段 If code similar to @Validated(GenerateDataByPlanDateGroup.class) is detected, then only the fields marked with GenerateDataByPlanDateGroup should be included in the generated documentation. May 21, 2024
@shalousun
Copy link
Collaborator

shalousun commented May 21, 2024

Smart-doc supports group validation,the test case here: https://github.com/smart-doc-group/smart-doc-example-cn/blob/master/src/main/java/com/power/doc/controller/jsr/ValidatorTestController.java. We're not familiar with your group validation use case based on the situation you described, so please provide a reproducible example.

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

2 participants