chore: refreshed docs

This commit is contained in:
2025-06-18 21:31:39 +03:00
parent c787fa929b
commit fed517f905
4 changed files with 15 additions and 15 deletions

View File

@@ -1,3 +1,15 @@
// @title Easywish client API
// @version 1.0
// @description Easy and feature-rich wishlist.
// @license.name GPL 3.0
// @BasePath /api/
// @Schemes http
// @securityDefinitions.apikey JWT
// @in header
// @name Authorization
package main
import (
@@ -23,18 +35,6 @@ func main() {
r := gin.Default()
r = routes.SetupRoutes(r)
// @title Easywish client API
// @version 1.0
// @description Easy and feature-rich wishlist.
// @license.name GPL 3.0
// @BasePath /api/
// @Schemes http
// @securityDefinitions.apikey JWT
// @in header
// @name Authorization
docs.SwaggerInfo.Schemes = []string{"http"}
r.GET("/swagger/*any", ginSwagger.WrapHandler(swaggerfiles.Handler))