@andste82/openapi2pdf

1.0.7 • Public • Published

OpenApi2Pdf

Converts a openapi spec file to pdf. Based on RapiPDF

Features

  • Supports Swagger 2.0 and OpenAPI 3.0
  • Support YAML and JSON format
  • Support $ref (thx to swagger-parser)
  • Plenty of customizing options, including selection of brand colors

Usage

npm install -g openapi2pdf

openapi2pdf --spec ~/home/openapi-spec.json --out ~/home/pdf-spec.pdf

Licence

OpenApi2Pdf is MIT licensed.

Package Sidebar

Install

npm i @andste82/openapi2pdf

Weekly Downloads

1

Version

1.0.7

License

MIT

Unpacked Size

53 kB

Total Files

12

Last publish

Collaborators

  • andste82