mirror of https://github.com/beego/bee.git
3f35efce96
when use anonymous nested structures at @Param body,required stuct tag is invalid. struct define like follow: type StructA struct { Name string `json:"name" required:"true"` } type StructB struct { StructA } error: when use StructB in @Param,required struct tag is not generated in swagger.json. |
||
---|---|---|
.. | ||
swaggergen | ||
g.go | ||
g_appcode.go | ||
g_controllers.go | ||
g_hproseappcode.go | ||
g_migration.go | ||
g_model.go | ||
g_scaffold.go | ||
g_views.go | ||
gen_routes.go |