mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-27 19:13:44 +03:00
20 lines
777 B
HTML
20 lines
777 B
HTML
<h2 class="responses-list-header" *ngIf="data.responses.length"> Responses </h2>
|
|
<zippy *ngFor="#response of data.responses" title="{{response.code}} {{response.description}}"
|
|
[type]="response.type" [empty]="!response.schema">
|
|
<div *ngIf="response.headers" class="response-headers">
|
|
<header>
|
|
Headers
|
|
</header>
|
|
<div class="header" *ngFor="#header of response.headers">
|
|
<div class="header-name"> {{header.name}} </div>
|
|
<div class="header-type"> {{header.type}} </div>
|
|
<div class="header-description" innerHtml="{{header.description | marked}}"> </div>
|
|
</div>
|
|
</div>
|
|
<header>
|
|
Response schema
|
|
</header>
|
|
<json-schema *ngIf="response.schema" class="schema type" pointer="{{response.pointer}}/schema">
|
|
</json-schema>
|
|
</zippy>
|