webui/src/routes/api/+page.svelte

25 lines
531 B
Svelte
Raw Normal View History

2023-11-17 00:05:35 +00:00
<script lang="ts">
import { _ } from 'svelte-i18n';
import { Col, Container, Row } from 'sveltestrap';
import { onMount } from 'svelte';
import * as swaggerJson from './swagger.json';
//import SwaggerUI from 'swagger-ui';
//import 'swagger-ui/dist/swagger-ui.css';
onMount(async () => {
// SwaggerUI({
// spec: swaggerJson,
// dom_id: '#swagger-ui-container'
// });
});
</script>
<svelte:head>
<title>API playground</title>
</svelte:head>
<Container fluid>
<div id="swagger-ui-container" />
</Container>