This patch removes the $ref occurences for borrowernumber in not
patron-specific endpoints. 'borrowernumber' is still used on them, but as a
hardcoded parameter. The param rename will happen on a separate bug for
each endpoint.
Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
"$ref": "../x-primitives.json#/reserve_id"
},
"borrowernumber": {
"$ref": "../x-primitives.json#/reserve_id"
},
"borrowernumber": {
- "$ref": "../x-primitives.json#/borrowernumber"
+ "type": "integer",
+ "description": "Internal patron identifier"
},
"reservedate": {
"type": ["string", "null"],
},
"reservedate": {
"type": ["string", "null"],
- "$ref": "../parameters.json#/borrowernumberQueryParam"
+ "name": "borrowernumber",
+ "in": "query",
+ "description": "Internal patron identifier",
+ "type": "integer"
},
{
"name": "reservedate",
},
{
"name": "reservedate",
"type": "object",
"properties": {
"borrowernumber": {
"type": "object",
"properties": {
"borrowernumber": {
- "description": "Borrower internal identifier",
+ "description": "Internal patron identifier",
"type": "integer"
},
"biblionumber": {
"type": "integer"
},
"biblionumber": {
"required": false,
"type": "integer"
}, {
"required": false,
"type": "integer"
}, {
- "$ref": "../parameters.json#/borrowernumberQueryParam"
+ "name": "borrowernumber",
+ "in": "query",
+ "description": "Internal patron identifier",
+ "required": false,
+ "type": "integer"
}, {
"name": "completed",
"in": "query",
}, {
"name": "completed",
"in": "query",