51 lines
1.2 KiB
Go
51 lines
1.2 KiB
Go
|
// 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}}",
|
||
|
"contact": {},
|
||
|
"version": "{{.Version}}"
|
||
|
},
|
||
|
"host": "{{.Host}}",
|
||
|
"basePath": "{{.BasePath}}",
|
||
|
"paths": {
|
||
|
"/ping": {
|
||
|
"get": {
|
||
|
"description": "asdf",
|
||
|
"consumes": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"produces": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"summary": "Test request",
|
||
|
"operationId": "ping",
|
||
|
"responses": {}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}`
|
||
|
|
||
|
// SwaggerInfo holds exported Swagger Info so clients can modify it
|
||
|
var SwaggerInfo = &swag.Spec{
|
||
|
Version: "",
|
||
|
Host: "",
|
||
|
BasePath: "",
|
||
|
Schemes: []string{},
|
||
|
Title: "",
|
||
|
Description: "",
|
||
|
InfoInstanceName: "swagger",
|
||
|
SwaggerTemplate: docTemplate,
|
||
|
}
|
||
|
|
||
|
func init() {
|
||
|
swag.Register(SwaggerInfo.InstanceName(), SwaggerInfo)
|
||
|
}
|