Code Review
/
vfc
/
gvnfm
/
vnflcm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
0ce55f5
)
Modify swagger
67/60867/1
author
biancunkang
<bian.cunkang@zte.com.cn>
Thu, 16 Aug 2018 08:15:10 +0000
(16:15 +0800)
committer
biancunkang
<bian.cunkang@zte.com.cn>
Thu, 16 Aug 2018 08:15:10 +0000
(16:15 +0800)
Change-Id: I33052c09a1477808329cf39d936f4a106ab89d04
Issue-ID: VFC-1015
Signed-off-by: biancunkang <bian.cunkang@zte.com.cn>
lcm/lcm/nf/views/curd_vnf_views.py
patch
|
blob
|
history
diff --git
a/lcm/lcm/nf/views/curd_vnf_views.py
b/lcm/lcm/nf/views/curd_vnf_views.py
index
efd8516
..
9b141b3
100644
(file)
--- 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=
VnfInstance
Serializer(),
+ request_body=
CreateVnfReq
Serializer(),
responses={
status.HTTP_201_CREATED: VnfInstanceSerializer(),
status.HTTP_500_INTERNAL_SERVER_ERROR: "Internal error"