From 59f03415f22847b26d8668b276f5e8bb86f1ad5d Mon Sep 17 00:00:00 2001 From: Lari Taskula Date: Tue, 9 Aug 2016 14:50:26 +0300 Subject: [PATCH] Bug 17005: Reword borrowers to patrons in Swagger tags for checkouts history Routes for checkouts history 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 /checkouts/history GET /checkouts/history/{checkout_id} --- api/v1/swagger.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/v1/swagger.json b/api/v1/swagger.json index c590613..0928ee7 100644 --- a/api/v1/swagger.json +++ b/api/v1/swagger.json @@ -430,7 +430,7 @@ "/checkouts/history": { "get": { "operationId": "listhistoryCheckouts", - "tags": ["borrowers", "checkouts"], + "tags": ["patrons", "checkouts"], "parameters": [ { "name": "borrowernumber", @@ -466,7 +466,7 @@ "/checkouts/history/{checkout_id}": { "get": { "operationId": "gethistoryCheckout", - "tags": ["borrowers", "checkouts"], + "tags": ["patrons", "checkouts"], "parameters": [ { "name": "checkout_id", -- 1.9.1