-
-
Notifications
You must be signed in to change notification settings - Fork 37
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: gsoc project - add autofix feature #236
base: master
Are you sure you want to change the base?
Conversation
…e it delete repeated tag and its descendant items; Add force save to update diagnostic after fixing applied
…teEmptyVariables, updateURL, deleteID
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Welcome to AsyncAPI. Thanks a lot for creating your first pull request. Please check out our contributors guide useful for opening a pull request.
Keep in mind there are also other channels you can use to interact with AsyncAPI community. For more details check out this issue.
Quality Gate failedFailed conditions |
@Pakisan sorry but I'm not a real maintainer here, just helping @ivangsa if there are some automation related topics, or extension publish pipeline. I have zero opinion to share. It's the same if it comes to my support for jasyncapi 😃 and I'm definitely happy to step down if anyone can take up my work and @ivangsa is happy about it |
hi @Pakisan, sorry I didn't saw this in time.. I will find some time this week to review.. |
@FelicixAwe How can I test this? do you have a project with asyncapi.yml that can be autofixed I have a vscode workspace with a extends: ["spectral:oas", "spectral:asyncapi", "spectral:arazzo"] I couldn't manage to trigger any of the autofix rule contained in Does this support only How do you match the spectral "problem code" here? is it matched by the content of the description? |
Quality Gate failedFailed conditions |
Hi. Yes it supports v2.
|
@FelicixAwe How can I test this? do you have a project with asyncapi.yml that can be autofixed |
Description
This PR includes the implementation of autofix feature of the GSoC 24' project.
Project idea link click here
High-level overview:
Create asyncapi-ruleset and fixers for the rule. Diagnostic info is provided by Spectral.
Fixers and corresponding asyncapi-rule
Unit Test
Unit tests is included in
/src/functions/test
, to run unit testing:npm test
Related issue(s)
None