This PR adds an endpoint that strictly validates a POSTed document against the document's model's schema. To run the unit tests, please run npm t in the app directory. To run an end-to-end test, I recommend grabbing a document from mEditor's API or UI, then posting it to the new validate endpoint.
This PR adds an endpoint that strictly validates a POSTed document against the document's model's schema. To run the unit tests, please run
npm t
in the app directory. To run an end-to-end test, I recommend grabbing a document from mEditor's API or UI, then posting it to the new validate endpoint.