A
A
Alexey Blyshko2017-07-07 20:04:39
Unit testing
Alexey Blyshko, 2017-07-07 20:04:39

Is there a ready-made json parser and validator based on raml1.0?

It would be desirable to fasten in functional tests a check of contracts to apishny methods.
If earlier (in raml 0.8) it was possible to extract a json schema from it and compare the response with it using json-guard, now (raml 1.0) this has become problematic due to the lack of a json schema.
Maybe someone has already come across and can advise which parser / validator / converter that will allow you to take raml, the server's response and say - does it comply with the contract or not?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question