From 95ce317470241f11846bb75e2cb896326a5f0889 Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Fri, 9 Nov 2018 16:35:31 -0300 Subject: [PATCH] Bug 21786: Add library_id to the spec definitions Signed-off-by: Kyle M Hall Signed-off-by: Alex Arnaud --- api/v1/swagger/definitions/account_line.json | 4 ++++ api/v1/swagger/definitions/patron_account_credit.json | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/api/v1/swagger/definitions/account_line.json b/api/v1/swagger/definitions/account_line.json index ba1c717..0d84cb2 100644 --- a/api/v1/swagger/definitions/account_line.json +++ b/api/v1/swagger/definitions/account_line.json @@ -76,6 +76,10 @@ "user_id": { "type": "integer", "description": "Internal patron identifier for the staff member that introduced the account line" + }, + "library_id": { + "type": "string", + "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 ddb71e3..be33366 100644 --- a/api/v1/swagger/definitions/patron_account_credit.json +++ b/api/v1/swagger/definitions/patron_account_credit.json @@ -10,6 +10,10 @@ "minimum": 0, "description": "Credit amount" }, + "library_id": { + "type": "string", + "description": "Internal identifier for the library in which the transaction took place" + }, "account_lines_ids": { "type": "array", "items": { -- 2.7.4