redoc/lib/components/ResponsesList/responses-list.html
2015-10-22 21:50:26 +03:00

24 lines
612 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>{{response.description}}</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>