From 949d691ef7811498fb5793ff196e81d1238bd1eb Mon Sep 17 00:00:00 2001 From: perp Date: Sun, 2 Jun 2024 14:06:39 +0100 Subject: [PATCH] Added swag generation command help --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 725341a..3e7d071 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,11 @@ GoPay is a cryptocurrency payment processor made in Go ## This project is a work in progress +## Generate Swagger documentation +``` +swag i -g v1.go -dir internal/router/api/v1 --instanceName v1 +``` + ## Credits Thanks to [MoneroPay](https://github.com/moneropay/moneropay/) for the inspiration