mirror of
https://github.com/nagisa77/OpenIsle.git
synced 2026-02-10 00:51:00 +08:00
11 lines
309 B
TypeScript
11 lines
309 B
TypeScript
import { generateFiles } from 'fumadocs-openapi';
|
|
import { openapi } from '@/lib/openapi';
|
|
|
|
void generateFiles({
|
|
input: openapi,
|
|
output: './content/docs/openapi/(generated)',
|
|
// we recommend to enable it
|
|
// make sure your endpoint description doesn't break MDX syntax.
|
|
includeDescription: true,
|
|
});
|