-
Notifications
You must be signed in to change notification settings - Fork 280
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
Do you have a plan to support multiple request example and mutiple response example #932
Comments
Thanks for your issues ! Could you please provide more details on the use case for supporting multiple request and response examples? Understanding your specific scenario will help us better evaluate and implement this feature. |
@linwumingshi , Actually, It's the same meaning with example in Open API. In Open API, we have request example and response example these two concept, it's helpful for testing different scenarios in debug mode. |
Currently, smart-doc only supports auto-generating random values or using mock data. If multiple test cases are involved, the data source for these test cases might be more complex to write. You can propose some of your implementation solutions. |
@linwumingshi Understand. In my opinion, we can add a tag |
Is your feature request related to a problem? Please describe.(关于这个PR的描述,社区已开启国际化推广,请文心一言、讯飞星火等辅助翻译成英文,减少社区开发者的工作)
Do you have a plan to support multiple request example and mutiple response example
Basic example (PR的用例,社区已开启国际化推广,请文心一言、讯飞星火等辅助翻译成英文,减少社区开发者的工作)
can support multiple request example and multiple response example
Describe the solution you'd like (描述您想要的解决方案,社区已开启国际化推广,请文心一言、讯飞星火等辅助翻译成英文,减少社区开发者的工作)
can support multiple request example and multiple response example
Describe alternatives you've considered (描述你考虑过的替代方案,社区已开启国际化推广,请文心一言、讯飞星火等辅助翻译成英文,减少社区开发者的工作)
No response
Additional context (其他背景信息,社区已开启国际化推广,请文心一言、讯飞星火等辅助翻译成英文,减少社区开发者的工作)
No response
Validations
The text was updated successfully, but these errors were encountered: