from catalog.packages.serializers.vnf_pkg_infos import VnfPkgInfosSerializer
from .common import validate_data, validate_req_data
from .common import view_safe_call_with_log
+from catalog.swagger.views import EtsiCatalogFileAutoSchema
logger = logging.getLogger(__name__)
@swagger_auto_schema(
+ auto_schema=EtsiCatalogFileAutoSchema,
method="GET",
operation_description="Read VNFD of an on-boarded VNF package",
tags=[TAG_VNF_PACKAGE_API],
status.HTTP_500_INTERNAL_SERVER_ERROR: openapi.Response("Internal error",
schema=openapi.Schema(type=openapi.TYPE_STRING))
},
- produces='application/octet-stream',
operation_id='VNFD of an on-boarded VNF package'
)
@api_view(http_method_names=["GET"])
}
)
@swagger_auto_schema(
+ auto_schema=EtsiCatalogFileAutoSchema,
method="GET",
operation_description="Fetch VNF package content",
tags=[TAG_VNF_PACKAGE_API],