swaggo / swag

Automatically generate RESTful API documentation with Swagger 2.0 for Go.
MIT License
10.24k stars 1.17k forks source link

fix issue: #1780: filter $GOROOT path #1827

Closed bobsongplus closed 1 month ago

bobsongplus commented 1 month ago

Describe the PR the path filter will filter out the code path in this scenario: the $GOROOT path is "~/development/go" and the code path is "~/development/golang/src/github.com/xxxx"

Relation issue https://github.com/swaggo/swag/issues/1780 Additional context the limitation may need to be written into documentation.