Bug 17927: (QA followup) Fix boolean types
authorTomas Cohen Arazi <tomascohen@theke.io>
Tue, 17 Jan 2017 18:19:06 +0000 (15:19 -0300)
committerKyle M Hall <kyle@bywatersolutions.com>
Tue, 7 Feb 2017 17:55:43 +0000 (17:55 +0000)
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>

api/v1/swagger/definitions/hold.json
api/v1/swagger/definitions/patron.json

index a1d82fa..f1110f2 100644 (file)
       "description": "the date the hold expires"
     },
     "lowestPriority": {
-      "type": "integer",
+      "type": "boolean",
       "description": ""
     },
     "suspend": {
-      "type": "integer",
+      "type": "boolean",
       "description": ""
     },
     "suspend_until": {
index 6becabc..d14666e 100644 (file)
       "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": {