Bugzilla – Attachment 128943 Details for
Bug 29772
Make DELETE /patrons/:patron_id return error codes in error conditions
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 29772: (follow-up) Document error codes
Bug-29772-follow-up-Document-error-codes.patch (text/plain), 1.11 KB, created by
David Nind
on 2021-12-31 17:17:11 UTC
(
hide
)
Description:
Bug 29772: (follow-up) Document error codes
Filename:
MIME Type:
Creator:
David Nind
Created:
2021-12-31 17:17:11 UTC
Size:
1.11 KB
patch
obsolete
>From 6110da7f1bbc5bcc6678c8be517a56f04009148c Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Mon, 27 Dec 2021 11:39:10 -0300 >Subject: [PATCH] Bug 29772: (follow-up) Document error codes > >Signed-off-by: David Nind <david@davidnind.com> >--- > api/v1/swagger/paths/patrons.yaml | 8 +++++++- > 1 file changed, 7 insertions(+), 1 deletion(-) > >diff --git a/api/v1/swagger/paths/patrons.yaml b/api/v1/swagger/paths/patrons.yaml >index 2a066ec66e..76fe6c1bbb 100644 >--- a/api/v1/swagger/paths/patrons.yaml >+++ b/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": >-- >2.30.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 29772
:
128924
|
128925
|
128926
|
128941
|
128942
|
128943
|
129001
|
129002
|
129003