include request schema in request object
Open
enhancement
feature request
- Dominant language
- CoffeeScript
- Stars
- 352
- Forks
- 57
- PR merge metrics
- No merged PRs in 30d
Description
Any chance we could get the json-schema definition of the request body into the request object for hook functions?
Contextually, I was trying to figure out how to use abao for a quick fuzz-testing hook file. I think with this, and the new beforeEach functionality I saw on master, it'd be pretty simple to throw random data that meets (or violates) the json-schema against the API to see how it reacts (e.g. https://github.com/pateketrueke/json-schema-faker/).
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.