Skip to content

Commit

Permalink
update api documentation and improve add api get all
Browse files Browse the repository at this point in the history
  • Loading branch information
mftakhullaziz committed Mar 15, 2022
1 parent 79d6c77 commit 728409c
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,14 @@
Build API Auths, and Books User Use JWT, SQL, GIN GONIC

# Generate API DOCS
pull swagger repo
pull swagger repo

$ go get -v github.com/swaggo/swag/cmd/swag
$ go get -v github.com/swaggo/gin-swagger
$ go get -v github.com/swaggo/files
$ go get -v github.com/swaggo/swag/cmd/swag
$ go get -v github.com/swaggo/gin-swagger
$ go get -v github.com/swaggo/files

Generate
swag init -g main.go_files
Generate
swag init -g main.go_files

docs api :
http://localhost:8080/swagger/index.html#

0 comments on commit 728409c

Please # to comment.