From dbd1b8498a19ab52fe9d387bb3f8615d6cdc1bb8 Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Tue, 17 Jan 2017 15:19:06 -0300 Subject: [PATCH] Bug 17927: (QA followup) Fix boolean types Signed-off-by: Tomas Cohen Arazi --- api/v1/swagger/definitions/hold.json | 4 ++-- api/v1/swagger/definitions/patron.json | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/api/v1/swagger/definitions/hold.json b/api/v1/swagger/definitions/hold.json index a1d82fabb1..f1110f21c3 100644 --- a/api/v1/swagger/definitions/hold.json +++ b/api/v1/swagger/definitions/hold.json @@ -58,11 +58,11 @@ "description": "the date the hold expires" }, "lowestPriority": { - "type": "integer", + "type": "boolean", "description": "" }, "suspend": { - "type": "integer", + "type": "boolean", "description": "" }, "suspend_until": { diff --git a/api/v1/swagger/definitions/patron.json b/api/v1/swagger/definitions/patron.json index 6becabcef2..d14666e667 100644 --- a/api/v1/swagger/definitions/patron.json +++ b/api/v1/swagger/definitions/patron.json @@ -140,11 +140,11 @@ "description": "date the patron's card is set to expire" }, "gonenoaddress": { - "type": ["integer", "null"], + "type": ["boolean", "null"], "description": "set to 1 if library marked this patron as having an unconfirmed address" }, "lost": { - "type": ["integer", "null"], + "type": ["boolean", "null"], "description": "set to 1 if library marked this patron as having lost his card" }, "debarred": { -- 2.11.0