This commit is contained in:
Tony Tam
2013-02-01 21:32:14 -05:00
parent f195c65880
commit 9b1bd11f2d
10 changed files with 50 additions and 31 deletions

View File

@@ -1,7 +1,7 @@
<label for="contentType"></label>
<select name="contentType">
{{#if consumes}}
{{#each consumes}}
{{#if produces}}
{{#each produces}}
<option value="{{{this}}}">{{{this}}}</option>
{{/each}}
{{else}}

View File

@@ -29,6 +29,7 @@
{{/if}}
<form accept-charset='UTF-8' class='sandbox'>
<div style='margin:0;padding:0;display:inline'></div>
{{#if parameters}}
<h4>Parameters</h4>
<table class='fullwidth'>
<thead>
@@ -43,6 +44,7 @@
</tbody>
</table>
{{/if}}
{{#if errorResponses}}
<div style='margin:0;padding:0;display:inline'></div>
<h4>Status Codes</h4>