From eaa202f6c6d97f4dc6297299d912a8d3ca2b3487 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Fri, 20 Oct 2023 15:18:44 +0200 Subject: [PATCH] Bug 30708: Adjust spec for train_item Signed-off-by: Tomas Cohen Arazi --- api/v1/swagger/definitions/preservation_train_item.yaml | 8 +++++--- api/v1/swagger/paths/preservation_waiting_list.yaml | 6 ------ 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/api/v1/swagger/definitions/preservation_train_item.yaml b/api/v1/swagger/definitions/preservation_train_item.yaml index dda950cae5..b073ce245a 100644 --- a/api/v1/swagger/definitions/preservation_train_item.yaml +++ b/api/v1/swagger/definitions/preservation_train_item.yaml @@ -27,8 +27,10 @@ properties: type: - array - "null" + catalogue_item: + description: xxx + type: + - object + - "null" additionalProperties: false -required: - - train_id - - processing_id diff --git a/api/v1/swagger/paths/preservation_waiting_list.yaml b/api/v1/swagger/paths/preservation_waiting_list.yaml index 951063b7b6..73b9350292 100644 --- a/api/v1/swagger/paths/preservation_waiting_list.yaml +++ b/api/v1/swagger/paths/preservation_waiting_list.yaml @@ -130,12 +130,6 @@ x-koha-authorization: permissions: preservation: 1 - description: | - Internal server error. Possible `error_code` attribute values: - - * `internal_server_error` - schema: - $ref: "../swagger.yaml#/definitions/error" /preservation/waiting-list/items/{item_id}: delete: x-mojo-to: Preservation::WaitingList#remove_item