Skip to content

Latest commit

 

History

History
22 lines (14 loc) · 471 Bytes

README.md

File metadata and controls

22 lines (14 loc) · 471 Bytes

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.