Koha/api/v1/swagger/definitions/vendor_issue.yaml
Jonathan Druart 2f5883c997
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>
2023-07-20 10:59:29 -03:00

38 lines
679 B
YAML

---
type: object
properties:
issue_id:
type: integer
description: internally assigned vendor identifier
readOnly: true
vendor_id:
description: ID of the vendor
type: integer
type:
type:
- string
- "null"
description: Type of the issue
started_on:
type:
- string
- "null"
format: date
description: Start date
ended_on:
type:
- string
- "null"
format: date
description: End date
notes:
type:
- string
- "null"
description: Notes
_strings:
type:
- object
- "null"
description: A list of stringified coded values
additionalProperties: false