1.0.7 • Published 1 year ago

@andste82/openapi2pdf v1.0.7

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

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.