From 83bd7b1a58f24952ef674f24a2ac98412f1c98de Mon Sep 17 00:00:00 2001 From: James Daily Date: Thu, 13 Sep 2018 10:29:55 -0400 Subject: [PATCH] Correct "error" response JSON code snippet Added missing double-quote within error.errors[].message `"File Not Found`, and applied linting as per https://jsoneditoronline.org --- jsoncstyleguide.xml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/jsoncstyleguide.xml b/jsoncstyleguide.xml index 3a2ac25..06fa813 100644 --- a/jsoncstyleguide.xml +++ b/jsoncstyleguide.xml @@ -521,11 +521,13 @@ Property Value Type: object
Parent: - "error": { "code": 404, "message": "File Not Found", - "errors": [{ - "domain": "Calendar", - "reason": "ResourceNotFoundException", - "message": "File Not Found - }] + "errors": [ + { + "domain": "Calendar", + "reason": "ResourceNotFoundException", + "message": "File Not Found" + } + ] } }