Auto generated swagger documentation
This commit is contained in:
parent
1bb2717312
commit
04acd241d7
43
docs/v1_docs.go
Normal file
43
docs/v1_docs.go
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
// Package docs Code generated by swaggo/swag. DO NOT EDIT
|
||||||
|
package docs
|
||||||
|
|
||||||
|
import "github.com/swaggo/swag"
|
||||||
|
|
||||||
|
const docTemplatev1 = `{
|
||||||
|
"schemes": {{ marshal .Schemes }},
|
||||||
|
"swagger": "2.0",
|
||||||
|
"info": {
|
||||||
|
"description": "{{escape .Description}}",
|
||||||
|
"title": "{{.Title}}",
|
||||||
|
"contact": {
|
||||||
|
"name": "repository",
|
||||||
|
"url": "https://git.supernets.org/perp/gopay"
|
||||||
|
},
|
||||||
|
"license": {
|
||||||
|
"name": "Apache 2.0",
|
||||||
|
"url": "http://www.apache.org/licenses/LICENSE-2.0.htm"
|
||||||
|
},
|
||||||
|
"version": "{{.Version}}"
|
||||||
|
},
|
||||||
|
"host": "{{.Host}}",
|
||||||
|
"basePath": "{{.BasePath}}",
|
||||||
|
"paths": {}
|
||||||
|
}`
|
||||||
|
|
||||||
|
// SwaggerInfov1 holds exported Swagger Info so clients can modify it
|
||||||
|
var SwaggerInfov1 = &swag.Spec{
|
||||||
|
Version: "1.0",
|
||||||
|
Host: "",
|
||||||
|
BasePath: "",
|
||||||
|
Schemes: []string{},
|
||||||
|
Title: "GoPay API v1",
|
||||||
|
Description: "GoPay is a cryptocurrency payment processor made in Go",
|
||||||
|
InfoInstanceName: "v1",
|
||||||
|
SwaggerTemplate: docTemplatev1,
|
||||||
|
LeftDelim: "{{",
|
||||||
|
RightDelim: "}}",
|
||||||
|
}
|
||||||
|
|
||||||
|
func init() {
|
||||||
|
swag.Register(SwaggerInfov1.InstanceName(), SwaggerInfov1)
|
||||||
|
}
|
17
docs/v1_swagger.json
Normal file
17
docs/v1_swagger.json
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
{
|
||||||
|
"swagger": "2.0",
|
||||||
|
"info": {
|
||||||
|
"description": "GoPay is a cryptocurrency payment processor made in Go",
|
||||||
|
"title": "GoPay API v1",
|
||||||
|
"contact": {
|
||||||
|
"name": "repository",
|
||||||
|
"url": "https://git.supernets.org/perp/gopay"
|
||||||
|
},
|
||||||
|
"license": {
|
||||||
|
"name": "Apache 2.0",
|
||||||
|
"url": "http://www.apache.org/licenses/LICENSE-2.0.htm"
|
||||||
|
},
|
||||||
|
"version": "1.0"
|
||||||
|
},
|
||||||
|
"paths": {}
|
||||||
|
}
|
12
docs/v1_swagger.yaml
Normal file
12
docs/v1_swagger.yaml
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
info:
|
||||||
|
contact:
|
||||||
|
name: repository
|
||||||
|
url: https://git.supernets.org/perp/gopay
|
||||||
|
description: GoPay is a cryptocurrency payment processor made in Go
|
||||||
|
license:
|
||||||
|
name: Apache 2.0
|
||||||
|
url: http://www.apache.org/licenses/LICENSE-2.0.htm
|
||||||
|
title: GoPay API v1
|
||||||
|
version: "1.0"
|
||||||
|
paths: {}
|
||||||
|
swagger: "2.0"
|
Loading…
Reference in New Issue
Block a user