diff --git a/docs/v1_docs.go b/docs/v1_docs.go new file mode 100644 index 0000000..e118e9c --- /dev/null +++ b/docs/v1_docs.go @@ -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) +} diff --git a/docs/v1_swagger.json b/docs/v1_swagger.json new file mode 100644 index 0000000..44b71d0 --- /dev/null +++ b/docs/v1_swagger.json @@ -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": {} +} \ No newline at end of file diff --git a/docs/v1_swagger.yaml b/docs/v1_swagger.yaml new file mode 100644 index 0000000..31bb61b --- /dev/null +++ b/docs/v1_swagger.yaml @@ -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"