Skip to content
Snippets Groups Projects
openapi-ts.config.ts 337 B
Newer Older
  • Learn to ignore specific revisions
  • import { defineConfig } from "@hey-api/openapi-ts";
    
    export default defineConfig({
      client: "@hey-api/client-axios",
      input: "./openapi-clowm.json",
      output: {
        lint: "eslint",
        format: "prettier",
        path: "src/client",
      },
      services: {
        asClass: true,
      },
      schemas: false,
      types: {
        enums: "typescript",
      },
    });