mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-12-27 07:36:16 -06:00
Update the swagger command to mimic test/swagger.sh
This commit is contained in:
parent
9dc1ecbec9
commit
af0473d6d8
1 changed files with 1 additions and 1 deletions
|
|
@ -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:
|
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
|
```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
|
### CI/CD configuration
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue