asyncapi / parser-js

AsyncAPI parser for Javascript (browser-compatible too).
Apache License 2.0
116 stars 92 forks source link

feat: add Spectral rule to validate operation messages #911

Closed smoya closed 9 months ago

smoya commented 9 months ago

Description

Part of https://github.com/asyncapi/spec/issues/991

This PR adds all the scaffolding for adding Spectral rules to v3 plus the first of three new rules related with https://github.com/asyncapi/spec/issues/991. This rule, in particular, checks that operation messages, no matter where they are located, need to point to messages from the channel specified in its channel field.

Related issue(s) https://github.com/asyncapi/spec/issues/991

sonarcloud[bot] commented 9 months ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

asyncapi-bot commented 9 months ago

:tada: This PR is included in version 3.0.0-next-major-spec.13 :tada:

The release is available on:

Your semantic-release bot :package::rocket: