From 3e10a3542f70f23313fc6a43c41aaca518e3d344 Mon Sep 17 00:00:00 2001 From: Arda Serdar Pektezol <1669855+pektezol@users.noreply.github.com> Date: Thu, 13 Apr 2023 01:28:48 +0300 Subject: doc: swagger init for login and user routes (#34) --- main.go | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'main.go') diff --git a/main.go b/main.go index 77a05d5..d0e55a6 100644 --- a/main.go +++ b/main.go @@ -13,15 +13,15 @@ import ( _ "github.com/pektezol/leastportals/docs" ) -// @title Least Portals Database API -// @version 1.0 -// @description Backend API endpoints for Least Portals Database. +// @title Least Portals Database API +// @version 1.0 +// @description Backend API endpoints for Least Portals Database. -// @license.name GNU General Public License, Version 2 -// @license.url https://www.gnu.org/licenses/old-licenses/gpl-2.0.html +// @license.name GNU General Public License, Version 2 +// @license.url https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -// @host localhost:4000 -// @BasePath +// @host localhost:4000/api +// @BasePath /v1 func main() { if os.Getenv("ENV") == "PROD" { gin.SetMode(gin.ReleaseMode) -- cgit v1.2.3