swagger
This commit is contained in:
40
docs/docs.go
Normal file
40
docs/docs.go
Normal 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)
|
||||
}
|
||||
15
docs/swagger.json
Normal file
15
docs/swagger.json
Normal file
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"swagger": "2.0",
|
||||
"info": {
|
||||
"description": "This is an astra-events service.",
|
||||
"title": "Astra Events",
|
||||
"contact": {
|
||||
"name": "Kirill Andrusyak",
|
||||
"email": "andrusyakka@dopcore.com"
|
||||
},
|
||||
"version": "1.0"
|
||||
},
|
||||
"host": "api.astra.dev.dop",
|
||||
"basePath": "/events",
|
||||
"paths": {}
|
||||
}
|
||||
11
docs/swagger.yaml
Normal file
11
docs/swagger.yaml
Normal file
@@ -0,0 +1,11 @@
|
||||
basePath: /events
|
||||
host: api.astra.dev.dop
|
||||
info:
|
||||
contact:
|
||||
email: andrusyakka@dopcore.com
|
||||
name: Kirill Andrusyak
|
||||
description: This is an astra-events service.
|
||||
title: Astra Events
|
||||
version: "1.0"
|
||||
paths: {}
|
||||
swagger: "2.0"
|
||||
Reference in New Issue
Block a user