swagger-to-PDF icon indicating copy to clipboard operation
swagger-to-PDF copied to clipboard

"summary" to "responses" table is too big horizontally eg: under POST

Open simonstewart opened this issue 10 years ago • 2 comments

simonstewart avatar May 16 '15 10:05 simonstewart

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 avatar Jan 11 '17 11:01 sytchi

@sytchi that's a quick solution, but I'm hoping not to have to force all documents to be in landscape.

simonstewart avatar Jan 11 '17 12:01 simonstewart