Skip to content

Commit

Permalink
fix schema path
Browse files Browse the repository at this point in the history
  • Loading branch information
emiliorighi committed Nov 29, 2024
1 parent cd7360e commit ce9942b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 18 deletions.
4 changes: 2 additions & 2 deletions docs/api-schema.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ layout: page
<script>
import SwaggerUI from 'swagger-ui';
import 'swagger-ui/dist/swagger-ui.css';

import { withBase } from 'vitepress'
export default {
name: 'SwaggerUI',
props: {
Expand All @@ -17,7 +17,7 @@ export default {
},
mounted() {
SwaggerUI({
url: './biogenome-portal-schema.yaml',
url: withBase('./biogenome-portal-schema.yaml'),
dom_id: '#swagger-ui',
deepLinking: true,
presets: [SwaggerUI.presets.apis],
Expand Down
16 changes: 0 additions & 16 deletions docs/swagger.md

This file was deleted.

0 comments on commit ce9942b

Please sign in to comment.