How to make custom rules to require example of content and response?
Detailed description
Hello, there.
I'm working on custom rule set, I need to make rules that require examples for requestBody and response. I have question in this context - how to make a rule to check nested objects? I figured out that content and response objects (at rule definition) are related to this but how to check that nested application/json (or ideally any property) contains example or examples object? Or maybe there is another way to check that?
Context
I'm working on custom rule set, I need to make rules that require examples for requestBody and response. I have question in this context - described above.
I think such kind of check would be useful for other users.
Possible implementation
Your environment
Include as many relevant details about the environment you experienced the bug in and how to reproduce it.
- Node Version: 10.14.1
- Operating system and version (e.g. Ubuntu 16.04, Windows 7): Ubuntu 16.04
- speccy version: 0.11.0
Just bump, any help would be appreciated, thanks.