From 2bea55260fda0acd216a7b1f5f5cef5ebd317ceb 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 Signed-off-by: Alex Arnaud --- 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 0d84cb2..ac81f9d 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 be33366..1bde9c3 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.7.4