From: Lari Taskula Date: Tue, 9 Aug 2016 11:42:15 +0000 (+0300) Subject: Bug 17086: Reword borrowers to patrons in Swagger tags for holds X-Git-Url: http://git.rot13.org/?a=commitdiff_plain;h=153e07fe5e9956e2024a261dee793cc34ed1351c;p=koha.git Bug 17086: Reword borrowers to patrons in Swagger tags for holds Routes for holds have tags called "borrowers". We should use "patrons" instead in order not to have both (endpoints for patrons already add "patrons"). This patch changes the tags from borrowers to patrons in: GET /holds POST /holds Signed-off-by: Josef Moravec Signed-off-by: Katrin Fischer Signed-off-by: Kyle M Hall --- diff --git a/api/v1/swagger/paths/holds.json b/api/v1/swagger/paths/holds.json index 9e7ec34326..7d679756ea 100644 --- a/api/v1/swagger/paths/holds.json +++ b/api/v1/swagger/paths/holds.json @@ -2,7 +2,7 @@ "/holds": { "get": { "operationId": "listHolds", - "tags": ["borrowers", "holds"], + "tags": ["patrons", "holds"], "parameters": [ { "name": "reserve_id", @@ -135,7 +135,7 @@ }, "post": { "operationId": "addHold", - "tags": ["borrowers", "holds"], + "tags": ["patrons", "holds"], "parameters": [{ "name": "body", "in": "body",