Bug 13799: Change 'required' value type from string to boolean
authorJulian Maurice <julian.maurice@biblibre.com>
Wed, 7 Oct 2015 12:19:58 +0000 (14:19 +0200)
committerTomas Cohen Arazi <tomascohen@theke.io>
Wed, 4 Nov 2015 16:47:33 +0000 (13:47 -0300)
String is not accepted as a valid value in more recent versions of
Swagger2 module

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

api/v1/swagger.json

index a20cb20..5654dc0 100644 (file)
       "name": "borrowernumber",
       "in": "path",
       "description": "Internal borrower identifier",
-      "required": "true",
+      "required": true,
       "type": "integer"
     }
   }