Skip to content

[Fix Issues #1046] #1050

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

Closed
wants to merge 13 commits into from
Closed

[Fix Issues #1046] #1050

wants to merge 13 commits into from

Conversation

netdied
Copy link
Collaborator

@netdied netdied commented May 11, 2025

  1. 生成文档时如果未填写注释,且取类名。
  2. 当使用 pathPrefix时,生成的path重复问题。

  1. When generating a document, if no comments are filled in, the class name is taken.
  2. When using "pathPrefix", the swgger/openapi generated path is repeated.

Copy link

Thanks for your PR. 🙏
Please check again for your PR changes whether they contain any usage configuration change, such as Add new configuration or Change default value of configuration.
If so, please add or update documents (Markdown format) in the docs/ directory of the repository smart-doc-group/smart-doc-group.github.io.

In addition, if you have added new features, please provide example code in the repository smart-doc-group/smart-doc-example-cn. This will help other users understand how to use the new features.

Code Style Reminder:
The code should use the Spring code style. Please format your code using the command mvn spring-javaformat:apply. You can also install the Spring Java Format plugin for convenience.


感谢您提交的PR。 🙏
请再次查看您的PR内容,确认是否包含任何使用方式或配置参数的变更,如:新增配置参数修改默认配置等操作。
如果是,请确保在提交之前,在仓库smart-doc-group/smart-doc-group.github.io中的docs/目录下添加或更新文档(Markdown格式)。

另外,如果您添加了新功能,请在仓库smart-doc-group/smart-doc-example-cn中提供示例代码。这将帮助其他用户了解如何使用新功能。

代码风格提示:
请使用 Spring 代码风格。您可以通过命令 mvn spring-javaformat:apply 格式化代码。为了方便操作,您还可以安装 Spring Java Format 插件。

@linwumingshi linwumingshi changed the title fix #1064 [Fix Issues #1064] May 11, 2025
@linwumingshi linwumingshi requested a review from shalousun May 11, 2025 12:57
@shalousun
Copy link
Collaborator

@netdied
image
Rebase the commit message

xingzi added 2 commits May 12, 2025 10:50
@linwumingshi linwumingshi changed the title [Fix Issues #1064] [Fix Issues #1046] May 12, 2025
@netdied
Copy link
Collaborator Author

netdied commented May 12, 2025

done

@netdied netdied closed this May 18, 2025
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.

"pathPrefix" cause generating duplicated content in "basePath" and "paths.url"
2 participants