Skip to content

Commit 4723f51

Browse files
committed
Merge pull request #1397 from lugaru1234/issue1251
Fixes #1251, #1212: Form parameters has been added to the html template
2 parents 485186e + 04369dd commit 4723f51

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

modules/swagger-codegen/src/main/resources/htmlDocs/index.mustache

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,13 @@
8787
</div> <!-- field-items -->
8888
{{/hasQueryParams}}
8989
90+
{{#hasFormParams}}
91+
<h3 class="field-label">Form parameters</h3>
92+
<div class="field-items">
93+
{{#formParams}}{{>formParam}}{{/formParams}}
94+
</div> <!-- field-items -->
95+
{{/hasFormParams}}
96+
9097
<!-- Remove Return type... unclear where this comes from;
9198
for our swagger.json files, it is always empty and there is no boolean guard or hasReturnType
9299
do we end up with a heading but not content

0 commit comments

Comments
 (0)