From 9698ad1b2e73b52a6d6c91393b57991ca55aaa6e Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Thu, 9 Nov 2017 11:02:46 -0300 Subject: [PATCH] Bug 7317: (QA followup) Make query parameters consistent with other endpoints Signed-off-by: Tomas Cohen Arazi --- api/v1/swagger/paths/illrequests.json | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/api/v1/swagger/paths/illrequests.json b/api/v1/swagger/paths/illrequests.json index 48f61fde31..21fd76b9a5 100644 --- a/api/v1/swagger/paths/illrequests.json +++ b/api/v1/swagger/paths/illrequests.json @@ -33,17 +33,13 @@ "required": false, "type": "string" }, { - "name": "biblio_id", + "name": "biblionumber", "in": "query", - "description": "The biblio ID associated with a request", + "description": "Internal biblio identifier", "required": false, "type": "integer" }, { - "name": "borrower_id", - "in": "query", - "description": "The borrower ID associated with a request", - "required": false, - "type": "integer" + "$ref": "../parameters.json#/borrowernumberQueryParam" }, { "name": "completed", "in": "query", @@ -75,9 +71,9 @@ "required": false, "type": "string" }, { - "name": "branch_id", + "name": "branchcode", "in": "query", - "description": "The ID of the pickup branch", + "description": "Library ID", "required": false, "type": "string" }], -- 2.14.1