API Swagger-Documentation
Swagger documentation.
The documentation of the API is available on /api/swagger/index.html
Example:
docker run -d --name core -p 8080:8080 datarhei/core:latestTo generate the API documentation from the code, use swag:
make init swagger
make runAfter 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.
Public demo:
Last updated
Was this helpful?
