diff --git a/tests/files/10_error_with_links.json b/tests/files/10_error_with_links.json index cedef92..c5dde86 100644 --- a/tests/files/10_error_with_links.json +++ b/tests/files/10_error_with_links.json @@ -1,15 +1,17 @@ { "errors": [ { - "code": "123", - "source": { "pointer": "/data/attributes/first-name" }, - "title": "Value is too short", + "code": "123", + "source": { + "pointer": "/data/attributes/first-name" + }, + "title": "Value is too short", "links": { "about": "http://example.org/errors/123" } - }, + }, { - "code": "124", + "code": "124", "links": { "about": { "href": "http://example.org/errors/124" diff --git a/tests/files/19_error_without_recommended_properties.json b/tests/files/19_error_without_recommended_properties.json new file mode 100644 index 0000000..0eca35a --- /dev/null +++ b/tests/files/19_error_without_recommended_properties.json @@ -0,0 +1,10 @@ +{ + "errors": [ + { + "description": "some description about the error" + } + ], + "jsonapi": { + "version": "1.0" + } +}