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

生成模板中注释文档 query 修改 #1967

Merged
merged 2 commits into from
Dec 19, 2024

Conversation

huiyifyj
Copy link
Contributor

@huiyifyj huiyifyj commented Dec 18, 2024

更新模板文件 api.go.tplFindXxx (即,用id查询Xxx) 接口,这会造成 swag init 提示,同时也符合接口描述

image

image

swag 工具中,注释请求的 query 目前好像不用 ast 扫描对应结构体

swag 工具的 query 为具体字符的字段,目前不支持 ast 扫描对应结构体
@pixelmaxQm pixelmaxQm merged commit 93c0525 into flipped-aurora:main Dec 19, 2024
8 checks passed
@huiyifyj huiyifyj deleted the fix-swag-query-log branch December 19, 2024 09:37
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.

2 participants