From c7db7d015ad64aaf8ea9f088980b660547793a94 Mon Sep 17 00:00:00 2001 From: Valentin REVERSAT Date: Sat, 30 Sep 2023 09:35:43 +0000 Subject: [PATCH] chore(Makefile): add swag doc generation --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index e701553..5a86bae 100644 --- a/Makefile +++ b/Makefile @@ -62,6 +62,10 @@ coverage: doc: godoc -http=:6060 +# Generate Swagger config +swag: + swag init -d ./internal/api,./ -g router.go + # Perform a full code quality check (lint, tests, coverage) check: lint test coverage