openapi.ts 266 B

1234567
  1. import { createOpenAPI } from 'fumadocs-openapi/server';
  2. // The 3x-ui OpenAPI spec is committed at public/openapi.json (synced from
  3. // the upstream repo's frontend/public/openapi.json).
  4. export const openapi = createOpenAPI({
  5. input: ['./public/openapi.json'],
  6. });