diff options
Diffstat (limited to 'lcm/ns')
-rw-r--r-- | lcm/ns/sfcs/views.py | 6 | ||||
-rw-r--r-- | lcm/ns/views.py | 2 | ||||
-rw-r--r-- | lcm/ns/vnfs/views.py | 2 |
3 files changed, 5 insertions, 5 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" } ) |