Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 709 Bytes

generate-swagger.md

File metadata and controls

18 lines (13 loc) · 709 Bytes

Delta Swagger Generator

Delta Swagger Generator is a tool that generates swagger documentation for the Delta APIs.

How to run the generator

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

Check swagger docs using /swagger endpoint.