diff options
author | yangyan <yangyanyj@chinamobile.com> | 2019-04-19 16:23:46 +0800 |
---|---|---|
committer | yangyan <yangyanyj@chinamobile.com> | 2019-04-19 16:42:06 +0800 |
commit | c8283bc11228d2249919007b819815702fd48e83 (patch) | |
tree | 305c1ef963d5df5b1e77abe6bcbcb31e1f0cb1c6 /genericparser/swagger/views.py | |
parent | affcd0828f0dd0941ba546aca5bce05e8ee1a598 (diff) |
Update parser code
Issue-ID: MODELING-153
Change-Id: Idcdd5f09decbb6a23e96c1191c0f216b672fcf28
Signed-off-by: yangyan <yangyanyj@chinamobile.com>
Diffstat (limited to 'genericparser/swagger/views.py')
-rw-r--r-- | genericparser/swagger/views.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/genericparser/swagger/views.py b/genericparser/swagger/views.py index 33d0edb..e99262b 100644 --- a/genericparser/swagger/views.py +++ b/genericparser/swagger/views.py @@ -21,7 +21,7 @@ from rest_framework.views import APIView class SwaggerJsonView(APIView): def get(self, request): - json_file = os.path.join(os.path.dirname(__file__), 'vfc.catalog.swagger.json') + json_file = os.path.join(os.path.dirname(__file__), 'modeling.genericparser.swagger.json') f = open(json_file) json_data = json.JSONDecoder().decode(f.read()) f.close() |