Skip to content

toddlahtinen/swagger-to-PDF

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

swagger-to-PDF

Purpose

Creates a PDF from a Swagger JSON file.

How to use

node index.js "path to your Swagger.json file"

Also supports combining several Swagger JSON files into 1 output PDF: node index.js "file1.json,file2.json,file3.json"

Future

These are the current plans:

  • code clean up
  • further testing
  • DONE combining several JSON files into 1 output
  • additional options for mark up

Dependencies

  • phantom-html2pdf

Contribution

If you've got value out of this and have ideas, please send pull requests.

About

Swagger JSON to PDF conversion

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%