borgmatic-monitor/docs/docs.go
2026-02-24 22:12:46 +01:00

80 lines
2.1 KiB
Go

// 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": {
"/api/v1/borgmatic/infos": {
"post": {
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"summary": "Create a borgmatic infos",
"parameters": [
{
"description": "Object",
"name": "request",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/api.BorgmaticInfos"
}
}
],
"responses": {
"200": {
"description": "OK"
},
"400": {
"description": "Bad Request"
}
}
}
}
},
"definitions": {
"api.BorgmaticInfos": {
"type": "object",
"properties": {
"hostname": {
"type": "string"
},
"infos": {
"type": "string"
}
}
}
}
}`
// 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,
LeftDelim: "{{",
RightDelim: "}}",
}
func init() {
swag.Register(SwaggerInfo.InstanceName(), SwaggerInfo)
}