-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Swag generate empty path #1780
Comments
Same issue here! Your swag version Your go version Desktop (please complete the following information): OS: Ubuntu |
I also have the same issue and make some deep digs. I found that if your code path is in $ROOT or the path prefix is $ROOT, will filter out the source code. |
bobsongplus
added a commit
to bobsongplus/swag
that referenced
this issue
Jun 14, 2024
Signed-off-by: song <[email protected]>
sdghchj
pushed a commit
that referenced
this issue
Jun 21, 2024
Signed-off-by: song <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
generate empty path, but in v1.8.2, it's ok
To Reproduce
Steps to reproduce the behavior:
Screenshots
![image](https://private-user-images.githubusercontent.com/53209252/318054600-7526e451-9f22-4f37-b66d-4b47c497990e.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk4NDU3MjQsIm5iZiI6MTcxOTg0NTQyNCwicGF0aCI6Ii81MzIwOTI1Mi8zMTgwNTQ2MDAtNzUyNmU0NTEtOWYyMi00ZjM3LWI2NmQtNGI0N2M0OTc5OTBlLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MDElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzAxVDE0NTAyNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWZjNzE3MzI0N2E1ZWYxZjQzODcwMWZmYzYyZGRkY2NjNWQwNDBlMzk4NmU0NWVjODBjZjg5Yjc5ZjJhODBjNGQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.86GJE7_ZJ4wvu88v1Opw01LAIb7HbRoAiJGVhmvyW_g)
:
![image](https://private-user-images.githubusercontent.com/53209252/318055113-60352503-c450-4a0e-b187-7ece884c281d.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk4NDU3MjQsIm5iZiI6MTcxOTg0NTQyNCwicGF0aCI6Ii81MzIwOTI1Mi8zMTgwNTUxMTMtNjAzNTI1MDMtYzQ1MC00YTBlLWIxODctN2VjZTg4NGMyODFkLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MDElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzAxVDE0NTAyNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWZiNzZkMDcxZWJkYWRkMTc2ZWI1NTc5NWMyNzAyYmQ1MTdkZDA3ZjNkOWRlMjc0MGNlMDYxODZlYWIzOGI1OTImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.2g4_JCLabASnSPvE709vtZ8rU0Za0HTC_nmmEIWQN94)
project tree:
handler comment:
Your swag version
1.16.3
Your go version
1.21.4
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: