mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-11 11:26:37 +03:00
26 lines
816 B
HTML
26 lines
816 B
HTML
<h2 *ng-if="data.params.length"> Parameters </h2>
|
|
<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">
|
|
<h2 *ng-if="data.bodyParam"> Request Body </h2>
|
|
|
|
<div class="body-param-description" inner-html="{{data.bodyParam.description | marked}}"></div>
|
|
<div>
|
|
<json-schema pointer="{{data.bodyParam.pointer}}/schema">
|
|
</json-schema>
|
|
</div>
|
|
</div>
|