From be19e9f51dc2c7320e8ae124ebbbbcbba5b23029 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 --- 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 ba1c7172d4..0d84cb2dc9 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 ddb71e3dcc..be33366f2d 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.19.1