To generate the API documentation from the code, use swag:
make init swagger
make run
After the first command the swagger definition can be found at docs/swagger.json or docs/swagger.yaml.
The second command will build the core binary and start it. With the default configuration, the Swagger UI is available at http://localhost:8080/api/swagger/index.html.