From: Tomas Cohen Arazi Date: Tue, 17 Jan 2017 18:19:06 +0000 (-0300) Subject: Bug 17927: (QA followup) Fix boolean types X-Git-Tag: v17.05.00~758 X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=commitdiff_plain;ds=sidebyside;h=105b82b8461786ac6695e90aa8a2c1d4c36b4190;p=koha_ffzg Bug 17927: (QA followup) Fix boolean types Signed-off-by: Tomas Cohen Arazi Signed-off-by: Kyle M Hall --- 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": {