nasa / gesdisc-meditor

MIT License
7 stars 2 forks source link

feat(app): add strict schema validation endpoint #55

Closed benforshey closed 4 months ago

benforshey commented 5 months ago

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.

benforshey commented 4 months ago

PR update from feedback.