swagger-to-PDF
swagger-to-PDF copied to clipboard
"summary" to "responses" table is too big horizontally eg: under POST
One can use landscape paper format to make all tables fit.
Just change line 78 to:
pdf.convert({"html" : "./test.html", "css": "./normalize.css","paperSize" : {"orientation" : "landscape"}}, function(err, result) {
@sytchi that's a quick solution, but I'm hoping not to have to force all documents to be in landscape.