0

How can I perform JSON schema validation for my JSON response using libraries like dojox.json.schema or JSV or JSON Schema by writing Javascript code that sources these JS libraries.

I want to use let feature to assign a variable called is_valid which will run a JS code that validates the response against a JSON schema.

The JS code might look like this.

BDL
  • 21,052
  • 22
  • 49
  • 55
Cshah
  • 5,612
  • 10
  • 33
  • 37
  • ans at http://stackoverflow.com/questions/35753103/workflow-of-creating-tests-using-restfixture – Cshah Sep 20 '16 at 14:18

1 Answers1

0

I was using the wrong version of restFixture. Once i migrated to ver 4.2 from 3.x, it started working fine.

Cshah
  • 5,612
  • 10
  • 33
  • 37