eykrehbein / strest

⚡️ CI-ready tests for REST APIs configured in YAML
MIT License
1.74k stars 59 forks source link

Allow validation against json schema files #110

Closed SuzanaK closed 5 years ago

SuzanaK commented 5 years ago

I have postman tests that I would like to migrate to strest. They test against a json schema file generated with json-schema-generator and copied into the Pre-request Script (postman.setEnvironmentVariable("searchResultSchema", JSON.stringify({...})))). The response is then validated against the schema in the Tests. How can I use these schema files in strest?