Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
V

vacuum

> DevOps
Open source

vacuum is the worlds fastest and most versatile OpenAPI, AsyncAPI & JSON Schema linter, docs generator and toolkit. It tears through API specs at light speed. 1

1.1K stars0 likes1 views
WebsiteGitHub

About

vacuum is the worlds fastest and most versatile OpenAPI, AsyncAPI & JSON Schema linter, docs generator and toolkit. It tears through API specs at light speed. 1

The world's fastest OpenAPI, AsyncAPI and JSON Schema linter.

An ultra-super-fast, lightweight OpenAPI, AsyncAPI and JSON Schema linter and quality checking tool inspired by Spectral.

It's fully compatible with existing Spectral rulesets.

Install using the official homebrew tap

bash
brew install --cask daveshanley/vacuum/vacuum

Install using npm

bash
npm i -g @quobix/vacuum

Install using yarn

bash
yarn global add @quobix/vacuum

Install using curl

bash
curl -fsSL https://quobix.com/scripts/install_vacuum.sh | sh

For CI/CD environments

To avoid GitHub API rate limiting in automated environments, set a GitHub token:

bash
# Using repository token (GitHub Actions)
GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }} curl -fsSL https://quobix.com/scripts/install_vacuum.sh | sh

# Using personal access token
GITHUB_TOKEN=your_github_token curl -fsSL https://quobix.com/scripts/install_vacuum.sh | sh

GitHub Actions example

yaml
- name: Install vacuum
  env:
    GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}  # Increases rate limit from 60 to 5000 requests/hour
  run: |
    curl -fsSL https://quobix.com/scripts/install_vacuum.sh | sh

Note: The GitHub token prevents intermittent installation failures in CI/CD environments caused by API rate limiting. No additional permissions are required, the token only accesses public repository information.

Install using Docker

The image is available at: https://hub.docker.com/r/dshanley/vacuum

bash
docker pull dshanley/vacuum

Multi-platform support: Docker images are available for both linux/amd64 and linux/arm64 architectures, including native ARM64 support for Apple Silicon Macs.

To run, mount the current working dir to the container and use a relative path to your spec, like so

bash
docker run --rm -v $PWD:/work:ro dshanley/vacuum lint 

Alternatively, you can pull it from GitHub packages. To do that, replace dshanley/vacuum with ghcr.io/daveshanley/vacuum in the above commands.

Run with Go

If you have Go 1.26 or newer installed, you can use go run to build and run it:

go run github.com/daveshanley/vacuum@latest lint 

Upgrade vacuum

If vacuum was installed with Homebrew, npm, or the shell installer, run:

bash
vacuum upgrade

vacuum will detect the install path and use the matching upgrade mechanism when it can. Normal commands may also show an update notice when a newer stable release is available. The passive check keeps only a small temporary cache in the OS temp directory, refreshed at most every 12 hours. Use --no-update-check or VACUUM_NO_UPDATE_CHECK=true to skip that check.


Sponsors

If your company is using vacuum, please consider supporting this project, like our very kind sponsors, past and present:

scalar

apideck


Come chat with us

Need help? Have a question? Want to share your work? Join our discord and come say hi!

Documentation

New in v0.29 : Lint AsyncAPI 3 documents in vacuum

AsyncAPI is now a first-class document type in vacuum, alongside OpenAPI and JSON Schema. Use the normal lint command and vacuum will detect AsyncAPI 3 documents automatically.

  • Read more about AsyncAPI linting in vacuum
  • See the default AsyncAPI ruleset
  • See every built-in AsyncAPI rule
  • Generate an AsyncAPI ruleset
  • See the AsyncAPI functions

New in v0.28 : Lint JSON Schema documents in vacuum

A new schema command has been added that opens up vacuum to JSON Schema specific linting rules and checks! With a whole new set of functions and rules, specifically for JSON Schema documents.

Try it out on your own JSON Schema docs! with vacuum schema

  • Read more about JSON Schema linting in vacuum
  • Read the available schema command options
  • See the new recommended JSON Schema ruleset

