From af0473d6d8fd4c8443a6cc493d95e7efa67e5923 Mon Sep 17 00:00:00 2001 From: pnwmatt <180812017+pnwmatt@users.noreply.github.com> Date: Thu, 6 Feb 2025 19:04:57 -0800 Subject: [PATCH] Update the swagger command to mimic test/swagger.sh --- CONTRIBUTING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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