Skip to content
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: match Spectral formats based on schemas found in @asyncapi/specs pkg #821

Closed

Conversation

smoya
Copy link
Member

@smoya smoya commented Aug 1, 2023

Description

This PR removes the need for creating new Spectral ruleset formats matching new AsyncAPI versions.
This translates to the removal of the requirement of making changes every time we add a new version into @asyncapi/specs package. It might be some exceptions in the case we, for example, add a new major spec version, where rules won't apply and manual changes (and expected I would say) will need to be done.

This PR enables adding support for v3 of the spec in a very easy way (in a next PR). In fact, this allows a v3 doc to be parsed but not validated.

cc @jonaslagoni @magicmatatjahu @Amzani @fmvilas

@sonarcloud
Copy link

sonarcloud bot commented Aug 1, 2023

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

@smoya smoya changed the base branch from next-major-spec to master August 1, 2023 09:45
@smoya smoya changed the base branch from master to next-major-spec August 1, 2023 09:45
@smoya
Copy link
Member Author

smoya commented Aug 1, 2023

Changing base to master but in a new PR.

@smoya smoya closed this Aug 1, 2023
@smoya smoya deleted the feat/spectralFormatMatching branch August 1, 2023 09:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant