zeromicro/goctl-swagger

[bug] the nested api does not support import

marsofsnow opened this issue · 2 comments

我在A.api定义
type (
Item {
Id string json:"id"
}
)

Bug场景:
然后我在B.api使用A中的Item
最后,我在main.api中导入A.api,B.api;
main.api作为总的api管理A.api和B.api
这时会报the nested api does not support import

正常的场景:
我在B.api不使用A中的Item
而在main.api中用A中的Item,
main.api 导入A.api,B.api.
main.api作为总的api管理A.api和B.api
这时能正常生成swagger.json文件

same issue :)))

same issue