You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
github.com/swaggo/swag v1.6.6", but short command options almost undefined, such as -g:
swag init -g cmd/main.go
Incorrect Usage: flag provided but not defined: -g
NAME:
swag init - Create docs.go
USAGE:
swag init [command options] [arguments...]
OPTIONS:
--generalInfo value Go file path in which 'swagger general API Info' is written (default: "main.go")
--dir value Directory you want to parse (default: "./")
--exclude value exclude directories and files when searching, comma separated
--propertyStrategy value Property Naming Strategy like snakecase,camelcase,pascalcase (default: "camelcase")
--output value Output directory for all the generated files(swagger.json, swagger.yaml and doc.go) (default: "./docs")
--parseVendor Parse go files in 'vendor' folder, disabled by default (default: false)
--parseDependency Parse go files in outside dependency folder, disabled by default (default: false)
--markdownFiles value Parse folder containing markdown files to use as description, disabled by default
--generatedTime Generate timestamp at the top of docs.go, true by default (default: false)
--help, -h show help (default: false)
2020/05/21 09:54:52 flag provided but not defined: -g
The text was updated successfully, but these errors were encountered:
github.com/swaggo/swag v1.6.6", but short command options almost undefined, such as -g:
swag init -g cmd/main.go
The text was updated successfully, but these errors were encountered: