2015-10-21 12:25:51 +03:00
|
|
|
<table class="inline">
|
|
|
|
<!-- No params -->
|
|
|
|
<tr *ng-if="data.noParams">
|
|
|
|
<td colspan="3">
|
|
|
|
<small class="no-params" > No parameters </small>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
2015-10-18 12:29:18 +03:00
|
|
|
<thead>
|
2015-10-18 20:16:40 +03:00
|
|
|
<tr>
|
|
|
|
<th colspan="3"> Parameters </th>
|
|
|
|
</tr>
|
2015-10-21 12:25:51 +03:00
|
|
|
<tr *ng-if="!data.noParams">
|
2015-10-18 12:29:18 +03:00
|
|
|
<th> Name </th>
|
|
|
|
<th> Description </th>
|
2015-10-21 12:20:14 +03:00
|
|
|
<th> Type </th>
|
2015-10-18 12:29:18 +03:00
|
|
|
</tr>
|
|
|
|
</thead>
|
2015-10-18 20:16:40 +03:00
|
|
|
<tbody>
|
2015-10-21 12:25:51 +03:00
|
|
|
<!-- General parameters -->
|
2015-10-18 20:16:40 +03:00
|
|
|
<tr *ng-for="#param of data.params">
|
|
|
|
<!--<div class="param">-->
|
|
|
|
<td class="param-name">{{param.name}}</td>
|
2015-10-21 12:20:14 +03:00
|
|
|
<td class="param-description">{{param.description}}</td>
|
2015-10-18 20:16:40 +03:00
|
|
|
<td>
|
2015-10-21 12:20:14 +03:00
|
|
|
<span class="type" [ng-class]="param.type">{{param.type}}</span>
|
2015-10-18 20:16:40 +03:00
|
|
|
</td>
|
|
|
|
<!--</div>-->
|
|
|
|
</tr>
|
|
|
|
<!-- in-body parameter -->
|
|
|
|
<tr class="param body-param" *ng-if="data.bodyParam">
|
|
|
|
<td class="param-name">{{data.bodyParam.name}}</td>
|
2015-10-21 17:26:06 +03:00
|
|
|
<td class="param-description">{{data.bodyParam.description}}</td>
|
2015-10-18 12:29:18 +03:00
|
|
|
<td>
|
2015-10-18 20:16:40 +03:00
|
|
|
<schema class="body-schema param-type" pointer="{{data.bodyParam.pointer}}/schema">
|
|
|
|
</schema>
|
2015-10-18 12:29:18 +03:00
|
|
|
</td>
|
2015-10-18 20:16:40 +03:00
|
|
|
</tr>
|
|
|
|
</tbody>
|
2015-10-18 12:29:18 +03:00
|
|
|
</table>
|