diff options
author | biancunkang <bian.cunkang@zte.com.cn> | 2018-08-16 16:15:10 +0800 |
---|---|---|
committer | biancunkang <bian.cunkang@zte.com.cn> | 2018-08-16 16:15:10 +0800 |
commit | 7fcf50baad9e311be3be05d17fa9d5855290a4a7 (patch) | |
tree | 78d9055b1a341b6840656cfe918c4086f0880f95 | |
parent | 0ce55f5401f26c0acb975b718e638f0c650a93eb (diff) |
Modify swagger
Change-Id: I33052c09a1477808329cf39d936f4a106ab89d04
Issue-ID: VFC-1015
Signed-off-by: biancunkang <bian.cunkang@zte.com.cn>
-rw-r--r-- | lcm/lcm/nf/views/curd_vnf_views.py | 2 |
1 files changed, 1 insertions, 1 deletions
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" |