vacuum is the worlds fastest OpenAPI 3, OpenAPI 2 / Swagger linter and quality analysis tool. Built in go, it tears through API specs faster than you can think. vacuum is compatible with Spectral rulesets and generates compatible reports.
If I have my openAPI spec files in a folder named docs ( containing relative refs) and run the following pre-commit (while committing multiple spec files under the docs folder):
First of all, thanks for the great tool! 🚀
If I have my openAPI spec files in a folder named
docs
( containing relative refs) and run the following pre-commit (while committing multiple spec files under the docs folder):It can't find the files while committing.
But running it manually is ok and finds the relative refs without problems.
pre-commit run vacuum --files docs/*.yml