Bug 19784: Remove reference to 'borrowernumber' param from other endpoints
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>
This commit is contained in:
parent
10de4f437f
commit
87dc9b0ac1
|
|
@ -5,7 +5,8 @@
|
|||
"$ref": "../x-primitives.json#/reserve_id"
|
||||
},
|
||||
"borrowernumber": {
|
||||
"$ref": "../x-primitives.json#/borrowernumber"
|
||||
"type": "integer",
|
||||
"description": "Internal patron identifier"
|
||||
},
|
||||
"reservedate": {
|
||||
"type": ["string", "null"],
|
||||
|
|
|
|||
|
|
@ -12,7 +12,10 @@
|
|||
"type": "integer"
|
||||
},
|
||||
{
|
||||
"$ref": "../parameters.json#/borrowernumberQueryParam"
|
||||
"name": "borrowernumber",
|
||||
"in": "query",
|
||||
"description": "Internal patron identifier",
|
||||
"type": "integer"
|
||||
},
|
||||
{
|
||||
"name": "reservedate",
|
||||
|
|
@ -171,7 +174,7 @@
|
|||
"type": "object",
|
||||
"properties": {
|
||||
"borrowernumber": {
|
||||
"description": "Borrower internal identifier",
|
||||
"description": "Internal patron identifier",
|
||||
"type": "integer"
|
||||
},
|
||||
"biblionumber": {
|
||||
|
|
|
|||
|
|
@ -39,7 +39,11 @@
|
|||
"required": false,
|
||||
"type": "integer"
|
||||
}, {
|
||||
"$ref": "../parameters.json#/borrowernumberQueryParam"
|
||||
"name": "borrowernumber",
|
||||
"in": "query",
|
||||
"description": "Internal patron identifier",
|
||||
"required": false,
|
||||
"type": "integer"
|
||||
}, {
|
||||
"name": "completed",
|
||||
"in": "query",
|
||||
|
|
|
|||
Loading…
Reference in New Issue