Skip to content
Snippets Groups Projects
openapi-ts.config.ts 361 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",
      },
    
      plugins: [
        { enums: "typescript", name: "@hey-api/types" },
        { asClass: true, name: "@hey-api/services" },
      ],