aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lcm/ns/sfcs/views.py6
-rw-r--r--lcm/ns/views.py2
-rw-r--r--lcm/ns/vnfs/views.py2
-rw-r--r--lcm/samples/views.py2
-rw-r--r--lcm/settings.py4
5 files changed, 8 insertions, 8 deletions
diff --git a/lcm/ns/sfcs/views.py b/lcm/ns/sfcs/views.py
index 5fb6ae22..4403ffe6 100644
--- a/lcm/ns/sfcs/views.py
+++ b/lcm/ns/sfcs/views.py
@@ -75,7 +75,7 @@ class PortPairGpView(APIView):
@swagger_auto_schema(
request_body=CreatePortPairGpSerializer(),
responses={
- status.HTTP_200_OK: None
+ status.HTTP_200_OK: 'successful'
}
)
def post(self, request):
@@ -95,7 +95,7 @@ class FlowClaView(APIView):
@swagger_auto_schema(
request_body=CreateFlowClaSerializer(),
responses={
- status.HTTP_200_OK: None
+ status.HTTP_200_OK: 'successful'
}
)
def post(self, request):
@@ -114,7 +114,7 @@ class PortChainView(APIView):
@swagger_auto_schema(
request_body=CreatePortChainSerializer(),
responses={
- status.HTTP_200_OK: None
+ status.HTTP_200_OK: 'successful'
}
)
def post(self, request):
diff --git a/lcm/ns/views.py b/lcm/ns/views.py
index 429df521..413a89a6 100644
--- a/lcm/ns/views.py
+++ b/lcm/ns/views.py
@@ -216,7 +216,7 @@ class NSDetailView(APIView):
@swagger_auto_schema(
request_body=None,
responses={
- status.HTTP_204_NO_CONTENT: None,
+ status.HTTP_204_NO_CONTENT: 'successful',
status.HTTP_500_INTERNAL_SERVER_ERROR: "Inner error"
}
)
diff --git a/lcm/ns/vnfs/views.py b/lcm/ns/vnfs/views.py
index 59762e69..75d2b500 100644
--- a/lcm/ns/vnfs/views.py
+++ b/lcm/ns/vnfs/views.py
@@ -183,7 +183,7 @@ class LcmNotify(APIView):
@swagger_auto_schema(
request_body=NotifyLcmReqSerializer(),
responses={
- status.HTTP_201_CREATED: None,
+ status.HTTP_201_CREATED: 'successful',
status.HTTP_409_CONFLICT: "Inner error"
}
)
diff --git a/lcm/samples/views.py b/lcm/samples/views.py
index 06d82d00..5889aaca 100644
--- a/lcm/samples/views.py
+++ b/lcm/samples/views.py
@@ -47,7 +47,7 @@ class TablesList(APIView):
@swagger_auto_schema(
request_body=None,
responses={
- status.HTTP_204_NO_CONTENT: None,
+ status.HTTP_204_NO_CONTENT: 'successful',
status.HTTP_500_INTERNAL_SERVER_ERROR: "Inner error"
}
)
diff --git a/lcm/settings.py b/lcm/settings.py
index d45915ec..128d298c 100644
--- a/lcm/settings.py
+++ b/lcm/settings.py
@@ -45,8 +45,8 @@ INSTALLED_APPS = [
'django.contrib.staticfiles',
'rest_framework',
'lcm.pub.database',
- 'lcm.samples',
- 'lcm.swagger',
+ # 'lcm.samples',
+ # 'lcm.swagger',
'drf_yasg'
]