You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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/).
The text was updated successfully, but these errors were encountered:
Is there any plan for realizing this feature, I am planning to utilize springmvc-raml-plugin to generate a RAML of my existing product, and use that to test my endpoints, but it generates each json schema separately within request.body definition. I am trying to modify it to create a common schemas map, but it would be nicer if abao was flexible enough to handle such a minor difference in RAML structure
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/).
The text was updated successfully, but these errors were encountered: