mirror of
https://github.com/Redocly/redoc.git
synced 2025-01-31 10:04:08 +03:00
fix: openapi button add download
attribute
This commit is contained in:
parent
6edbbe7b0c
commit
583c5719db
|
@ -2,7 +2,7 @@
|
|||
<h1>{{info.title}} <span class="api-info-version">({{info.version}})</span></h1>
|
||||
<p class="download-openapi" *ngIf="specUrl">
|
||||
Download OpenAPI (fka Swagger) specification:
|
||||
<a class="openapi-button" target="_blank" attr.href='{{specUrl}}'> Download </a>
|
||||
<a class="openapi-button" download target="_blank" attr.href='{{specUrl}}'> Download </a>
|
||||
</p>
|
||||
<p>
|
||||
<!-- TODO: create separate components for contact and license ? -->
|
||||
|
|
Loading…
Reference in New Issue
Block a user