github.com/kaisawind/go-swagger@v0.19.0/docs/usage/swagger.md (about) 1 ``` 2 Usage: 3 swagger [OPTIONS] <command> 4 5 Swagger tries to support you as best as possible when building APIs. 6 7 It aims to represent the contract of your API with a language agnostic description of your application in json or yaml. 8 9 10 Application Options: 11 -q, --quiet silence logs 12 -o, --output=LOG-FILE redirect logs to file 13 14 Help Options: 15 -h, --help Show this help message 16 17 Available commands: 18 expand expand $ref fields in a swagger spec 19 flatten flattens a swagger document 20 generate generate go code 21 init initialize a spec document 22 mixin merge swagger documents 23 serve serve spec and docs 24 validate validate the swagger document 25 version print the version 26 ```