Skip to content

Commit 04369dd

Browse files
committed
Form parameters has been added to the html template
1 parent 638bbfa commit 04369dd

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)