mirror of
https://github.com/dathere/ckanaction.git
synced 2026-07-05 17:12:19 +00:00
12 lines
352 B
TypeScript
12 lines
352 B
TypeScript
import { generateFiles } from 'fumadocs-openapi';
|
|
import { createOpenAPI } from 'fumadocs-openapi/server';
|
|
|
|
void generateFiles({
|
|
input: createOpenAPI({
|
|
input: ["./lib/openapi.yml"],
|
|
}),
|
|
output: './content/docs',
|
|
// we recommend to enable it
|
|
// make sure your endpoint description doesn't break MDX syntax.
|
|
includeDescription: true,
|
|
});
|