goctl-swagger icon indicating copy to clipboard operation
goctl-swagger copied to clipboard

[bug] the nested api does not support import

Open marsofsnow opened this issue 2 years ago • 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文件

marsofsnow avatar Oct 30 '22 12:10 marsofsnow

same issue :)))

phatvu1301 avatar Nov 02 '22 12:11 phatvu1301

same issue

yudan215 avatar Feb 16 '23 08:02 yudan215