Bug 30708: Last spec fixes

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Tomas Cohen Arazi 2023-10-20 10:00:54 -03:00
parent a7237dde72
commit b28f7ad0e6
No known key found for this signature in database
GPG Key ID: 0A272EA1B2F3C15F
1 changed files with 6 additions and 6 deletions

View File

@ -326,12 +326,12 @@
name: body
required: true
schema:
type: object
$ref: "../swagger.yaml#/definitions/preservation_train_item"
responses:
201:
description: A successfully added item
schema:
type: object
$ref: "../swagger.yaml#/definitions/preservation_train_item"
400:
description: Bad parameter
schema:
@ -455,7 +455,7 @@
name: body
required: true
schema:
type: object
$ref: "../swagger.yaml#/definitions/preservation_train_item"
- name: x-koha-embed
in: header
required: false
@ -470,7 +470,7 @@
200:
description: A successfully updated item
schema:
type: object
$ref: "../swagger.yaml#/definitions/preservation_train_item"
400:
description: Bad parameter
schema:
@ -572,12 +572,11 @@
- catalogue_item
- catalogue_item.biblio
collectionFormat: csv
additionalProperties: false
responses:
200:
description: An item in train
schema:
type: object
$ref: "../swagger.yaml#/definitions/preservation_train_item"
401:
description: Authentication required
schema:
@ -629,6 +628,7 @@
train_id:
description: Train id
type: integer
additionalProperties: false
responses:
201:
description: A successfully copied item