Skip to content

Commit 26b75d2

Browse files
authored
suppress deprecation message during swag install (#59)
1 parent c536507 commit 26b75d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ echo middleware to automatically generate RESTful API documentation with Swagger
1414
1. Add comments to your API source code, [See Declarative Comments Format](https://github.com/swaggo/swag#declarative-comments-format).
1515
2. Download [Swag](https://github.com/swaggo/swag) for Go by using:
1616
```sh
17-
$ go get github.com/swaggo/swag/cmd/swag
17+
$ go get -d github.com/swaggo/swag/cmd/swag
1818
```
1919
3. Run the [Swag](https://github.com/swaggo/swag) in your Go project root folder which contains `main.go` file, [Swag](https://github.com/swaggo/swag) will parse comments and generate required files(`docs` folder and `docs/doc.go`).
2020
```sh_ "github.com/swaggo/echo-swagger/v2/example/docs"

0 commit comments

Comments
 (0)