This commit is contained in:
kandrusyak
2023-07-16 23:31:57 +03:00
parent 454c9bc82e
commit 2916a50336
8 changed files with 226 additions and 7 deletions

40
docs/docs.go Normal file
View File

@@ -0,0 +1,40 @@
// 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": {
"name": "Kirill Andrusyak",
"email": "andrusyakka@dopcore.com"
},
"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: "api.astra.dev.dop",
BasePath: "/events",
Schemes: []string{},
Title: "Astra Events",
Description: "This is an astra-events service.",
InfoInstanceName: "swagger",
SwaggerTemplate: docTemplate,
LeftDelim: "{{",
RightDelim: "}}",
}
func init() {
swag.Register(SwaggerInfo.InstanceName(), SwaggerInfo)
}