Open 0xdeface opened 2 years ago
This is a well know issue that never got fixed. It's related to having the same package name too many times.
An untested workaround may be to alias all the imports for domain
packages with a unique alias.
I remember I fixed it one or two years ago
Describe the bug Project structure. i have many small apps with own entity and uc, simply look like products -- domain ----- entity ------- products.go brands -- domain ----- entity ------- brands.go salepoint -- domain ----- entity ------- salepoint.go
products.go (bellow)
only one field (without alias) can be found during parsing.
in other layer i have
Expected behavior generate api schema
Screenshots screenshot
Your swag version e.g. 1.8.4
Your go version e.g. 1.19.0
Desktop (please complete the following information):