Bug 18763: Fix swagger/definitions.t
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 8 Jun 2017 19:28:41 +0000 (16:28 -0300)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 14 Jun 2017 17:36:28 +0000 (14:36 -0300)
Test plan:
  prove api/v1/swagger/definitions/patron.json
must return green

Signed-off-by: Lee Jamison <ldjamison@marywood.edu>
swagger/definitions.t test returns green

api/v1/swagger/definitions/patron.json

index d14666e..ebcf696 100644 (file)
     "lastseen": {
       "type": ["string", "null"],
       "description": "last time a patron has been seen (connected at the OPAC or staff interface)"
+    },
+    "lang": {
+      "type": ["string", "null"],
+      "description": "lang to use to send notices to this patron"
+    },
+    "login_attempts": {
+      "type": ["integer", "null"],
+      "description": "number of failed login attemps"
+    },
+    "overdrive_auth_token": {
+      "type": ["string", "null"],
+      "description": "persist OverDrive auth token"
     }
   }
 }