Fix incorrect port in swagger docs
This commit is contained in:
		@@ -1073,7 +1073,7 @@
 | 
			
		||||
            "type": "object"
 | 
			
		||||
        }
 | 
			
		||||
    },
 | 
			
		||||
    "host": "pvc.local:7570",
 | 
			
		||||
    "host": "pvc.local:7370",
 | 
			
		||||
    "info": {
 | 
			
		||||
        "title": "PVC Client and Provisioner API",
 | 
			
		||||
        "version": "1.0"
 | 
			
		||||
 
 | 
			
		||||
@@ -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))
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user