summaryrefslogtreecommitdiffstats
path: root/lcm
diff options
context:
space:
mode:
authorFu Jinhua <fu.jinhua@zte.com.cn>2018-08-16 08:31:25 +0000
committerGerrit Code Review <gerrit@onap.org>2018-08-16 08:31:25 +0000
commit4f3cadd4ffcae700bc259a043b1d6c6c5a6bc98c (patch)
treec43c98b8f220b205859526823d75fb8aa905ec87 /lcm
parent4e55eea171d9556802ca96410de7a737e568f94d (diff)
parent7fcf50baad9e311be3be05d17fa9d5855290a4a7 (diff)
Merge "Modify swagger"
Diffstat (limited to 'lcm')
-rw-r--r--lcm/lcm/nf/views/curd_vnf_views.py2
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"