Skip to content

Commit

Permalink
fix: openapi button add download attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
RomanHotsiy committed May 5, 2017
1 parent 6edbbe7 commit 583c571
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/components/ApiInfo/api-info.html
Original file line number Diff line number Diff line change
Expand Up @@ -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 ? -->
Expand Down

0 comments on commit 583c571

Please sign in to comment.