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
package model
typeMapJSON[Kcomparable, Vany] map[K]VtypeWorkloadstruct {
TagsMapJSON[string, string]
}
package api
// GetWorkLoad godoc// @Success 200 {object} model.WorkloadfuncGetWorkLoad(c*gin.Context) {}
Run swag init report error:
...
2023/03/22 10:26:43 Generating model.Workload
2023/03/22 10:26:43 Generating model.MapJSON-string-string
2023/03/22 10:26:43 Error parsing type definition 'model.MapJSON-string-string': cannot find type definition: V
2023/03/22 10:26:43 Error parsing type definition 'model.Workload': cannot find type definition: V
2023/03/22 10:26:43 ParseComment error in file <file.go> :cannot find type definition: V
Your swag version
1.8.11
Your go version
go1.18.5 darwin/arm64
Desktop (please complete the following information):
Chipset: Apple M1
Version: MacOS Ventura 13.0
The text was updated successfully, but these errors were encountered:
Describe the bug
go file:
Run
swag init
report error:Your swag version
1.8.11
Your go version
go1.18.5 darwin/arm64
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: