Koha/api/v1/swagger/definitions/checkout_availability.yaml
Martin Renvoize 4b47f8e48f
Bug 23336: (follow-up) Add checkout_availability schema
At some point in the patch series we lost the availability api schema.
This patch restores a basic version, but we should work towards a
clearer enum based schema for each of the available blockers, confirms
and warnings.

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2023-07-05 12:17:19 -03:00

18 lines
365 B
YAML

---
type: object
properties:
blockers:
type: object
description: blocking issues
confirms:
type: object
description: issues requireing confirmation
warnings:
type: object
description: informational issues
confirmation_token:
type:
- string
- "null"
description: token for confirmation
additionalProperties: false