Adding response status code views (swagger.js updated).
This commit is contained in:
@@ -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'>
|
||||
|
||||
3
src/main/template/status_code.handlebars
Normal file
3
src/main/template/status_code.handlebars
Normal file
@@ -0,0 +1,3 @@
|
||||
<td width='15%' class='code'>{{code}}</td>
|
||||
<td>{{{reason}}}</td>
|
||||
|
||||
Reference in New Issue
Block a user