From 7fcf50baad9e311be3be05d17fa9d5855290a4a7 Mon Sep 17 00:00:00 2001 From: biancunkang Date: Thu, 16 Aug 2018 16:15:10 +0800 Subject: Modify swagger Change-Id: I33052c09a1477808329cf39d936f4a106ab89d04 Issue-ID: VFC-1015 Signed-off-by: biancunkang --- lcm/lcm/nf/views/curd_vnf_views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lcm') diff --git a/lcm/lcm/nf/views/curd_vnf_views.py b/lcm/lcm/nf/views/curd_vnf_views.py index efd85168..9b141b3e 100644 --- a/lcm/lcm/nf/views/curd_vnf_views.py +++ b/lcm/lcm/nf/views/curd_vnf_views.py @@ -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" -- cgit 1.2.3-korg