refactor: add swagger title and version info (#399)

This commit is contained in:
Kyle Mendell
2025-03-29 16:55:47 -05:00
committed by GitHub
parent 583a1f8fee
commit 8f8884d208

View File

@@ -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 {