[Swagger Codegen] Custom template for html document

688 views
Skip to first unread message

Michał Witkowski

unread,
Feb 24, 2015, 6:45:24 AM2/24/15
to swagger-sw...@googlegroups.com
Hello, is it possible to use for example this template LINK
At this moment static html document is so long, it would be great if i could make them more visually attractive.

Ron Ratovsky

unread,
Feb 24, 2015, 7:16:34 AM2/24/15
to swagger-sw...@googlegroups.com

The template is yours to play with, and you can customize it for your needs.

On Feb 24, 2015 1:45 PM, "Michał Witkowski" <michal.w...@xsolve.pl> wrote:
Hello, is it possible to use for example this template LINK
At this moment static html document is so long, it would be great if i could make them more visually attractive.

--
You received this message because you are subscribed to the Google Groups "Swagger" group.
To unsubscribe from this group and stop receiving emails from it, send an email to swagger-swaggers...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

tony tam

unread,
Feb 24, 2015, 9:52:33 AM2/24/15
to swagger-sw...@googlegroups.com
Yes, the static html document is a simple, email-able way to render a swagger api.  If you look at the template source:


You'll see that customizing them is trivial.  If you want try your hand at doing so, you can simply download the template folder and pass "-t {template-dir}" when calling the codegen


On Tuesday, February 24, 2015 at 4:16:34 AM UTC-8, Ron wrote:

The template is yours to play with, and you can customize it for your needs.

On Feb 24, 2015 1:45 PM, "Michał Witkowski" <michal.w...@xsolve.pl> wrote:
Hello, is it possible to use for example this template LINK
At this moment static html document is so long, it would be great if i could make them more visually attractive.

--
You received this message because you are subscribed to the Google Groups "Swagger" group.
To unsubscribe from this group and stop receiving emails from it, send an email to swagger-swaggersocket+unsub...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages