Bug 30708: Adjust spec for train_item

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Jonathan Druart 2023-10-20 15:18:44 +02:00 committed by Tomas Cohen Arazi
parent 464e548f41
commit eaa202f6c6
Signed by: tomascohen
GPG key ID: 0A272EA1B2F3C15F
2 changed files with 5 additions and 9 deletions

View file

@ -27,8 +27,10 @@ properties:
type:
- array
- "null"
catalogue_item:
description: xxx
type:
- object
- "null"
additionalProperties: false
required:
- train_id
- processing_id

View file

@ -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