Bugzilla – Attachment 54198 Details for
Bug 17005
Extend /checkouts route to list circulation history
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 17005: Reword borrowers to patrons in Swagger tags for checkouts history
Bug-17005-Reword-borrowers-to-patrons-in-Swagger-t.patch (text/plain), 1.29 KB, created by
Lari Taskula
on 2016-08-09 11:53:22 UTC
(
hide
)
Description:
Bug 17005: Reword borrowers to patrons in Swagger tags for checkouts history
Filename:
MIME Type:
Creator:
Lari Taskula
Created:
2016-08-09 11:53:22 UTC
Size:
1.29 KB
patch
obsolete
>From 59f03415f22847b26d8668b276f5e8bb86f1ad5d Mon Sep 17 00:00:00 2001 >From: Lari Taskula <larit@student.uef.fi> >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
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 17005
:
53843
|
53851
|
53852
|
53858
|
54198
|
56698
|
56699
|
61197
|
87254
|
87255
|
87383
|
87384
|
87385
|
87405
|
87406
|
87407
|
87442
|
87443
|
87444
|
87447
|
87448
|
87449
|
88263
|
88264
|
88265
|
88329
|
88330
|
88331
|
91166
|
91167
|
91168
|
91235
|
91236
|
91237
|
91238
|
93757
|
93758
|
93759
|
93760