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

Bug ; rules triage ? unused component whereas it is invalid link #591

Closed
LasneF opened this issue Nov 28, 2024 · 1 comment
Closed

Bug ; rules triage ? unused component whereas it is invalid link #591

LasneF opened this issue Nov 28, 2024 · 1 comment

Comments

@LasneF
Copy link

LasneF commented Nov 28, 2024

image

in the sample below the lik to the content is wrong as pointing to a local file not provided

the issue should be that $ref cannot be resolved

but instead it mentionn Rues OAS3 unused component , looks not the right rule triggered

@daveshanley
Copy link
Owner

This has been fixed in the latest version of vacuum (v0.16.2). There is now an option to ExtractReferencesFromExtenions config param in vacuum that will turn this on or off.

https://github.com/daveshanley/vacuum/blob/main/motor/rule_applicator.go#L77

If the files CAN be resolved however, libopenapi knows how to pull them in, supports all kinds of files like markdown, source code and more.

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

No branches or pull requests

2 participants