Add Header for response schema

This commit is contained in:
Roman Hotsiy 2016-05-18 22:39:09 +03:00
parent 269f535d7f
commit a8cd9e3c14
2 changed files with 8 additions and 0 deletions

View File

@ -12,6 +12,9 @@
<div class="header-description" innerHtml="{{header.description | marked}}"> </div>
</div>
</div>
<header *ngIf="response.headers">
Response Schema
</header>
<json-schema *ngIf="response.schema && options.disableLazySchemas" class="schema type" pointer="{{response.pointer}}/schema">
</json-schema>
<json-schema-lazy #lazySchema pointer="{{response.schema ? response.pointer + '/schema' : null}}">

View File

@ -28,6 +28,11 @@ header {
font-weight: bold;
text-transform: uppercase;
margin-bottom: 15px;
&:not(:first-child) {
margin-top: 15px;
margin-bottom: 0;
}
}
.header {