Browse Source

Bug 29772: (follow-up) Document error codes

Signed-off-by: David Nind <david@davidnind.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
master
Tomas Cohen Arazi 4 weeks ago
committed by Fridolin Somers
parent
commit
cf86a5554d
  1. 8
      api/v1/swagger/paths/patrons.yaml

8
api/v1/swagger/paths/patrons.yaml

@ -567,7 +567,13 @@
schema:
$ref: ../definitions.yaml#/error
"409":
description: Conflict
description: |
Conflict. Possible `error_code` attribute values:
* `has_checkouts`: The patron has pending checkouts
* `has_debt`: The patron has pending debts
* `has_guarantees`: The patron has guarantees
* `is_anonymous_patron`: The system-wide anonymous patron cannot be deleted
schema:
$ref: ../definitions.yaml#/error
"500":

Loading…
Cancel
Save