Bug 33105: Fix vendor api spec

vendor ID must be integer and date attributes should specify the format
accordingly.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Jonathan Druart 2023-07-07 09:55:15 +02:00 committed by Tomas Cohen Arazi
parent 5a28ce57a0
commit 2f5883c997
Signed by: tomascohen
GPG key ID: 0A272EA1B2F3C15F

View file

@ -6,9 +6,8 @@ properties:
description: internally assigned vendor identifier description: internally assigned vendor identifier
readOnly: true readOnly: true
vendor_id: vendor_id:
type: description: ID of the vendor
- string type: integer
description: Vendor id
type: type:
type: type:
- string - string
@ -18,11 +17,13 @@ properties:
type: type:
- string - string
- "null" - "null"
format: date
description: Start date description: Start date
ended_on: ended_on:
type: type:
- string - string
- "null" - "null"
format: date
description: End date description: End date
notes: notes:
type: type: