fix swagger error
[vfc/nfvo/lcm.git] / lcm / ns / views / sol / ns_instances_views.py
index dbbdbb5..6fcae3f 100644 (file)
@@ -95,7 +95,6 @@ class NSInstancesView(APIView):
             response = Response(data=resp_serializer.data, status=status.HTTP_201_CREATED)
             response["Location"] = NS_INSTANCE_BASE_URI % nsInstance['id']
             return response
-
         except BadRequestException as e:
             logger.error("Exception in CreateNS: %s", e.message)
             data = {'status': status.HTTP_400_BAD_REQUEST, 'detail': e.message}
@@ -136,7 +135,7 @@ class IndividualNsInstanceView(APIView):
     @swagger_auto_schema(
         request_body=None,
         responses={
-            status.HTTP_204_NO_CONTENT: None
+            status.HTTP_204_NO_CONTENT: "HTTP_204_NO_CONTENT"
         }
     )
     def delete(self, request, ns_instance_id):