mirror of
https://github.com/Redocly/redoc.git
synced 2025-02-07 13:30:33 +03:00
Move Download Swagger button
This commit is contained in:
parent
9e2fab9108
commit
d5651a2cb7
|
@ -1,5 +1,9 @@
|
||||||
<div>
|
<div>
|
||||||
<h1 class="api-info-header">{{info.title}} ({{info.version}})</h1>
|
<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 *ngIf="info.description" [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 ? -->
|
||||||
|
@ -14,8 +18,4 @@
|
||||||
<span *ngIf="!info.license.url"> {{info.license.name}} </span>
|
<span *ngIf="!info.license.url"> {{info.license.name}} </span>
|
||||||
</span>
|
</span>
|
||||||
</p>
|
</p>
|
||||||
<p>
|
|
||||||
Download OpenAPI (fka Swagger) specification:
|
|
||||||
<a class="openapi-button" target="_blank" attr.href='{{specUrl}}'> Download </a>
|
|
||||||
</p>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user