@swagger_auto_schema(
method='GET',
operation_description="Query a PNFD",
+ tags=["PNFD API"],
request_body=no_body,
responses={
status.HTTP_200_OK: PnfdInfoSerializer(),
@swagger_auto_schema(
method='DELETE',
operation_description="Delete a PNFD",
+ tags=["PNFD API"],
request_body=no_body,
responses={
status.HTTP_204_NO_CONTENT: "No content",
@swagger_auto_schema(
method='POST',
operation_description="Create a PNFD",
+ tags=["PNFD API"],
request_body=CreatePnfdInfoRequestSerializer(),
responses={
status.HTTP_201_CREATED: PnfdInfoSerializer(),
@swagger_auto_schema(
method='GET',
operation_description="Query multiple PNFDs",
+ tags=["PNFD API"],
request_body=no_body,
responses={
status.HTTP_200_OK: PnfdInfosSerializer(),
@swagger_auto_schema(
method='PUT',
operation_description="Upload PNFD content",
+ tags=["PNFD API"],
request_body=no_body,
responses={
status.HTTP_204_NO_CONTENT: "No content",
@swagger_auto_schema(
method='GET',
operation_description="Fetch PNFD content",
+ tags=["PNFD API"],
request_body=no_body,
responses={
status.HTTP_204_NO_CONTENT: 'PNFD file',
@swagger_auto_schema(
method='POST',
operation_description="Parse PNF model",
+ tags=["Parser API"],
request_body=ParseModelRequestSerializer,
responses={
status.HTTP_202_ACCEPTED: ParseModelResponseSerializer,