diff --git a/README.md b/README.md index 2820ff2..9768c1d 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ gin middleware to automatically generate RESTful API documentation with Swagger ## Usage ### Start using it -1. Add comments to your API source code, [See Declarative Comments Format](https://github.com/swaggo/swag#declarative-comments-format). +1. Add comments to your API source code, [See Declarative Comments Format](https://swaggo.github.io/swaggo.io/declarative_comments_format/). 2. Download [Swag](https://github.com/swaggo/swag) for Go by using: ```sh $ go get github.com/swaggo/swag/cmd/swag diff --git a/example/api/api.go b/example/api/api.go index 23198f4..036e0d9 100644 --- a/example/api/api.go +++ b/example/api/api.go @@ -3,7 +3,7 @@ package api import ( "fmt" "github.com/gin-gonic/gin" - "github.com/swaggo/swag/example/simple/web" + "github.com/swaggo/swag/example/basic/web" ) //