1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38<script setup lang="ts">
import type { OpenAPIObject } from 'openapi3-ts/oas30';
const { links } = useSectionLinks();
const openapi = inject<OpenAPIObject>('openapi')!;
const oasNavigation = computed(() => mapOasNavigation(openapi));
</script>
<template>
<UContainer>
<UPage>
<template #left>
<UPageAside
:ui="{
}"
>
<UPageAnchors :links="links" />
<USeparator
type="dashed"
class="my-5"
/>
<UContentNavigation
:navigation="oasNavigation"
highlight
default-open
variant="link"
type="single"
/>
</UPageAside>
</template>
<slot />
</UPage>
</UContainer>
</template>