Making use of [JSONSchema](https://github.com/kylef/JSONSchema.swift) to provider a matcher. This might look something like: ``` swift let schema = Schema([ "type": "object", "properties": [ "name": ["type": "string"], "price": ["type": "number"], ], "required": ["name"], ]) let matcher = allOf([ uri('/'), json(schema), ]) stub(matcher, response) ```
Activity
bruceflowers commentedon Jul 1, 2015
👍 I would like to see this enhancement as well
acfriedman commentedon Apr 12, 2018
Was this ever implemented?