docs: fix config schema

This commit is contained in:
Il Harper 2024-03-06 13:19:38 +08:00
parent fb7f948ff4
commit cdce410c8b
No known key found for this signature in database
GPG Key ID: 4B71FCA698E7E8EC
2 changed files with 1 additions and 6 deletions

View File

@ -41,11 +41,6 @@ const redocusaurusConfig: PresetOptions = {
title: 'API 参考',
},
},
{
id: 'config',
spec: 'static/openapi-config.json',
url: 'https://chronocat.vercel.app/openapi-config.json',
},
],
theme: {
primaryColor: '#2e8555',

View File

@ -6,4 +6,4 @@ import ApiSchema from '@theme/ApiSchema'
这是 Chronocat 配置文件的完整参考。你可以在这里查阅每个配置字段的用法。
<ApiSchema id="config" pointer="#/components/schemas/Config" />
<ApiSchema pointer="#/components/schemas/ChronocatConfig" />