2015-12-14 18:20:40 +03:00
|
|
|
<span *ngIf="isTrivial" class="param-type param-type-trivial" [ngClass]="type">{{_displayType}}</span>
|
|
|
|
<div *ngIf="!isTrivial" class="params-wrap" [ngClass]="{'params-array': isArray}">
|
|
|
|
<div *ngFor="#prop of data.properties" class="param-wrap">
|
2015-11-19 00:23:18 +03:00
|
|
|
<div class="param">
|
|
|
|
<div class="param-name">
|
2015-11-22 21:04:18 +03:00
|
|
|
<span>{{prop._name}}</span>
|
2015-11-19 00:23:18 +03:00
|
|
|
</div>
|
|
|
|
<div class="param-info">
|
|
|
|
<div>
|
2015-12-14 18:20:40 +03:00
|
|
|
<span class="param-type" [ngClass]="prop.type">{{prop._displayType}} {{prop._displayFormat}}</span>
|
|
|
|
<span *ngIf="prop.isRequired" class="param-required">Required</span>
|
2015-11-19 00:23:18 +03:00
|
|
|
</div>
|
2015-12-14 18:20:40 +03:00
|
|
|
<div class="param-description" innerHtml="{{prop.description | marked}}"></div>
|
2015-11-19 00:23:18 +03:00
|
|
|
</div>
|
|
|
|
</div>
|
2015-12-14 18:20:40 +03:00
|
|
|
<div class="param-schema" [ngClass]="{'param-array': prop._isArray}" *ngIf="prop._pointer">
|
2015-12-21 23:29:40 +03:00
|
|
|
<json-schema pointer="{{prop._pointer}}" [isArray]='prop._isArray'>
|
2015-11-19 00:23:18 +03:00
|
|
|
</json-schema>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|