Lines 2-8
Link Here
|
2 |
"swagger": "2.0", |
2 |
"swagger": "2.0", |
3 |
"info": { |
3 |
"info": { |
4 |
"title": "Koha REST API", |
4 |
"title": "Koha REST API", |
5 |
"version": "0.1", |
5 |
"version": "1", |
6 |
"license": { |
6 |
"license": { |
7 |
"name": "GPL v3", |
7 |
"name": "GPL v3", |
8 |
"url": "http://www.gnu.org/licenses/gpl.txt" |
8 |
"url": "http://www.gnu.org/licenses/gpl.txt" |
Lines 16-22
Link Here
|
16 |
"paths": { |
16 |
"paths": { |
17 |
"/borrowers": { |
17 |
"/borrowers": { |
18 |
"get": { |
18 |
"get": { |
19 |
"x-mojo-controller": "Koha::REST::Borrowers", |
19 |
"x-mojo-controller": "Koha::REST::V1::Borrowers", |
20 |
"operationId": "listBorrowers", |
20 |
"operationId": "listBorrowers", |
21 |
"produces": [ |
21 |
"produces": [ |
22 |
"application/json" |
22 |
"application/json" |
Lines 36-42
Link Here
|
36 |
}, |
36 |
}, |
37 |
"/borrowers/{borrowernumber}": { |
37 |
"/borrowers/{borrowernumber}": { |
38 |
"get": { |
38 |
"get": { |
39 |
"x-mojo-controller": "Koha::REST::Borrowers", |
39 |
"x-mojo-controller": "Koha::REST::V1::Borrowers", |
40 |
"operationId": "getBorrower", |
40 |
"operationId": "getBorrower", |
41 |
"parameters": [ |
41 |
"parameters": [ |
42 |
{ |
42 |
{ |