<template>
  <div id="swaggerContainer"></div>
</template>
<script lang="ts" setup>
import 'swagger-ui-dist/swagger-ui.css';
import '@/assets/SwaggerDark.scss';
import { onMounted } from 'vue';
import { SwaggerUIBundle } from 'swagger-ui-dist';

onMounted(() => {
  SwaggerUIBundle({
    dom_id: '#swaggerContainer',
    url: '/apis/swagger/api.json',
    presets: [SwaggerUIBundle.presets.apis, SwaggerUIBundle.SwaggerUIStandalonePreset],
  });
});
</script>
<style scoped></style>