v0.27: Generate OpenAPI Documentation in vacuum

A new docs command will generate the best OpenAPI Documentation you ever saw! Now vacuum has integrated with the printing press, it means generating documentation with built-in linting results is available right inside vacuum.

Try it out! instead of the lint command try the docs command instead.

  • Read more about API Docs in vacuum
  • Read the docs command reference
  • Read more about the printing press
  • Learn about rendering modes
  • Learn about diagnostics mode
  • Learn about API catalogs
  • Learn about agentic AI output
  • Learn about generated outputs

v0.25: Generate Open Collections from OpenAPI files

A new open-collection command will generate an Open Collection Workflow folder (or bundled file)

Open Collection is a new standard for defining and sharing API collections. vacuum supports it natively.

Read More


v0.24: TURBO MODE

A huge tune up of hundreds of systems across the stack has resulted in significant speed boosts and improved memory performance.

Spec Size v0.23 Turbo Speedup
petstore.yaml 21KB 0.03s 0.02s 33%
mistral.yaml 292KB 0.17s 0.10s 41%
neon.yaml 370KB 0.21s 0.08s 62%
ld.yaml 1.9MB 0.93s 0.31s 67%
plaid.yml 2.9MB 1.39s 0.53s 62%
stripe.yaml 6.1MB 3.11s 0.85s 73%

The bigger the spec, the faster vacuum runs!

New -T flag will enable turbo mode. Go ultra-fast!


v0.23: OpenAPI Overlay Support

Ever needed to tweak an OpenAPI spec for different environments without maintaining multiple copies?

Maybe swap out server URLs between dev, staging, and production? Or perhaps strip out internal endpoints before publishing the API docs?

OpenAPI Overlays are the answer. They let us make non-destructive modifications to specs using JSONPath expressions to target exactly what we want to change. vacuum now supports a new apply-overlay command.

  • Learn more about the apply-overlay command

v0.22: Async Functions / Promises, Fetch & Batch mode in Custom JS Functions

Do you want to call remote APIs in your vacuum javascript functions? What about async processing or the ability to use Promises?

vacuum now has its own event loop and will happily support async and await. Combined with a full implementation of Fetch.

Also added Batch Mode. This allows custom functions to receive the entire list of nodes, instead of firing the function for each result, so you can send all your data off to an API or an LLM, and have the ability parse and process everything at once vs individually.

  • Read all about async JS functions in vacuum
  • Learn about using fetch in vacuum
  • find out how batch mode works

Quick Start Guide

See all the documentation at https://quobix.com/vacuum

  • Installing vacuum
  • About vacuum
  • Why should you care?
  • Concepts
  • FAQ
  • Linting AsyncAPI
  • Ignoring lint results
  • Generate API Docs
  • Linting JSON Schema
  • CLI Commands
    • lint
    • vacuum report
    • docs
    • dashboard
    • html-report
    • bundle
    • spectral-report
    • language-server
    • upgrade
    • apply-overlay
    • schema
    • Change Detection
    • open-collection
    • generate-ruleset
    • version
    • External References
    • Exit Codes
  • Developer API
    • Using The Index
    • RuleResultSet
    • Loading a RuleSet
    • Linting Non-OpenAPI Files
    • Custom Golang Functions
    • Custom JavaScript Functions
  • Rules
    • Examples
    • Tags
    • Descriptions
    • Schemas
    • Spec Information
    • Operations & Paths
    • Channels
    • Messages
    • Servers
    • Validation
    • Security
    • OWASP
  • Functions
    • Core Functions
    • OpenAPI Functions
    • OWASP Functions
    • AsyncAPI Functions
  • Understanding RuleSets
    • Sharing RuleSets
    • All Rules
    • [No Rules](https://qu

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Gogogolangjson-schemajson-schema-validator

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
CategoryDevOps
PricingOpen source

> Related tools

D
Docker
容器化平台,标准化应用交付
G
GitHub Actions
GitHub 原生 CI/CD 工作流
N
Nginx
高性能 Web 服务器与反向代理