Adding response status code views (swagger.js updated).

This commit is contained in:
Alberto Pose
2012-11-12 20:26:24 -03:00
parent 09c97af686
commit d666d09741
6 changed files with 233 additions and 11 deletions

View File

@@ -36,6 +36,21 @@
</tbody>
</table>
{{#if errorResponses}}
<div style='margin:0;padding:0;display:inline'></div>
<h4>Status Codes</h4>
<table class='fullwidth'>
<thead>
<tr>
<th>HTTP Status Code</th>
<th>Reason</th>
</tr>
</thead>
<tbody class="operation-status">
</tbody>
</table>
{{/if}}
{{#if isReadOnly}}
{{else}}
<div class='sandbox_header'>

View File

@@ -0,0 +1,3 @@
<td width='15%' class='code'>{{code}}</td>
<td>{{{reason}}}</td>