Fix incorrect port in swagger docs

This commit is contained in:
Joshua Boniface 2020-01-06 23:50:12 -05:00
parent a174afa280
commit 82a88f8433
2 changed files with 2 additions and 2 deletions

View File

@ -1073,7 +1073,7 @@
"type": "object"
}
},
"host": "pvc.local:7570",
"host": "pvc.local:7370",
"info": {
"title": "PVC Client and Provisioner API",
"version": "1.0"

View File

@ -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))