Bugzilla – Attachment 54197 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]
Bug 17086: Reword borrowers to patrons in Swagger tags for holds
Bug-17086-Reword-borrowers-to-patrons-in-Swagger-t.patch (text/plain), 1.14 KB, created by
Lari Taskula
on 2016-08-09 11:44:42 UTC
(
hide
)
Description:
Bug 17086: Reword borrowers to patrons in Swagger tags for holds
Filename:
MIME Type:
Creator:
Lari Taskula
Created:
2016-08-09 11:44:42 UTC
Size:
1.14 KB
patch
obsolete
>From 8b77f7ebd5960d759a8cf9a0db6ab35b0fb43778 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] 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 >--- > 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 b3f30f8..933ff30 100644 >--- a/api/v1/swagger.json >+++ b/api/v1/swagger.json >@@ -77,7 +77,7 @@ > "/holds": { > "get": { > "operationId": "listHolds", >- "tags": ["borrowers", "holds"], >+ "tags": ["patrons", "holds"], > "parameters": [ > { > "name": "reserve_id", >@@ -202,7 +202,7 @@ > }, > "post": { > "operationId": "addHold", >- "tags": ["borrowers", "holds"], >+ "tags": ["patrons", "holds"], > "parameters": [ > { > "name": "body", >-- >1.9.1
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