mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-13 12:26:34 +03:00
22 lines
735 B
HTML
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>
|