mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-11 11:26:37 +03:00
22 lines
862 B
HTML
22 lines
862 B
HTML
<small *ng-if="errorMessage">{{errorMessage}}</small>
|
|
<div class="params-wrap" [ng-class]="{'params-array': isArray}">
|
|
<div *ng-for="#prop of data.properties" class="param-wrap">
|
|
<div class="param">
|
|
<div class="param-name">
|
|
<span>{{prop._name}}</span>
|
|
</div>
|
|
<div class="param-info">
|
|
<div>
|
|
<span class="param-type" [ng-class]="prop.type">{{prop._displayType}} {{prop.format}}</span>
|
|
<span *ng-if="prop.isRequired" class="param-required">Required</span>
|
|
</div>
|
|
<div class="param-description" inner-html="{{prop.description | marked}}"></div>
|
|
</div>
|
|
</div>
|
|
<div class="param-schema" [ng-class]="{'param-array': prop._isArray}" *ng-if="prop._pointer">
|
|
<json-schema pointer="{{prop._pointer}}" [is-array]='prop._isArray'>
|
|
</json-schema>
|
|
</div>
|
|
</div>
|
|
</div>
|