-
-
Notifications
You must be signed in to change notification settings - Fork 240
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 message traits array path to asyncapi headers schema type object rule #2402
Closed
CalemRoelofsSB
wants to merge
14
commits into
stoplightio:develop
from
CalemRoelofsSB:feat/rulesets/add-path-to-asyncapi-headers-schema-type-object
Closed
feat(rulesets): add message traits array path to asyncapi headers schema type object rule #2402
CalemRoelofsSB
wants to merge
14
commits into
stoplightio:develop
from
CalemRoelofsSB:feat/rulesets/add-path-to-asyncapi-headers-schema-type-object
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
CalemRoelofsSB
requested review from
magicmatatjahu,
smoya and
jonaslagoni
as code owners
February 16, 2023 13:54
CalemRoelofsSB
changed the title
feat(rulesets): Add message traits array path to asyncapi-headers-schema-type-object rule
feat(rulesets): Add message traits array path to asyncapi headers schema type object rule
Feb 16, 2023
MateuszPol
previously approved these changes
Feb 21, 2023
CalemRoelofsSB
changed the title
feat(rulesets): Add message traits array path to asyncapi headers schema type object rule
feat(rulesets): add message traits array path to asyncapi headers schema type object rule
Apr 21, 2023
# [@stoplight/spectral-ruleset-migrator-v1.9.2](https://github.com/stoplightio/spectral/compare/@stoplight/spectral-ruleset-migrator-v1.9.1...@stoplight/spectral-ruleset-migrator-v1.9.2) (2023-02-22) ### Bug Fixes * **ruleset-migrator:** use module for require.resolve ([#2405](#2405)) ([d7c0fa4](d7c0fa4))
# [@stoplight/spectral-ruleset-bundler-v1.5.1](https://github.com/stoplightio/spectral/compare/@stoplight/spectral-ruleset-bundler-v1.5.0...@stoplight/spectral-ruleset-bundler-v1.5.1) (2023-02-22) ### Bug Fixes * **ruleset-bundler:** defaults should be last one ([#2403](#2403)) ([8780cfa](8780cfa))
# [@stoplight/spectral-core-v1.17.0](https://github.com/stoplightio/spectral/compare/@stoplight/spectral-core-v1.16.1...@stoplight/spectral-core-v1.17.0) (2023-03-23) ### Features * **core:** support x- extensions in the ruleset ([#2440](#2440)) ([964151e](964151e))
Bumps [vm2](https://github.com/patriksimek/vm2) from 3.9.11 to 3.9.17. - [Release notes](https://github.com/patriksimek/vm2/releases) - [Changelog](https://github.com/patriksimek/vm2/blob/master/CHANGELOG.md) - [Commits](patriksimek/vm2@3.9.11...3.9.17) --- updated-dependencies: - dependency-name: vm2 dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
CalemRoelofsSB
deleted the
feat/rulesets/add-path-to-asyncapi-headers-schema-type-object
branch
April 21, 2023 10:56
Merged
4 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Checklist
Does this PR introduce a breaking change?
Additional context
Currently, the
asyncapi-headers-schema-type-object
will not trigger when theheaders
object is defined explicitly in themessage.traits
array.For example:
The new path added in this PR will match on that array and perform the assertion on the
type
field of any object in that array that has a top level key ofheaders
.