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

关于hz代码生成与swagger的生成交互问题 #1084

Closed
ponecrazy opened this issue Mar 29, 2024 · 1 comment
Closed

关于hz代码生成与swagger的生成交互问题 #1084

ponecrazy opened this issue Mar 29, 2024 · 1 comment
Labels
invalid issue invalid issue (not related to Hertz or described in document or not enough information provided) stale

Comments

@ponecrazy
Copy link

  1. 在代码生成Handler构建Swagger doc的时候发现在给定的Handler结构体无法取到service相关的数据,目的是想要将service name引入作为tags,目前有什么办法实现吗?

  2. 走代码生成的逻辑无法给handler构建Swagger doc时提供description,目前唯一找到的办法只能走description.markdown;另外看到HttpMethod结构体中有Annotations字段但是被注释掉了;这个有什么最佳实践吗?

@github-actions github-actions bot added the invalid issue invalid issue (not related to Hertz or described in document or not enough information provided) label Mar 29, 2024
Copy link

This issue has been marked as invalid question, please give more information by following the issue template. The issue will be closed in 1 days if no further activity occurs.

@github-actions github-actions bot added the stale label Mar 29, 2024
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Mar 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid issue invalid issue (not related to Hertz or described in document or not enough information provided) stale
Development

No branches or pull requests

1 participant