Move license and contact info above description

This commit is contained in:
Roman Hotsiy 2016-08-21 17:43:42 +03:00
parent 0e3d506277
commit b77e3c8843
No known key found for this signature in database
GPG Key ID: 5CB7B3ACABA57CB0

View File

@ -4,7 +4,6 @@
Download OpenAPI (fka Swagger) specification: Download OpenAPI (fka Swagger) specification:
<a class="openapi-button" target="_blank" attr.href='{{specUrl}}'> Download </a> <a class="openapi-button" target="_blank" attr.href='{{specUrl}}'> Download </a>
</p> </p>
<p *ngIf="info.description" class="redoc-markdown-block" [innerHtml]="info['x-redoc-html-description'] | safe"> </p>
<p> <p>
<!-- TODO: create separate components for contact and license ? --> <!-- TODO: create separate components for contact and license ? -->
<span *ngIf="info.contact"> Contact: <span *ngIf="info.contact"> Contact:
@ -18,4 +17,5 @@
<span *ngIf="!info.license.url"> {{info.license.name}} </span> <span *ngIf="!info.license.url"> {{info.license.name}} </span>
</span> </span>
</p> </p>
<p *ngIf="info.description" class="redoc-markdown-block" [innerHtml]="info['x-redoc-html-description'] | safe"> </p>
</div> </div>