mrzack99s / cloud-coco

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

API

Pre-requisite

  1. Go Version 1.17.x

How to use

How to install package

go get -u github.com/swaggo/swag/cmd/swag
go get -u github.com/swaggo/gin-swagger
go get -u github.com/swaggo/files
go install ./coco

How to generate-api-docs

swag init --pd --parseDepth 1 -g ./coco/launch.go

How to generate-ts

npx swagger-typescript-api -p ./docs/swagger.json -o <ui destination>  --axios

How to serve

go run ./coco

About

License:Apache License 2.0


Languages

Language:TypeScript 48.4%Language:Go 47.8%Language:CSS 2.3%Language:HTML 0.9%Language:Batchfile 0.6%