aboutsummaryrefslogtreecommitdiffstats
path: root/catalog/swagger
diff options
context:
space:
mode:
Diffstat (limited to 'catalog/swagger')
-rw-r--r--catalog/swagger/etsicatalog.swagger.json (renamed from catalog/swagger/vfc.catalog.swagger.json)8
-rw-r--r--catalog/swagger/urls.py2
-rw-r--r--catalog/swagger/views.py2
3 files changed, 6 insertions, 6 deletions
diff --git a/catalog/swagger/vfc.catalog.swagger.json b/catalog/swagger/etsicatalog.swagger.json
index 1327462..941b42a 100644
--- a/catalog/swagger/vfc.catalog.swagger.json
+++ b/catalog/swagger/etsicatalog.swagger.json
@@ -2,12 +2,12 @@
"swagger": "2.0",
"info": {
"version": "1.0.0",
- "title": "ONAP VFC Catalog Rest API",
- "description": "VFC Catalog Management API.",
+ "title": "ONAP Modeling etsicatalog Rest API",
+ "description": "Modeling etsicatalog Management API.",
"contact": {
- "name": "ONAP VFC team",
+ "name": "ONAP Modeling team",
"email": "onap-discuss@lists.onap.org",
- "url": "https://gerrit.onap.org/r/#/admin/projects/vfc/nfvo/catalog"
+ "url": "https://gerrit.onap.org/r/#/admin/projects/modeling/etsicatalog"
}
},
"basePath": "/api/catalog/v1",
diff --git a/catalog/swagger/urls.py b/catalog/swagger/urls.py
index 5437ee5..6de480c 100644
--- a/catalog/swagger/urls.py
+++ b/catalog/swagger/urls.py
@@ -19,7 +19,7 @@ from rest_framework import permissions
# Add code for generating swagger automatically.
swagger_info = openapi.Info(
- title="VFC Catalog API",
+ title="Modeling etsicatalog API",
default_version='v1',
description="""
diff --git a/catalog/swagger/views.py b/catalog/swagger/views.py
index 33d0edb..4739188 100644
--- a/catalog/swagger/views.py
+++ b/catalog/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__), 'etsicatalog.swagger.json')
f = open(json_file)
json_data = json.JSONDecoder().decode(f.read())
f.close()