openapi-to-md
TypeScript icon, indicating that this package has built-in type declarations

1.0.24 • Public • Published

openapi-to-md

description

OpenAPI(v2,v3) => Markdown

  • It supports 'v2' and 'v3' formats of OpenAPI.
  • You can use 'json' and 'yaml' as input files.
  • The output data structure is in TypeScript format.
  • The reference does not resolve the second reference because it avoids recursion.

usage

Usage: openapi-to-md [options] <source> [destination]

Options:
  -V, --version  output the version number
  -s, --sort     sort (default: false)
  -h, --help     display help for command
openapi-to-md -s openapi.yaml README.md
openapi-to-md openapi.yaml README.md
openapi-to-md openapi.json > README.md
openapi-to-md https://raw.githubusercontent.com/github/rest-api-description/main/descriptions/api.github.com/api.github.com.yaml README.md

Package Sidebar

Install

npm i openapi-to-md

Weekly Downloads

8,490

Version

1.0.24

License

MIT

Unpacked Size

53 kB

Total Files

8

Last publish

Collaborators

  • sora_kumo