aboutsummaryrefslogtreecommitdiff
path: root/docs/docs.go
diff options
context:
space:
mode:
Diffstat (limited to 'docs/docs.go')
-rw-r--r--docs/docs.go39
1 files changed, 39 insertions, 0 deletions
diff --git a/docs/docs.go b/docs/docs.go
new file mode 100644
index 0000000..b05b0ad
--- /dev/null
+++ b/docs/docs.go
@@ -0,0 +1,39 @@
1// Package docs GENERATED BY SWAG; DO NOT EDIT
2// This file was generated by swaggo/swag
3package docs
4
5import "github.com/swaggo/swag"
6
7const docTemplate = `{
8 "schemes": {{ marshal .Schemes }},
9 "swagger": "2.0",
10 "info": {
11 "description": "{{escape .Description}}",
12 "title": "{{.Title}}",
13 "contact": {},
14 "license": {
15 "name": "GNU General Public License, Version 2",
16 "url": "https://www.gnu.org/licenses/old-licenses/gpl-2.0.html"
17 },
18 "version": "{{.Version}}"
19 },
20 "host": "{{.Host}}",
21 "basePath": "{{.BasePath}}",
22 "paths": {}
23}`
24
25// SwaggerInfo holds exported Swagger Info so clients can modify it
26var SwaggerInfo = &swag.Spec{
27 Version: "1.0",
28 Host: "localhost:4000",
29 BasePath: "",
30 Schemes: []string{},
31 Title: "Least Portals Database API",
32 Description: "Backend API endpoints for Least Portals Database.",
33 InfoInstanceName: "swagger",
34 SwaggerTemplate: docTemplate,
35}
36
37func init() {
38 swag.Register(SwaggerInfo.InstanceName(), SwaggerInfo)
39}