From 2bee56e060a6afb367b454f2899ab762a24aac1c Mon Sep 17 00:00:00 2001 From: Matt Blenkinsop Date: Fri, 19 Jul 2024 07:16:10 +0000 Subject: [PATCH] Bug 28924: (follow-up): Fix API spec This patch fixes the API definition for a patron category, as highlighted by the failing tests --- api/v1/swagger/definitions/patron_category.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/api/v1/swagger/definitions/patron_category.yaml b/api/v1/swagger/definitions/patron_category.yaml index ec3c87aa9c0..dce7d2555f2 100644 --- a/api/v1/swagger/definitions/patron_category.yaml +++ b/api/v1/swagger/definitions/patron_category.yaml @@ -100,6 +100,21 @@ properties: - boolean - "null" description: Exclude patrons of this category from local holds priority + noissuescharge: + type: + - number + - "null" + description: Maximum amount outstanding before checkouts are blocked + noissueschargeguarantees: + type: + - number + - "null" + description: Maximum amount that the guarantees of a patron in this category can have outstanding before checkouts are blocked + noissueschargeguarantorswithguarantees: + type: + - number + - "null" + description: Maximum amount that the guarantors with guarantees of a patron in this category can have outstanding before checkouts are blocked additionalProperties: false required: - patron_category_id -- 2.39.3 (Apple Git-146)