2015-11-23 23:57:49 +03:00
|
|
|
<h2 class="responses-list-header" *ng-if="data.responses.length"> Responses </h2>
|
|
|
|
<zippy *ng-for="#response of data.responses" title="{{response.code}} {{response.description}}"
|
|
|
|
[type]="response.type" [empty]="!response.schema">
|
2015-11-26 01:36:07 +03:00
|
|
|
<div *ng-if="response.headers" class="response-headers">
|
|
|
|
<header>
|
|
|
|
Headers
|
|
|
|
</header>
|
|
|
|
<div class="header" *ng-for="#header of response.headers">
|
|
|
|
<div class="header-name"> {{header.name}} </div>
|
|
|
|
<div class="header-type"> {{header.type}} </div>
|
|
|
|
<div class="header-description" inner-html="{{header.description | marked}}"> </div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2015-11-24 01:08:11 +03:00
|
|
|
<json-schema *ng-if="response.schema" class="schema type" pointer="{{response.pointer}}/schema">
|
|
|
|
</json-schema>
|
2015-11-23 23:57:49 +03:00
|
|
|
</zippy>
|