Socket
Book a DemoInstallSign in
Socket

markdown-oas

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

markdown-oas

Generate markdown API docs (OpenAPI).

2.0.1
latest
Source
npmnpm
Version published
Weekly downloads
2
100%
Maintainers
1
Weekly downloads
 
Created
Source

Markdown OAS

Generate API docs from Swagger file into markdown file.

Based on https://github.com/rmariuzzo/markdown-swagger

Installation

npm install markdown-swagger

Usage

markdown-oas ./api/swagger/swagger.yaml ./README.md

This will read the specified swagger file and generate a table describing the API inside the target markdown file.

The markdown-oas script will look for the for the following piece of text inside the target markdown file to do its stuff:

<!-- markdown-oas -->
  Everything here will be replaced by markdown-swagger
<!-- /markdown-oas -->

Develop

Testings

node index.js openapi.yaml test.md

FAQs

Package last updated on 14 Feb 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.