The vacuum
language server is a Language Server Protocol (LSP)
compatible server that can be used with your favorite editor to lint OpenAPI specifications in real time.
vacuum
added support for the LSP in v0.9.0
and it can be used via the language-server
command
This is great, as long as you only need to use vacuum
’s built in ruleset.
The majority of the same flags that are available to the lint
command are also available to the language-server
command.
The only exception is all visual options won’t be available, as the LSP is designed to be used in a text editor.
Configuring the language server
The vacuum
language server can be configured using a vacuum.conf.yaml
file. Read more about configuring vacuum.