From: biancunkang Date: Thu, 16 Aug 2018 08:15:10 +0000 (+0800) Subject: Modify swagger X-Git-Tag: 1.2.0~23^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?p=vfc%2Fgvnfm%2Fvnflcm.git;a=commitdiff_plain;h=7fcf50baad9e311be3be05d17fa9d5855290a4a7 Modify swagger Change-Id: I33052c09a1477808329cf39d936f4a106ab89d04 Issue-ID: VFC-1015 Signed-off-by: biancunkang --- 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"