mirror of
https://github.com/beego/bee.git
synced 2024-11-14 06:40:54 +00:00
Merge branch 'master' into develop
This commit is contained in:
commit
6cd9d12fbe
@ -866,6 +866,10 @@ func getModel(str string) (objectname string, m swagger.Schema, realTypes []stri
|
||||
if k != objectname {
|
||||
continue
|
||||
}
|
||||
// check package
|
||||
if len(strs) > 1 && pkg.Name != strs[len(strs)-2] {
|
||||
continue
|
||||
}
|
||||
packageName = pkg.Name
|
||||
parseObject(d, k, &m, &realTypes, astPkgs, pkg.Name)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user