We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
hi, 如题
一个get请求,参数类型为int数组,使用swag是,@param如何写 type ParamTypeIds struct { TypeIds []int json:"typeIds" } 这种类型的参数,如何写@param
json:"typeIds"
我自己写的是
// @param default query controllers.ParamTypeIds true "get data type by id"
但是在页面上请求会报错. 我在swag的issue和swaggo的API Operation文档里也没找到例子该如何写
麻烦您给指点一下,谢谢
The text was updated successfully, but these errors were encountered:
No branches or pull requests
hi, 如题
一个get请求,参数类型为int数组,使用swag是,@param如何写
type ParamTypeIds struct {
TypeIds []int
json:"typeIds"
}
这种类型的参数,如何写@param
我自己写的是
// @param default query controllers.ParamTypeIds true "get data type by id"
但是在页面上请求会报错.
我在swag的issue和swaggo的API Operation文档里也没找到例子该如何写
麻烦您给指点一下,谢谢
The text was updated successfully, but these errors were encountered: