Code optimization 37/96137/1
authorhongyuzhao <zhao.hongyu@zte.com.cn>
Mon, 23 Sep 2019 09:18:24 +0000 (17:18 +0800)
committerhongyuzhao <zhao.hongyu@zte.com.cn>
Mon, 23 Sep 2019 09:19:40 +0000 (17:19 +0800)
Change-Id: I610a4f24c0fcfaac9198b5073309586f315a6a4a
Issue-ID: VFC-1431
Signed-off-by: hongyuzhao <zhao.hongyu@zte.com.cn>
lcm/lcm/nf/views/curd_vnf_views.py

index 2992814..fa57f2e 100644 (file)
@@ -61,6 +61,7 @@ class CreateVnfAndQueryVnfs(APIView):
         request_body=CreateVnfReqSerializer(),
         responses={
             status.HTTP_201_CREATED: VnfInstanceSerializer(),
+            status.HTTP_400_BAD_REQUEST: "Bad Request",
             status.HTTP_500_INTERNAL_SERVER_ERROR: "Internal error"
         }
     )