// GENERATED BY THE COMMAND ABOVE; DO NOT EDIT // This file was generated by swaggo/swag at // 2018-12-06 14:50:03.319606427 +0100 CET m=+0.045602630 package docs import ( "bytes" "github.com/alecthomas/template" "github.com/swaggo/swag" ) var doc = `{ "swagger": "2.0", "info": { "description": "{{.Description}}", "title": "Sofaraum Server API", "contact": {}, "license": { "name": "GPLv3" }, "version": "{{.Version}}" }, "host": "{{.Host}}", "basePath": "/api/v1", "paths": {}, "securityDefinitions": { "ApiKeyAuth": { "type": "apiKey", "name": "Authorization", "in": "header" } } }` type swaggerInfo struct { Version string Host string BasePath string Title string Description string } // SwaggerInfo holds exported Swagger Info so clients can modify it var SwaggerInfo swaggerInfo type s struct{} func (s *s) ReadDoc() string { t, err := template.New("swagger_info").Parse(doc) if err != nil { return doc } var tpl bytes.Buffer if err := t.Execute(&tpl, SwaggerInfo); err != nil { return doc } return tpl.String() } func init() { swag.Register(swag.Name, &s{}) }