Modify return object of deleting ns package 21/31021/1
authorfengyuanxing <feng.yuanxing@zte.com.cn>
Fri, 9 Feb 2018 08:44:07 +0000 (16:44 +0800)
committerfengyuanxing <feng.yuanxing@zte.com.cn>
Fri, 9 Feb 2018 08:44:07 +0000 (16:44 +0800)
Change-Id: I28b07416484f79c380feede1e95d211dea944159
Issue-ID: VFC-685
Signed-off-by: fengyuanxing <feng.yuanxing@zte.com.cn>
catalog/packages/views.py

index 26ed83b..02bdd3c 100644 (file)
@@ -162,10 +162,7 @@ def nfpackages_rc(request, *args, **kwargs):
             "csarId",
             type=openapi.TYPE_STRING)],
     responses={
-        status.HTTP_200_OK: openapi.Response(
-            'Delete CSAR successfully',
-            openapi.Schema(
-                type=openapi.TYPE_STRING)),
+        status.HTTP_200_OK: NsPackageDistributeResponseSerializer,
         status.HTTP_500_INTERNAL_SERVER_ERROR: openapi.Response(
             'error message',
             openapi.Schema(