From 82a88f84330216c38fa929b433937a9d624608b4 Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Mon, 6 Jan 2020 23:50:12 -0500 Subject: [PATCH] Fix incorrect port in swagger docs --- docs/manuals/swagger.json | 2 +- gen-api-doc.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/manuals/swagger.json b/docs/manuals/swagger.json index 050ffd93..5436751a 100644 --- a/docs/manuals/swagger.json +++ b/docs/manuals/swagger.json @@ -1073,7 +1073,7 @@ "type": "object" } }, - "host": "pvc.local:7570", + "host": "pvc.local:7370", "info": { "title": "PVC Client and Provisioner API", "version": "1.0" diff --git a/gen-api-doc.py b/gen-api-doc.py index 5bd4b8c4..7ece4461 100755 --- a/gen-api-doc.py +++ b/gen-api-doc.py @@ -19,7 +19,7 @@ swagger_file = "docs/manuals/swagger.json" swagger_data = swagger(pvc_api.app) swagger_data['info']['version'] = "1.0" swagger_data['info']['title'] = "PVC Client and Provisioner API" -swagger_data['host'] = "pvc.local:7570" +swagger_data['host'] = "pvc.local:7370" with open(swagger_file, 'w') as fd: fd.write(json.dumps(swagger_data, sort_keys=True, indent=4))