---
aside: false
outline: false
title: NyaHome API Docs
---

<script setup lang="ts">
import { useTheme, locals } from 'vitepress-openapi/client'
import { useRoute } from 'vitepress'

const route = useRoute()

useTheme({
  i18n: {
    locale: 'zh',
  },
})

const operationId = route.data.params.operationId
</script>

<OAOperation :operationId="operationId">
  <template #branding>
    <div class="vitepress-openapi">
      <p>API 文档是基于最新代码自动生成的</p>
      <p>由 VitePress OpenAPI 提供文档支持</p>
    </div>
  </template>
</OAOperation>