Skip to content

Commit

Permalink
docs(openapi): amend response description for file deletion (#573)
Browse files Browse the repository at this point in the history
  • Loading branch information
giuseppe-steduto authored and tiborsimko committed Apr 15, 2024
1 parent 57a0246 commit 1d027ff
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
Expand Down
4 changes: 2 additions & 2 deletions reana_workflow_controller/rest/workflows_workspace.py
Original file line number Diff line number Diff line change
@@ -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.
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 1d027ff

Please sign in to comment.