X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=lcm%2Fswagger%2Fviews.py;h=e78eceadc42f61cfb5ce22be8a2c76867a46bcab;hb=32cabc9b0f505bc6275e78fbd676d067310dd8b5;hp=5034905c830ed9a540229b18a45372e380545f8c;hpb=12f8357386eefb363bdedd8d651bc914f537cfcb;p=vfc%2Fnfvo%2Flcm.git diff --git a/lcm/swagger/views.py b/lcm/swagger/views.py index 5034905c..e78ecead 100644 --- a/lcm/swagger/views.py +++ b/lcm/swagger/views.py @@ -53,6 +53,14 @@ class SwaggerJsonView(APIView): json_data["paths"].update(json_data_temp["paths"]) json_data["definitions"].update(json_data_temp["definitions"]) + json_file = os.path.join(os.path.dirname(__file__), 'vfc.db.swagger.json') + f = open(json_file) + json_data_temp = json.JSONDecoder().decode(f.read()) + f.close() + + json_data["paths"].update(json_data_temp["paths"]) + json_data["definitions"].update(json_data_temp["definitions"]) + json_file = os.path.join(os.path.dirname(__file__), 'vfc.others.swagger.json') f = open(json_file) json_data_temp = json.JSONDecoder().decode(f.read())