Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(openapi): amend response description for file deletion (#573) #573

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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