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

24 lines
635 B
HTML
Raw Normal View History

2015-10-21 12:20:14 +03:00
<table class="inline">
<thead>
<tr>
<th colspan="3"> Responses </th>
</tr>
<tr>
2015-10-22 21:50:26 +03:00
<th class="response-code"> Code </th>
<th class="response-description"> Description </th>
2015-10-21 12:20:14 +03:00
<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>
2015-10-21 12:20:14 +03:00
<td>
<schema *ng-if="response.schema" class="schema type" pointer="{{response.pointer}}/schema">
</schema>
2015-10-21 14:11:35 +03:00
<small *ng-if="!response.schema"> N/A </small>
2015-10-21 12:20:14 +03:00
</td>
</tr>
</tbody>
</table>