diff options
author | Fu Jinhua <fu.jinhua@zte.com.cn> | 2018-08-16 08:31:25 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2018-08-16 08:31:25 +0000 |
commit | 4f3cadd4ffcae700bc259a043b1d6c6c5a6bc98c (patch) | |
tree | c43c98b8f220b205859526823d75fb8aa905ec87 /lcm | |
parent | 4e55eea171d9556802ca96410de7a737e568f94d (diff) | |
parent | 7fcf50baad9e311be3be05d17fa9d5855290a4a7 (diff) |
Merge "Modify swagger"
Diffstat (limited to 'lcm')
-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" |