spectral
spectral copied to clipboard
fix(rulesets): handle empty payload and headers in AsyncAPI message's examples validation
Checklist
- [X] Tests added / updated
- [ ] Docs added / updated - not needed
Does this PR introduce a breaking change?
- [ ] Yes
- [X] No
The current rule for AsyncAPI message's examples not support use cases where payloads or headers may be empty. Also it does not merge traits in first row and then validate. That PR fix these two "bugs".