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
|
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:
|
||||||
|
|
Loading…
Reference in a new issue