first commit

This commit is contained in:
RedokPaw
2024-07-03 21:30:49 +03:00
commit aaf436b992
16 changed files with 361 additions and 0 deletions
+36
View File
@@ -0,0 +1,36 @@
// Package docs Code generated by swaggo/swag. DO NOT EDIT
package docs
import "github.com/swaggo/swag"
const docTemplate = `{
"schemes": {{ marshal .Schemes }},
"swagger": "2.0",
"info": {
"description": "{{escape .Description}}",
"title": "{{.Title}}",
"contact": {},
"version": "{{.Version}}"
},
"host": "{{.Host}}",
"basePath": "{{.BasePath}}",
"paths": {}
}`
// SwaggerInfo holds exported Swagger Info so clients can modify it
var SwaggerInfo = &swag.Spec{
Version: "1.0",
Host: "localhost:8080",
BasePath: "/",
Schemes: []string{},
Title: "Vyatsu",
Description: "",
InfoInstanceName: "swagger",
SwaggerTemplate: docTemplate,
LeftDelim: "{{",
RightDelim: "}}",
}
func init() {
swag.Register(SwaggerInfo.InstanceName(), SwaggerInfo)
}
+11
View File
@@ -0,0 +1,11 @@
{
"swagger": "2.0",
"info": {
"title": "Vyatsu",
"contact": {},
"version": "1.0"
},
"host": "localhost:8080",
"basePath": "/",
"paths": {}
}
+8
View File
@@ -0,0 +1,8 @@
basePath: /
host: localhost:8080
info:
contact: {}
title: Vyatsu
version: "1.0"
paths: {}
swagger: "2.0"