-
-
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
[AsyncAPI] Identify more orphaned components besides schemas #1103
Comments
I have/plan to create sub-issues for solving this issue, it is based on the available components in https://www.asyncapi.com/docs/specifications/v2.3.0#componentsObject. List of sub-issues:
|
Before adding the rest of the issues, a thought came to mind. Do we want all of these checks as part of one rule or split into multiple, as it seems https://github.com/stoplightio/spectral/pull/1440/files introduced 🤔 Or asked another way, have you folks seen a reason why someone might want to only check some of the components instead of all? cc @P0lip |
I wa surprised that a rule was made that only checks for one type of component (I have in mind that PR with |
Alright, let's keep it consistent then. |
In #974, the asyncapi ruleset has been initiated with a rule which will identify unused/orphaned schemas, under components.
As identified in #1073 this rule could really benefit from being extended to be able to detect other kinds of orphan objects (messageTraits, ...).
/cc @derberg
The text was updated successfully, but these errors were encountered: