WIP a simple nvim plugin to privew oas/openapis3 or swagger spec currently serve the api-docs using swagger-ui only..
- Pull swagger-ui from docker hub:
~$ docker pull swaggerapi/swagger-ui:latest
add this line on your packer config.lua just add rusagaib/oas-preview.nvim
use {'rusagaib/oas-preview.nvim'}
In your init.lua (Default):
require("oas-preview")
:OASPreview
it will call another buffer split to bottom, press enter and then it will build container to run swagger-ui to serve api documentation based from swagger or openapi3 spec (.yaml or .json)
:OASPreviewStop