From 1d027ffeafc437fc9e0c2a4193a9e2585231ab2a Mon Sep 17 00:00:00 2001 From: Giuseppe Steduto Date: Mon, 26 Feb 2024 15:40:29 +0100 Subject: [PATCH] docs(openapi): amend response description for file deletion (#573) --- docs/openapi.json | 2 +- reana_workflow_controller/rest/workflows_workspace.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/openapi.json b/docs/openapi.json index 5493225f..a28dbab4 100644 --- a/docs/openapi.json +++ b/docs/openapi.json @@ -1453,7 +1453,7 @@ ], "responses": { "200": { - "description": "Requests succeeded. The file has been downloaded.", + "description": "Request succeeded. Details about deleted files and failed deletions are returned.", "schema": { "type": "file" } diff --git a/reana_workflow_controller/rest/workflows_workspace.py b/reana_workflow_controller/rest/workflows_workspace.py index 7d8a961b..4dfb6d3f 100644 --- a/reana_workflow_controller/rest/workflows_workspace.py +++ b/reana_workflow_controller/rest/workflows_workspace.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # # This file is part of REANA. -# Copyright (C) 2020, 2021, 2022 CERN. +# Copyright (C) 2020, 2021, 2022, 2024 CERN. # # REANA is free software; you can redistribute it and/or modify it # under the terms of the MIT License; see LICENSE file for more details. @@ -315,7 +315,7 @@ def delete_file(workflow_id_or_name, file_name): # noqa responses: 200: description: >- - Requests succeeded. The file has been downloaded. + Request succeeded. Details about deleted files and failed deletions are returned. schema: type: file 404: