redoc/lib/components/ParamsList/params-list.html

19 lines
803 B
HTML
Raw Normal View History

2015-10-10 16:01:41 +03:00
<h4> Parameters </h4>
<small class="no-params" *ng-if="data.noParams"> No parameters </small>
<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>
<div class="param body-param" *ng-if="data.bodyParam">
<span class="param-name">{{data.bodyParam.name}}</span>
<span class="param-type" *ng-if="data.bodyParam.type"
[ng-class]="data.bodyParam.type">{{data.bodyParam.type}}</span>
<span class="param-description" *ng-if="data.bodyParamdescription" >
{{data.bodyParam.description}}
</span>
<span> <em>Body Schema would be somewhere here (unimplemented yet) </em></span>
</div>