Merge "Dealing with test related stuffs."
authorFu Jinhua <fu.jinhua@zte.com.cn>
Mon, 20 Aug 2018 00:49:11 +0000 (00:49 +0000)
committerGerrit Code Review <gerrit@onap.org>
Mon, 20 Aug 2018 00:49:11 +0000 (00:49 +0000)
lcm/lcm/nf/views/curd_vnf_views.py

index 5c5f407..3200e1f 100644 (file)
@@ -57,7 +57,7 @@ class CreateVnfAndQueryVnfs(APIView):
             return Response(data={'error': 'Failed to get Vnfs'}, status=status.HTTP_500_INTERNAL_SERVER_ERROR)
 
     @swagger_auto_schema(
-        request_body=VnfInstanceSerializer(),
+        request_body=CreateVnfReqSerializer(),
         responses={
             status.HTTP_201_CREATED: VnfInstanceSerializer(),
             status.HTTP_500_INTERNAL_SERVER_ERROR: "Internal error"