File tree Expand file tree Collapse file tree 1 file changed +6
-8
lines changed
Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Original file line number Diff line number Diff line change 1- ## Golang Api Gin Gonic
2- Build API Auths, and Books User Use JWT, SQL, GIN GONIC
3-
4- ### Generate API DOCS
5- pull swagger repo
1+ # Golang Api Gin Gonic
2+ #### Generate API Docs
3+ get swagger golang
64
75 $ go get -v github.com/swaggo/swag/cmd/swag
86 $ go get -v github.com/swaggo/gin-swagger
97 $ go get -v github.com/swaggo/files
108
119 Generate
12- swag init -g main.go_files
10+ swag init -g app.go
1311
1412 docs api :
1513 http://localhost:8080/swagger/index.html#
1614
17- ### API Docs by Postman
15+ #### API Docs by Postman
1816 https://documenter.getpostman.com/view/6097899/UVsLT7LB
1917
20- ### List Docs API
18+ #### List Docs Open API
2119![ GOREST] ( https://github.com/mftakhullaziz/gorest/blob/master/api_documentation/api.png )
You can’t perform that action at this time.
0 commit comments