Merge pull request #1397 from lugaru1234/issue1251

Fixes #1251, #1212: Form parameters has been added to the html template
This commit is contained in:
wing328 2015-10-22 16:48:13 +08:00
commit 4723f51c63

View File

@ -87,6 +87,13 @@
</div> <!-- field-items -->
{{/hasQueryParams}}
{{#hasFormParams}}
<h3 class="field-label">Form parameters</h3>
<div class="field-items">
{{#formParams}}{{>formParam}}{{/formParams}}
</div> <!-- field-items -->
{{/hasFormParams}}
<!-- Remove Return type... unclear where this comes from;
for our swagger.json files, it is always empty and there is no boolean guard or hasReturnType
do we end up with a heading but not content