From d0e6486aac59f5c67301aa1600c40a0432060996 Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Thu, 27 Dec 2018 11:40:12 -0300 Subject: [PATCH] Bug 21786: (QA follow-up) library_id can be null Signed-off-by: Tomas Cohen Arazi --- api/v1/swagger/definitions/account_line.json | 5 ++++- api/v1/swagger/definitions/patron_account_credit.json | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/api/v1/swagger/definitions/account_line.json b/api/v1/swagger/definitions/account_line.json index 0d84cb2dc9..ac81f9d05d 100644 --- a/api/v1/swagger/definitions/account_line.json +++ b/api/v1/swagger/definitions/account_line.json @@ -78,7 +78,10 @@ "description": "Internal patron identifier for the staff member that introduced the account line" }, "library_id": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "Internal identifier for the library in which the transaction took place" } } diff --git a/api/v1/swagger/definitions/patron_account_credit.json b/api/v1/swagger/definitions/patron_account_credit.json index be33366f2d..1bde9c37a8 100644 --- a/api/v1/swagger/definitions/patron_account_credit.json +++ b/api/v1/swagger/definitions/patron_account_credit.json @@ -11,7 +11,7 @@ "description": "Credit amount" }, "library_id": { - "type": "string", + "type": [ "string", "null" ], "description": "Internal identifier for the library in which the transaction took place" }, "account_lines_ids": { -- 2.20.1