Skip to content
This repository was archived by the owner on Dec 4, 2025. It is now read-only.

Conversation

@linwumingshi
Copy link
Collaborator

@linwumingshi linwumingshi commented Dec 14, 2024

fix: 🐛 Fixed issue where enum dictionary could not be generated for enums referenced by @see in the same package as the current class.

  • Add package name prefix to resolve enum classes that are not fully qualified
  • Attempt to find enum class using the declaring class's package name
  • Improve error handling and return null for invalid class names

Closes #995


fix: 🐛 improve enum class resolution and refactor related methods

  • Enhance enum class resolution logic to handle various scenarios
  • Refactor methods for better code organization and readability
  • Improve comments and method names for clarity
  • Update related helper classes to use new methods

Closes #994

- Enhance enum class resolution logic to handle various scenarios
- Refactor methods for better code organization and readability
- Improve comments and method names for clarity
- Update related helper classes to use new methods

Closes TongchengOpenSource#994
…nums referenced by `@see` in the same package as the current class.

- Add package name prefix to resolve enum classes that are not fully qualified
- Attempt to find enum class using the declaring class's package name
- Improve error handling and return null for invalid class names

Closes TongchengOpenSource#995
- Rename `commonHandleParam` to `processApiParam` for better clarity
- Update method comments to accurately reflect functionality
- Improve code readability and maintainability
@linwumingshi linwumingshi added the bug Something isn't working label Dec 14, 2024
@github-actions
Copy link

Thanks for your this PR. 🙏
Please check again for your PR changes whether contains any usage configuration change such as Add new configuration, Change default value of configuration.
If so, please add or update documents(markdown type) in docs/ for 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.


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

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

@linwumingshi linwumingshi added this to the 3.1.0 milestone Dec 14, 2024
@shalousun shalousun merged commit eaec48b into TongchengOpenSource:master Dec 16, 2024
12 checks passed
@linwumingshi linwumingshi deleted the fix/see-enum branch December 16, 2024 12:16
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

bug Something isn't working

Projects

None yet

2 participants