Bugzilla – Attachment 57351 Details for
Bug 17086
REST API: Reword borrowers to patrons in Swagger tags for holds
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED-OFF] Bug 17086: Reword borrowers to patrons in Swagger tags for holds
SIGNED-OFF-Bug-17086-Reword-borrowers-to-patrons-i.patch (text/plain), 1.25 KB, created by
Josef Moravec
on 2016-11-08 21:01:26 UTC
(
hide
)
Description:
[SIGNED-OFF] Bug 17086: Reword borrowers to patrons in Swagger tags for holds
Filename:
MIME Type:
Creator:
Josef Moravec
Created:
2016-11-08 21:01:26 UTC
Size:
1.25 KB
patch
obsolete
>From 4592b24793c1e9b58d574e03b7d8600bfe363738 Mon Sep 17 00:00:00 2001 >From: Lari Taskula <larit@student.uef.fi> >Date: Tue, 9 Aug 2016 14:42:15 +0300 >Subject: [PATCH] [SIGNED-OFF] 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> >--- > api/v1/swagger/paths/holds.json | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/api/v1/swagger/paths/holds.json b/api/v1/swagger/paths/holds.json >index 9e7ec34..7d67975 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", >-- >2.1.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 17086
:
54197
|
57351
|
57671