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:
parent
5a28ce57a0
commit
2f5883c997
1 changed files with 4 additions and 3 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue