mirror of
https://github.com/grassrootseconomics/cic-custodial.git
synced 2024-11-25 15:26:46 +01:00
67 lines
1.8 KiB
Go
67 lines
1.8 KiB
Go
|
// 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}}",
|
||
|
"termsOfService": "https://grassecon.org/pages/terms-and-conditions.html",
|
||
|
"contact": {
|
||
|
"name": "API Support",
|
||
|
"url": "https://grassecon.org/pages/contact-us",
|
||
|
"email": "devops@grassecon.org"
|
||
|
},
|
||
|
"license": {
|
||
|
"name": "AGPL-3.0",
|
||
|
"url": "https://www.gnu.org/licenses/agpl-3.0.en.html"
|
||
|
},
|
||
|
"version": "{{.Version}}"
|
||
|
},
|
||
|
"host": "{{.Host}}",
|
||
|
"basePath": "{{.BasePath}}",
|
||
|
"paths": {
|
||
|
"/": {
|
||
|
"post": {
|
||
|
"description": "Create a new custodial account.",
|
||
|
"consumes": [
|
||
|
"*/*"
|
||
|
],
|
||
|
"produces": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"summary": "Create a new custodial account.",
|
||
|
"responses": {
|
||
|
"200": {
|
||
|
"description": "OK",
|
||
|
"schema": {
|
||
|
"type": "object",
|
||
|
"additionalProperties": true
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}`
|
||
|
|
||
|
// SwaggerInfo holds exported Swagger Info so clients can modify it
|
||
|
var SwaggerInfo = &swag.Spec{
|
||
|
Version: "1.0",
|
||
|
Host: "",
|
||
|
BasePath: "/api",
|
||
|
Schemes: []string{},
|
||
|
Title: "CIC Custodial API",
|
||
|
Description: "Interact with CIC Custodial API",
|
||
|
InfoInstanceName: "swagger",
|
||
|
SwaggerTemplate: docTemplate,
|
||
|
}
|
||
|
|
||
|
func init() {
|
||
|
swag.Register(SwaggerInfo.InstanceName(), SwaggerInfo)
|
||
|
}
|