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
readOnly: true
vendor_id:
type:
- string
description: Vendor id
description: ID of the vendor
type: integer
type:
type:
- string
@ -18,11 +17,13 @@ properties:
type:
- string
- "null"
format: date
description: Start date
ended_on:
type:
- string
- "null"
format: date
description: End date
notes:
type: