8 lines
266 B
TypeScript
8 lines
266 B
TypeScript
|
|
import { createOpenAPI } from 'fumadocs-openapi/server';
|
||
|
|
|
||
|
|
// The 3x-ui OpenAPI spec is committed at public/openapi.json (synced from
|
||
|
|
// the upstream repo's frontend/public/openapi.json).
|
||
|
|
export const openapi = createOpenAPI({
|
||
|
|
input: ['./public/openapi.json'],
|
||
|
|
});
|