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.
the lint command now supports multi-file linting, accepts glob commands and the console output is upgraded, cleaner and more readable.
Also addresses issues
369
367
334 (Partially)
249
The partial support for filepath works correctly for single file specs, but won't yet report the correct filename for exploded specs. References will won't yet align if they have been pulled in from an external document. Support for this is coming in a later release.
The --remote / -u flag is now true always for the lint command. It's always on, it can't be turned off. This is expected behavior, always try to resolve remote / file based references, turning it off seems pointless.
To lint multiple files, simply add them one after the other:
vacuum lint file1.yaml file2.json file3.yaml
To use a glob pattern:
vacuum lint path/to/files/*.yaml
Linting multiple files
Updated summary view, cleaner, easier to read
Improved logging output, no more JSON on the command line
Links are clickable when viewing in an IDE terminal
the
lint
command now supports multi-file linting, accepts glob commands and the console output is upgraded, cleaner and more readable.Also addresses issues
369
367
334 (Partially)
249
The partial support for filepath works correctly for single file specs, but won't yet report the correct filename for exploded specs. References will won't yet align if they have been pulled in from an external document. Support for this is coming in a later release.
To lint multiple files, simply add them one after the other:
vacuum lint file1.yaml file2.json file3.yaml
To use a glob pattern:
vacuum lint path/to/files/*.yaml
Linting multiple files
Updated summary view, cleaner, easier to read
Improved logging output, no more JSON on the command line
Links are clickable when viewing in an IDE terminal