TypeScript 61.9%
HTML 37.2%
SQL 0.7%
1import { writeFileSync } from 'node:fs';2import path from 'node:path';3import { fileURLToPath } from 'node:url';4import { openapiDocument } from '../src/openapi.js';56const here = path.dirname(fileURLToPath(import.meta.url));7const out = path.resolve(here, '../../../docs/openapi.json');8writeFileSync(out, JSON.stringify(openapiDocument(), null, 2) + '\n');9console.log(`wrote ${out}`);10