spectral icon indicating copy to clipboard operation
spectral copied to clipboard

fix(rulesets): handle empty payload and headers in AsyncAPI message's examples validation

Open magicmatatjahu opened this issue 1 year ago • 0 comments

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".

magicmatatjahu avatar Sep 19 '22 16:09 magicmatatjahu