Skip to content

Commit

Permalink
fix download syntax
Browse files Browse the repository at this point in the history
Signed-off-by: Anton Gilgur <[email protected]>
  • Loading branch information
Anton Gilgur committed Oct 25, 2024
1 parent 43b2385 commit 9e83833
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions ui/src/app/api-docs/api-docs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,18 @@ export function ApiDocs() {
}}>
<ZeroState title='Swagger'>
<p>
Download the <a download={uiUrl('assets/openapi-spec/swagger.json')}>Open API / Swagger spec</a>.
Download the{' '}
<a href={uiUrl('assets/openapi-spec/swagger.json')} download>
Open API / Swagger spec
</a>
.
</p>
<p>
Download the <a download={uiUrl('assets/jsonschema/schema.json')}>JSON schema</a>.
Download the{' '}
<a href={uiUrl('assets/jsonschema/schema.json')} download>
JSON schema
</a>
.
</p>
<p>
View the interactive Swagger UI{' '}
Expand Down

0 comments on commit 9e83833

Please sign in to comment.