The templates are mustache templates to generate RESTful API Document with the help of Swagger, they're used by:
-
Swagger Maven Plugin, a maven plugin
can help you generate swagger API document during build phase using these templates.
-
Ginger, a command line tool
can help you generate swagger API document using these template as well as any request & response samples for any of your API operations.
There're 5 templates by now:
-
wiki.mustache for [Confluence](http://en.wikipedia.org/wiki/Confluence_(software\)) wiki markup output.
-
wiki-new.mustache another [Confluence](http://en.wikipedia.org/wiki/Confluence_(software\)) wiki markup template.
-
html.mustache for html output, click here to see a sample output.
-
markdown.mustache for markdown output, click here to see a sample output.
-
strapdown.html.mustache for HTML output, click here to see a sample output.
This template actually uses markdown.mustache but generates HTML with the help of Strapdown.js
If you dissatisfy these templates, write your own and do not foget to pull
Click here to see the json schema of the data the template consumes.