This directory contains auto-generated Swagger/OpenAPI documentation.
To generate the Swagger documentation, run:
# Install swag CLI if not already installed
go install github.com/swaggo/swag/cmd/swag@latest
# Generate docs
swag init -g cmd/api/main.go -o docsOr use the Makefile:
make swaggerOnce the API is running, access the Swagger UI at:
http://localhost:8080/swagger/index.html
After generation, this directory will contain:
docs.go- Go documentation fileswagger.json- OpenAPI JSON specificationswagger.yaml- OpenAPI YAML specification
These files are auto-generated and should not be edited manually.