-
-
Notifications
You must be signed in to change notification settings - Fork 239
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(rulesets): add rule to validate message's examples #2126
Merged
P0lip
merged 5 commits into
stoplightio:develop
from
magicmatatjahu:asyncapi/message-examples
Jun 6, 2022
Merged
feat(rulesets): add rule to validate message's examples #2126
P0lip
merged 5 commits into
stoplightio:develop
from
magicmatatjahu:asyncapi/message-examples
Jun 6, 2022
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
magicmatatjahu
added
enhancement
New feature or request
AsyncAPI
Issues related to the AsyncAPI ruleset
labels
Apr 12, 2022
magicmatatjahu
requested review from
smoya,
jonaslagoni and
a team
as code owners
April 12, 2022 21:08
magicmatatjahu
changed the title
Asyncapi/message examples
feat(rulesets): add rule to validate message's examples
Apr 12, 2022
P0lip
reviewed
Apr 14, 2022
magicmatatjahu
force-pushed
the
asyncapi/message-examples
branch
2 times, most recently
from
May 19, 2022 15:24
fd7cb7e
to
10a82b9
Compare
P0lip
reviewed
May 31, 2022
packages/rulesets/src/asyncapi/functions/asyncApi2MessageExamplesValidation.ts
Outdated
Show resolved
Hide resolved
P0lip
force-pushed
the
asyncapi/message-examples
branch
from
June 6, 2022 15:35
da965a4
to
d5dbf08
Compare
P0lip
approved these changes
Jun 6, 2022
stoplight-bot
pushed a commit
that referenced
this pull request
Jun 7, 2022
# [@stoplight/spectral-rulesets-v1.10.0](https://github.com/stoplightio/spectral/compare/@stoplight/spectral-rulesets-v1.9.0...@stoplight/spectral-rulesets-v1.10.0) (2022-06-07) ### Features * **rulesets:** add rule to validate AsyncAPI message's examples ([#2126](#2126)) ([87ef046](87ef046))
🎉 This PR is included in version @stoplight/spectral-rulesets-v1.10.0 🎉 The release is available on npm package (@latest dist-tag) Your semantic-release bot 📦🚀 |
20 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #2125
Checklist
Does this PR introduce a breaking change?
Additional context
This PR adds rule to validate message's examples: validate
payload
andheaders
field in each example according to the schema in payload and headers.Part of #2100