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 <josef.moravec@gmail.com>

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

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
This commit is contained in:
Lari Taskula 2016-08-09 14:42:15 +03:00 committed by Kyle M Hall
parent 65af3904c5
commit 153e07fe5e
1 changed files with 2 additions and 2 deletions

View File

@ -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",