Koha/api/v1/swagger/paths.json
Tomas Cohen Arazi 217d0df517 Bug 17428: [REST] Cities swagger specification
This patch adds the swagger definitions for the /cities endpoint

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
2016-10-28 14:42:48 +00:00

20 lines
456 B
JSON

{
"/cities": {
"$ref": "paths/cities.json#/~1cities"
},
"/cities/{cityid}": {
"$ref": "paths/cities.json#/~1cities~1{cityid}"
},
"/holds": {
"$ref": "paths/holds.json#/~1holds"
},
"/holds/{reserve_id}": {
"$ref": "paths/holds.json#/~1holds~1{reserve_id}"
},
"/patrons": {
"$ref": "paths/patrons.json#/~1patrons"
},
"/patrons/{borrowernumber}": {
"$ref": "paths/patrons.json#/~1patrons~1{borrowernumber}"
}
}