This plugin provides support for openapi, such as:
- Previews (via Redoc)
- Tree navigator in neovim
-
Install redocly cli:
npm install -g @redocly/cli
-
Add the following in lazy.vim:
{ "codeasashu/oas.nvim" }
Open review by opening any openapi file and calling command :OASPreview.
To stop the preview, simply call command: :OASPreviewStop