Swagger data to PDF documentation

15,485 views
Skip to first unread message

Renan Gomes Barreto

unread,
Jul 16, 2013, 3:39:48 PM7/16/13
to wordn...@googlegroups.com
Hi,

Is it possible we export the Swagger json API data to a generated PDF?
Do you know some tool to do that?
We are using the Swagger Swagger Swagger-UI here, http://apidocs.georanker.com/functions#!/user 
But i'm looking for a way to generate a static PDF file so the user can see the data offline.
Something like this: http://d.pr/i/6iKA

Renan.

Tony Tam

unread,
Jul 16, 2013, 3:48:05 PM7/16/13
to wordn...@googlegroups.com
Hi, the best solution is to use the swagger codegen to make a friendly, printable version of the api docs.  Take a look at this example here:


Which follows these instructions:


This is not a "completely static" version but you can easily make templates to create it to be so.

Renan Gomes Barreto

unread,
Jul 16, 2013, 3:51:58 PM7/16/13
to wordn...@googlegroups.com
Thanks, this will help :)

shridhar mysore

unread,
Sep 4, 2014, 3:48:17 PM9/4/14
to wordn...@googlegroups.com
Hi,
The first link doesn't seem to exist. 
Can you please provide *instructions* on how I could generate static documentation for my SwaggerUI-rendered API docs ?

Thanks
Shridhar

Eric Wedel

unread,
Nov 18, 2017, 12:51:32 AM11/18/17
to Wordnik API
Looks like the project moved to a more "official" github user. The instructions, such as they are, are now here:

https://github.com/swagger-api/swagger-codegen#generating-static-html-api-documentation

regards, Eric

Reply all
Reply to author
Forward
0 new messages