diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index cd69306a3..29209dcbf 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -489,7 +489,7 @@ You can install go-swagger following the instructions [here](https://goswagger.i If you change Swagger annotations on any of the API paths, you can generate a new Swagger file at `./docs/api/swagger.yaml` by running: ```bash -swagger generate spec --scan-models --exclude-deps -o docs/api/swagger.yaml +go run github.com/go-swagger/go-swagger/cmd/swagger generate spec --scan-models --exclude-deps --output docs/api/swagger.yaml ``` ### CI/CD configuration