Tomas Cohen Arazi
d6c67eddd3
This patch moves all the REST API spec pieces into YAML. To test: 1. Run: $ kshell k$ prove t/db_dependent/api/v1/* => SUCCESS: Tests pass 2. Apply this patch 3. Repeat 1 => SUCCESS: Tests still pass! 4. Sign off :-D Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
28 lines
737 B
YAML
28 lines
737 B
YAML
---
|
|
type: object
|
|
properties:
|
|
cashup_id:
|
|
type: integer
|
|
description: Internal cashup identifier
|
|
cash_register_id:
|
|
type: integer
|
|
description: Internal identifier for the register the cashup belongs to
|
|
manager_id:
|
|
type: integer
|
|
description: Internal identifier for the manager the cashup was performed by
|
|
manager:
|
|
type:
|
|
- object
|
|
- "null"
|
|
description: The object representing the manager the cashup was performed by
|
|
amount:
|
|
type: number
|
|
description: Account line amount
|
|
timestamp:
|
|
type: string
|
|
format: date-time
|
|
description: Timestamp for the latest line update
|
|
summary:
|
|
type: object
|
|
description: A summary of the cashup action
|
|
additionalProperties: false
|