@andste82/openapi2pdf
v1.0.9
Published
openapi2pdf - Generate PDF from Open API spec
Downloads
28
Maintainers
Readme
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.