mirror of
https://github.com/nagisa77/OpenIsle.git
synced 2026-02-19 13:30:55 +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,
|
|
});
|