osprey-method-handler
osprey-method-handler copied to clipboard
Response validation
Validate responses match the RAML schemas for methods.
- Status code
- Response body
- Response headers
Hey Blake,
Any update on response validation? Looking to use this feature in osprey.
Thanks!
@bmv437 It actually shouldn't be very hard to implement in development - either by logging or error entirely. Just need to monkey patch some methods. Also of interest: https://www.npmjs.com/package/on-headers.