redoc/lib/components/ParamsList/params-list.html
2015-10-17 21:13:14 +03:00

22 lines
735 B
HTML

<h4> Parameters </h4>
<small class="no-params" *ng-if="data.noParams"> No parameters </small>
<!-- General parameters -->
<div *ng-for="#param of data.params">
<div class="param">
<span class="param-name">{{param.name}}</span>
<span class="param-type" [ng-class]="param.type">{{param.type}}</span>
<span class="param-description">{{param.description}}</span>
</div>
</div>
<!-- in-body parameter -->
<div class="param body-param" *ng-if="data.bodyParam">
<span class="param-name">{{data.bodyParam.name}}</span>
<div class="body-schema">
<schema
[title]="data.bodyParam.type"
[description]="data.bodyParam.description"
pointer="{{data.bodyParam.pointer}}/schema">
</schema>
</div>
</div>