diff options
| author | Jules Laplace <jules@okfoc.us> | 2016-03-28 14:39:44 -0400 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2016-03-28 14:53:12 -0400 |
| commit | ea9a94f3e1f980153588da1aee3fc7e456e292b5 (patch) | |
| tree | 607e647f646e500b134573a091a1499af522b00c /examples | |
| parent | 8898bbe48285c7f9f11760ef420cca43d683d5e0 (diff) | |
okschema: replace array-type data with empty list if unspecified (due to constraint of querystring body-parser)v0.1.19
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/db.json | 23 |
1 files changed, 17 insertions, 6 deletions
diff --git a/examples/db.json b/examples/db.json index 4319237..5e10d60 100644 --- a/examples/db.json +++ b/examples/db.json @@ -92,6 +92,22 @@ }, "__index": 3, "id": "croissant" + }, + { + "type": "Test", + "title": "Testing", + "description": "", + "color": "red", + "video": { + "url": "", + "type": "", + "token": "", + "title": "", + "thumb": "" + }, + "__index": "5", + "dateCreated": "Mon, 28 Mar 2016 18:49:32 GMT", + "images": [] } ], "page": [ @@ -100,12 +116,7 @@ "body": "Just a small bakery", "id": "about", "__index": "1", - "links": [ - { - "text": "asdf2", - "uri": "asdf" - } - ], + "links": [], "dateCreated": "" }, { |
