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

refactor: improve request example generation for API documentation #968

Conversation

linwumingshi
Copy link
Collaborator

  • Refactor RequestExampleUtil to handle different HTTP methods more effectively

  • Optimize curl command generation for various request types

  • Enhance form data handling and grouping by type

  • Improve URL construction for API requests

  • Update related classes to support the refactored logic

  • revert: remove write-comment job from GitHub Actions workflow

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中提供示例代码。这将帮助其他用户了解如何使用新功能。

- Refactor RequestExampleUtil to handle different HTTP methods more effectively
- Optimize curl command generation for various request types
- Enhance form data handling and grouping by type
- Improve URL construction for API requests
- Update related classes to support the refactored logic
- Remove `write-comment` job that posted PR reports
- Delete associated code block for `write-comment` job
- Keep other workflow steps intact
@linwumingshi linwumingshi force-pushed the refactor/request-example-generation branch from 1a8415a to 3f57e89 Compare November 26, 2024 14:01
@shalousun shalousun merged commit fe0532f into TongchengOpenSource:master Nov 27, 2024
11 checks passed
@shalousun shalousun added this to the 3.1.0 milestone Dec 7, 2024
@shalousun shalousun added the enhancement New feature or request label Dec 7, 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

Successfully merging this pull request may close these issues.

2 participants