Skip to content

merrickluo/openapi-preview

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenAPI Preview

Preview OpenAPI(Swagger) definition files in browser.

Requirements

This package use redoc-cli to generate html for current buffer for preview. So you need to install it first, find it in your package manager or install via npm/yarn.

npm i -g redoc-cli

Installation

doomemacs

in packages.el

(package! openapi-preview :recipe (:host github :repo "merrickluo/openapi-preview"))

in config.el

(use-package! openapi-preview :commands 'openapi-preview)

straight.el

(straight-use-package
 '(openapi-preview :type git :host github :repo "merrickluo/openapi-preview"))

Usage

  • visit a openapi(swagger) definition file
  • M-x openapi-preview

Reference

About

A emacs helper to preview OpenAPI(Swagger) definition files in browser.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published