mirror of
https://github.com/bbernhard/signal-cli-rest-api.git
synced 2026-01-26 19:03:33 +00:00
637 B
637 B
These files are generated from the swaggo/swag tool.
To regenerate them, run in /src:
docker run --rm -v $(pwd):/code ghcr.io/swaggo/swag:latest init
Or, if you have swag installed:
swag init
Then run the app in /src
go run main.go
Or with docker compose in the root of the repository
docker compose up
Then navigate to the following address to view the docs
http://127.0.0.1:8080/swagger/index.html
On docker you'll get a Network error, replace the IP for the docker internal IP in the error, e.g: