Ghost/core/server/api/v2/utils
Daniel Lockyer 8853067830 Added custom json-string format to AJV validator
no issue

- the value of `mobiledoc` when submitting a page/post via the API must
  be JSON, but we don't validate this
- this results in url-utils throwing an error, which ends up being a 500
- this commit adds a custom format to AJV to validate it is valid JSON
- also updates tests with bad JSON - 'a'
2020-04-17 11:56:20 +01:00
..
serializers Moved htmlToMobiledocConverter() out of renderers 2020-03-19 12:18:54 +00:00
validators Added custom json-string format to AJV validator 2020-04-17 11:56:20 +01:00
index.js Added comments for Ghost API 2019-05-06 14:49:25 +02:00
permissions.js Fixed unsafeAttributes fetching in Admin API v2 2019-10-09 21:16:27 +02:00