Bug 17086: Reword borrowers to patrons in Swagger tags for holds
authorLari Taskula <larit@student.uef.fi>
Tue, 9 Aug 2016 11:42:15 +0000 (14:42 +0300)
committerKyle M Hall <kyle@bywatersolutions.com>
Tue, 22 Nov 2016 11:31:08 +0000 (11:31 +0000)
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 <josef.moravec@gmail.com>

Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>

api/v1/swagger/paths/holds.json

index 9e7ec34..7d67975 100644 (file)
@@ -2,7 +2,7 @@
   "/holds": {
     "get": {
       "operationId": "listHolds",
-      "tags": ["borrowers", "holds"],
+      "tags": ["patrons", "holds"],
       "parameters": [
         {
           "name": "reserve_id",
     },
     "post": {
       "operationId": "addHold",
-      "tags": ["borrowers", "holds"],
+      "tags": ["patrons", "holds"],
       "parameters": [{
           "name": "body",
           "in": "body",