This commit is contained in:
2023-06-04 15:18:17 -04:00
parent 2a54b5eb65
commit 4cf5cf352f
9 changed files with 55 additions and 64 deletions

View File

@@ -170,8 +170,8 @@ const docTemplate = `{
// SwaggerInfo holds exported Swagger Info so clients can modify it
var SwaggerInfo = &swag.Spec{
Version: "1.0",
Host: "durpapi.durp.info",
Version: "",
Host: "",
BasePath: "/api/v1",
Schemes: []string{},
Title: "DurpAPI",

View File

@@ -12,10 +12,8 @@
"license": {
"name": "Apache 2.0",
"url": "http://www.apache.org/licenses/LICENSE-2.0.html"
},
"version": "1.0"
}
},
"host": "durpapi.durp.info",
"basePath": "/api/v1",
"paths": {
"/health/getHealth": {

View File

@@ -1,5 +1,4 @@
basePath: /api/v1
host: durpapi.durp.info
info:
contact:
email: support@swagger.io
@@ -11,7 +10,6 @@ info:
url: http://www.apache.org/licenses/LICENSE-2.0.html
termsOfService: http://swagger.io/terms/
title: DurpAPI
version: "1.0"
paths:
/health/getHealth:
get: