chore: refreshed docs
This commit is contained in:
@@ -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))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user