redoc/lib/components/ResponsesList/responses-list.html

24 lines
620 B
HTML

<table>
<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>