redoc/lib/components/ResponsesList/responses-list.html
2015-10-23 12:03:47 +03:00

24 lines
635 B
HTML

<table class="inline">
<thead>
<tr>
<th colspan="3"> Responses </th>
</tr>
<tr>
<th class="response-code"> Code </th>
<th class="response-description"> Description </th>
<th> Response schema </th>
</tr>
</thead>
<tbody>
<tr *ng-for="#response of data.responses">
<td>{{response.code}}</td>
<td inner-html="{{response.description | marked}}"></td>
<td>
<schema *ng-if="response.schema" class="schema type" pointer="{{response.pointer}}/schema">
</schema>
<small *ng-if="!response.schema"> N/A </small>
</td>
</tr>
</tbody>
</table>