import * as path from "node:path";import * as process from "node:process";import { generateApi } from "swagger-typescript-api";await generateApi({ input: path.resolve(process.cwd(), "./swagger.json") });
For more detailed configuration options, please consult the documentation.