Move Download Swagger button

This commit is contained in:
Roman Hotsiy 2016-07-28 15:56:29 +03:00
parent 9e2fab9108
commit d5651a2cb7
No known key found for this signature in database
GPG Key ID: 5CB7B3ACABA57CB0

View File

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