Hi, I wanted to know is there a feature where the spec.json can be converted to a pdf file just like the static documentation.
Something like
java -jar modules/swagger-codegen-cli/target/swagger-codegen-cli.jar generate \
-i http://petstore.swagger.io/v2/swagger.json \
-l pdf
@rohitsakala currently, there's no direct export to pdf but we would welcome contributions to support that.
@rohitsakala @wing328 pls take a look at the Swagger2Markup (https://github.com/Swagger2Markup/swagger2markup) project, they allow to convert to Asciidoctor files and then to HTML sites or PDF format.
y agree to this feature
As a workaround, you may consider using html or html2 to generate HTML documentations and then use 3rd-party tools to convert the HTML into PDF.
Most helpful comment
y agree to this feature