Fix incorrect port in swagger docs
This commit is contained in:
parent
a174afa280
commit
82a88f8433
|
@ -1073,7 +1073,7 @@
|
||||||
"type": "object"
|
"type": "object"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"host": "pvc.local:7570",
|
"host": "pvc.local:7370",
|
||||||
"info": {
|
"info": {
|
||||||
"title": "PVC Client and Provisioner API",
|
"title": "PVC Client and Provisioner API",
|
||||||
"version": "1.0"
|
"version": "1.0"
|
||||||
|
|
|
@ -19,7 +19,7 @@ swagger_file = "docs/manuals/swagger.json"
|
||||||
swagger_data = swagger(pvc_api.app)
|
swagger_data = swagger(pvc_api.app)
|
||||||
swagger_data['info']['version'] = "1.0"
|
swagger_data['info']['version'] = "1.0"
|
||||||
swagger_data['info']['title'] = "PVC Client and Provisioner API"
|
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:
|
with open(swagger_file, 'w') as fd:
|
||||||
fd.write(json.dumps(swagger_data, sort_keys=True, indent=4))
|
fd.write(json.dumps(swagger_data, sort_keys=True, indent=4))
|
||||||
|
|
Loading…
Reference in New Issue