Koha/api/v1/swagger/definitions/quote.yaml
Jonathan Druart 4e75a3a1ee
Bug 30903: Fix POST /quote
quote_id should not be required

Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2022-07-06 16:42:05 -03:00

23 lines
396 B
YAML

---
type: object
properties:
quote_id:
type: integer
description: internally assigned quote identifier
source:
description: source of the quote
type: string
text:
description: text
type:
- string
- "null"
displayed_on:
description: Last display date
type:
- string
- "null"
additionalProperties: false
required:
- source
- text