Created
This commit is contained in:
42
apidocs/docs.go
Normal file
42
apidocs/docs.go
Normal file
@@ -0,0 +1,42 @@
|
||||
// Package apidocs Code generated by swaggo/swag. DO NOT EDIT
|
||||
package apidocs
|
||||
|
||||
import "github.com/swaggo/swag"
|
||||
|
||||
const docTemplate = `{
|
||||
"schemes": {{ marshal .Schemes }},
|
||||
"swagger": "2.0",
|
||||
"info": {
|
||||
"description": "{{escape .Description}}",
|
||||
"title": "{{.Title}}",
|
||||
"contact": {
|
||||
"name": "Lars Scheibling",
|
||||
"email": "it@scheibling.se"
|
||||
},
|
||||
"license": {
|
||||
"name": "AGPLv3"
|
||||
},
|
||||
"version": "{{.Version}}"
|
||||
},
|
||||
"host": "{{.Host}}",
|
||||
"basePath": "{{.BasePath}}",
|
||||
"paths": {}
|
||||
}`
|
||||
|
||||
// SwaggerInfo holds exported Swagger Info so clients can modify it
|
||||
var SwaggerInfo = &swag.Spec{
|
||||
Version: "0.1",
|
||||
Host: "",
|
||||
BasePath: "/",
|
||||
Schemes: []string{},
|
||||
Title: "Template API",
|
||||
Description: "# Introduction\nIntroduction to the API, included in the swagger docs",
|
||||
InfoInstanceName: "swagger",
|
||||
SwaggerTemplate: docTemplate,
|
||||
LeftDelim: "{{",
|
||||
RightDelim: "}}",
|
||||
}
|
||||
|
||||
func init() {
|
||||
swag.Register(SwaggerInfo.InstanceName(), SwaggerInfo)
|
||||
}
|
||||
17
apidocs/swagger.json
Normal file
17
apidocs/swagger.json
Normal file
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"swagger": "2.0",
|
||||
"info": {
|
||||
"description": "# Introduction\nIntroduction to the API, included in the swagger docs",
|
||||
"title": "Template API",
|
||||
"contact": {
|
||||
"name": "Lars Scheibling",
|
||||
"email": "it@scheibling.se"
|
||||
},
|
||||
"license": {
|
||||
"name": "AGPLv3"
|
||||
},
|
||||
"version": "0.1"
|
||||
},
|
||||
"basePath": "/",
|
||||
"paths": {}
|
||||
}
|
||||
14
apidocs/swagger.yaml
Normal file
14
apidocs/swagger.yaml
Normal file
@@ -0,0 +1,14 @@
|
||||
basePath: /
|
||||
info:
|
||||
contact:
|
||||
email: it@scheibling.se
|
||||
name: Lars Scheibling
|
||||
description: |-
|
||||
# Introduction
|
||||
Introduction to the API, included in the swagger docs
|
||||
license:
|
||||
name: AGPLv3
|
||||
title: Template API
|
||||
version: "0.1"
|
||||
paths: {}
|
||||
swagger: "2.0"
|
||||
Reference in New Issue
Block a user