From 8f8884d208a05f34e1575efcb5613cb3bf0e9b1e Mon Sep 17 00:00:00 2001 From: Kyle Mendell Date: Sat, 29 Mar 2025 16:55:47 -0500 Subject: [PATCH] refactor: add swagger title and version info (#399) --- backend/internal/bootstrap/router_bootstrap.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/backend/internal/bootstrap/router_bootstrap.go b/backend/internal/bootstrap/router_bootstrap.go index 6bb62023..31017999 100644 --- a/backend/internal/bootstrap/router_bootstrap.go +++ b/backend/internal/bootstrap/router_bootstrap.go @@ -16,6 +16,10 @@ import ( "gorm.io/gorm" ) +// @title Pocket ID API +// @version 1 +// @description API for Pocket ID + func initRouter(db *gorm.DB, appConfigService *service.AppConfigService) { // Set the appropriate Gin mode based on the environment switch common.EnvConfig.AppEnv {