@swagger_auto_schema(
method="GET",
operation_description="Query multiple VNF package resource",
+ tags=["VNF Package API"],
request_body=no_body,
responses={
status.HTTP_200_OK: VnfPkgInfosSerializer(),
@swagger_auto_schema(
method="POST",
operation_description="Create an individual VNF package resource",
+ tags=["VNF Package API"],
request_body=CreateVnfPkgInfoRequestSerializer,
responses={
status.HTTP_201_CREATED: VnfPkgInfoSerializer(),
@swagger_auto_schema(
method='PUT',
operation_description="Upload VNF package content",
+ tags=["VNF Package API"],
request_body=no_body,
responses={
status.HTTP_202_ACCEPTED: "Successfully",
@swagger_auto_schema(
method="GET",
operation_description="Fetch VNF package content",
+ tags=["VNF Package API"],
request_body=no_body,
responses={
status.HTTP_200_OK: VnfPkgInfosSerializer(),
@swagger_auto_schema(
method='POST',
operation_description="Upload VNF package content from uri",
+ tags=["VNF Package API"],
request_body=UploadVnfPackageFromUriRequestSerializer,
responses={
status.HTTP_202_ACCEPTED: "Successfully",
@swagger_auto_schema(
method='GET',
operation_description="Query an individual VNF package resource",
+ tags=["VNF Package API"],
request_body=no_body,
responses={
status.HTTP_200_OK: VnfPkgInfoSerializer(),
@swagger_auto_schema(
method='DELETE',
operation_description="Delete an individual VNF package resource",
+ tags=["VNF Package API"],
request_body=no_body,
responses={
status.HTTP_204_NO_CONTENT: "No content",