1Panel/cmd/server/docs/docs.go

41 lines
1.0 KiB
Go
Raw Normal View History

2022-08-16 23:30:23 +08:00
// Package docs GENERATED BY SWAG; DO NOT EDIT
// This file was generated by swaggo/swag
package docs
import "github.com/swaggo/swag"
const docTemplate = `{
"schemes": {{ marshal .Schemes }},
"swagger": "2.0",
"info": {
"description": "{{escape .Description}}",
"title": "{{.Title}}",
2022-12-14 19:39:32 +08:00
"termsOfService": "http://swagger.io/terms/",
2022-08-16 23:30:23 +08:00
"contact": {},
2022-12-14 19:39:32 +08:00
"license": {
"name": "Apache 2.0",
"url": "http://www.apache.org/licenses/LICENSE-2.0.html"
},
2022-08-16 23:30:23 +08:00
"version": "{{.Version}}"
},
"host": "{{.Host}}",
"basePath": "{{.BasePath}}",
"paths": {}
}`
// SwaggerInfo holds exported Swagger Info so clients can modify it
var SwaggerInfo = &swag.Spec{
2022-12-14 19:39:32 +08:00
Version: "1.0",
Host: "localhost",
BasePath: "/api/v1",
2022-08-16 23:30:23 +08:00
Schemes: []string{},
2022-12-14 19:39:32 +08:00
Title: "1Panel",
Description: "开源Linux面板",
2022-08-16 23:30:23 +08:00
InfoInstanceName: "swagger",
SwaggerTemplate: docTemplate,
}
func init() {
swag.Register(SwaggerInfo.InstanceName(), SwaggerInfo)
}