Skip to content

Commit 1d027ff

Browse files
giuseppe-stedutotiborsimko
authored andcommitted
docs(openapi): amend response description for file deletion (#573)
1 parent 57a0246 commit 1d027ff

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/openapi.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1453,7 +1453,7 @@
14531453
],
14541454
"responses": {
14551455
"200": {
1456-
"description": "Requests succeeded. The file has been downloaded.",
1456+
"description": "Request succeeded. Details about deleted files and failed deletions are returned.",
14571457
"schema": {
14581458
"type": "file"
14591459
}

reana_workflow_controller/rest/workflows_workspace.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# -*- coding: utf-8 -*-
22
#
33
# This file is part of REANA.
4-
# Copyright (C) 2020, 2021, 2022 CERN.
4+
# Copyright (C) 2020, 2021, 2022, 2024 CERN.
55
#
66
# REANA is free software; you can redistribute it and/or modify it
77
# 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
315315
responses:
316316
200:
317317
description: >-
318-
Requests succeeded. The file has been downloaded.
318+
Request succeeded. Details about deleted files and failed deletions are returned.
319319
schema:
320320
type: file
321321
404:

0 commit comments

Comments
 (0)