2015-11-24 01:13:27 +03:00
|
|
|
<small *ng-if="errorMessage">{{errorMessage}}</small>
|
2015-11-28 01:44:35 +03:00
|
|
|
<div class="params-wrap" [ng-class]="{'params-array': _isArray}">
|
2015-11-19 00:23:18 +03:00
|
|
|
<div *ng-for="#prop of data.properties" class="param-wrap">
|
|
|
|
<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-11-28 01:44:35 +03:00
|
|
|
<span class="param-type" [ng-class]="prop.type">{{prop._displayType}} {{prop.format}}</span>
|
2015-11-19 00:23:18 +03:00
|
|
|
<span *ng-if="prop.isRequired" class="param-required">Required</span>
|
|
|
|
</div>
|
|
|
|
<div class="param-description" inner-html="{{prop.description | marked}}"></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2015-11-28 01:44:35 +03:00
|
|
|
<div class="param-schema" [ng-class]="{'param-array': prop._isArray}" *ng-if="prop._pointer">
|
2015-11-19 00:23:18 +03:00
|
|
|
<json-schema pointer="{{prop._pointer}}">
|
|
|
|
</json-schema>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|