Bugzilla – Attachment 69767 Details for
Bug 16330
Add routes to add, update and delete patrons
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 16330: (QA followup) Repect guidelines on plurals Patron > Patrons
Bug-16330-QA-followup-Repect-guidelines-on-plurals.patch (text/plain), 2.28 KB, created by
Benjamin Rokseth
on 2017-12-13 08:31:10 UTC
(
hide
)
Description:
Bug 16330: (QA followup) Repect guidelines on plurals Patron > Patrons
Filename:
MIME Type:
Creator:
Benjamin Rokseth
Created:
2017-12-13 08:31:10 UTC
Size:
2.28 KB
patch
obsolete
>From 7c9d8e07b4a697f856b45fc3fc4812fc15de2f5a Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Tue, 5 Dec 2017 16:43:00 -0300 >Subject: [PATCH] Bug 16330: (QA followup) Repect guidelines on plurals Patron > > Patrons > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >Signed-off-by: Benjamin Rokseth <benjamin.rokseth@kul.oslo.kommune.no> >--- > Koha/REST/V1/{Patron.pm => Patrons.pm} | 4 ++-- > api/v1/swagger/paths/patrons.json | 10 +++++----- > 2 files changed, 7 insertions(+), 7 deletions(-) > rename Koha/REST/V1/{Patron.pm => Patrons.pm} (99%) > >diff --git a/Koha/REST/V1/Patron.pm b/Koha/REST/V1/Patrons.pm >similarity index 99% >rename from Koha/REST/V1/Patron.pm >rename to Koha/REST/V1/Patrons.pm >index 52ffab3..357c099 100644 >--- a/Koha/REST/V1/Patron.pm >+++ b/Koha/REST/V1/Patrons.pm >@@ -1,4 +1,4 @@ >-package Koha::REST::V1::Patron; >+package Koha::REST::V1::Patrons; > > # This file is part of Koha. > # >@@ -27,7 +27,7 @@ use Try::Tiny; > > =head1 NAME > >-Koha::REST::V1::Patron >+Koha::REST::V1::Patrons > > =head1 API > >diff --git a/api/v1/swagger/paths/patrons.json b/api/v1/swagger/paths/patrons.json >index f34dd17..9790fdd 100644 >--- a/api/v1/swagger/paths/patrons.json >+++ b/api/v1/swagger/paths/patrons.json >@@ -1,7 +1,7 @@ > { > "/patrons": { > "get": { >- "x-mojo-to": "Patron#list", >+ "x-mojo-to": "Patrons#list", > "operationId": "listPatrons", > "tags": ["patrons"], > "produces": [ >@@ -490,7 +490,7 @@ > } > }, > "post": { >- "x-mojo-to": "Patron#add", >+ "x-mojo-to": "Patrons#add", > "operationId": "addPatron", > "tags": ["patrons"], > "parameters": [{ >@@ -565,7 +565,7 @@ > }, > "/patrons/{borrowernumber}": { > "get": { >- "x-mojo-to": "Patron#get", >+ "x-mojo-to": "Patrons#get", > "operationId": "getPatron", > "tags": ["patrons"], > "parameters": [{ >@@ -621,7 +621,7 @@ > } > }, > "put": { >- "x-mojo-to": "Patron#update", >+ "x-mojo-to": "Patrons#update", > "operationId": "updatePatron", > "tags": ["patrons"], > "parameters": [ >@@ -699,7 +699,7 @@ > } > }, > "delete": { >- "x-mojo-to": "Patron#delete", >+ "x-mojo-to": "Patrons#delete", > "operationId": "deletePatron", > "tags": ["patrons"], > "parameters": [{ >-- >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 16330
:
50803
|
50889
|
51066
|
51131
|
51132
|
53216
|
53217
|
53820
|
54942
|
55147
|
56666
|
56667
|
56668
|
63646
|
63647
|
63649
|
63650
|
69546
|
69547
|
69548
|
69549
|
69550
|
69551
|
69752
|
69762
|
69763
|
69764
|
69765
|
69766
|
69767
|
69768
|
69787
|
70034
|
70035
|
70036
|
70037
|
70038
|
71667
|
71668
|
71669
|
71670
|
71671
|
71920
|
71921
|
71922
|
71923
|
71924
|
71925
|
71933
|
71934
|
71935
|
71936
|
71937
|
71938
|
73434