New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cannot find all dependencies, <nil> #1232
Comments
I have no clue what the issue is. We need a way to reproduce the error in order to fix it. |
@ubogdan @pytimer I also have same issue with @rowdyroad
For me I'm using echo and for the I didn't look into #1108 well, but.. seems direct call of
|
You can try setting Can you support some code to reproduce the error? |
Error is an interface. It consists of two pointers: type pointer and data pointer It's equal to nil if only both pointers is nil fmt.Errorf returns |
Describe the bug
swag init --parseDependency --parseInternal --parseDepth 5 --output docs/client -g cmd/client/main.go --exclude=internal/apps/crm,internal/apps/api
2022/06/16 14:15:28 Generate general API Info, search dir:./
2022/06/16 14:15:28 Generate swagger docs....
2022/06/16 14:15:28 warning: failed to get package name in dir: ./, error: execute go list command, exit status 1, stdout:, stderr:no Go files in /app
2022/06/16 14:15:40 pkg /app/cmd/client cannot find all dependencies,
To Reproduce
swag init --parseDependency --parseInternal --parseDepth 5 --output docs/client -g cmd/client/main.go --exclude=internal/apps/crm,internal/apps/api
Expected behavior
swagger docs
Your swag version
1.8.3
Your go version
1.18
Desktop (please complete the following information):
Ubuntu 22.04
Additional context
Downgrade to 1.8.2 solve the problem
The text was updated successfully, but these errors were encountered: