You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// @Param includeSections formData []string true "The ID of selected sections, empty for all sections"
and I execute swag init. It will raise error
2023/07/19 16:39:21 Generate swagger docs....
2023/07/19 16:39:21 Generate general API Info, search dir:./
2023/07/19 16:39:21 ParseComment error in file internal/routers/api/v1/ip_handler.go :string is not supported type for formData
If I move this param into query
// @Param includeSections query []string true "The ID of selected sections, empty for all sections"
It will be ok.
Can I have solution for it ?
I want to take it as a formData.
The text was updated successfully, but these errors were encountered:
I have this annotation
// @Param includeSections formData []string true "The ID of selected sections, empty for all sections"
and I execute
swag init
. It will raise errorIf I move this param into query
// @Param includeSections query []string true "The ID of selected sections, empty for all sections"
It will be ok.
Can I have solution for it ?
I want to take it as a formData.
The text was updated successfully, but these errors were encountered: