Delta Swagger Generator is a tool that generates swagger documentation for the Delta APIs.
make generate-swagger
The above command will do the following:
- scan the
./api
directory for all the*.go
files starting with router.go - scan all the annotations on the handlers
- generate the swagger documentation in
./docs/swagger/swagger.yaml
- To check the generate swagger doc (json), go to http://localhost:1414/swagger/doc.json
- To check the swagger ui, go to http://localhost:1414/swagger/index.html