2015-11-22 16:45:27 +03:00
|
|
|
<h2 class="param-list-header" *ng-if="data.params.length"> Parameters </h2>
|
2015-11-17 02:12:42 +03:00
|
|
|
<div class="params-wrap">
|
|
|
|
<div *ng-for="#param of data.params" class="param">
|
|
|
|
<div class="param-name">
|
|
|
|
<span> {{param.name}} </span>
|
|
|
|
</div>
|
|
|
|
<div class="param-info">
|
|
|
|
<div>
|
|
|
|
<span class="param-type" [ng-class]="param.type">{{param.type}}</span>
|
|
|
|
<span *ng-if="param.required" class="param-required">Required</span>
|
|
|
|
</div>
|
|
|
|
<div class="param-description" inner-html="{{param.description | marked}}"></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div *ng-if="data.bodyParam">
|
2015-11-22 16:45:27 +03:00
|
|
|
<h2 class="param-list-header" *ng-if="data.bodyParam"> Request Body </h2>
|
2015-11-17 02:12:42 +03:00
|
|
|
|
|
|
|
<div class="body-param-description" inner-html="{{data.bodyParam.description | marked}}"></div>
|
|
|
|
<div>
|
2015-11-19 00:23:18 +03:00
|
|
|
<json-schema pointer="{{data.bodyParam.pointer}}/schema">
|
|
|
|
</json-schema>
|
2015-11-17 02:12:42 +03:00
|
|
|
</div>
|
|
|
|
</div>
|