Skip to content

Commit

Permalink
readme: adjust flag
Browse files Browse the repository at this point in the history
  • Loading branch information
danielpoe committed May 25, 2020
1 parent fca3878 commit e72e13e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ $ swag init

Make sure to import the generated `docs/docs.go` so that your specific configuration gets `init`'ed. If your General API annotations do not live in `main.go`, you can let swag know with `-g` flag.
```sh
swag init --generalInfo=http/api.go
swag init -g http/api.go
```

## swag cli
Expand Down

0 comments on commit e72e13e

Please sign in to comment.