Skip to content
Snippets Groups Projects
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
openapi-ts.config.ts 419 B
import { defineConfig } from "@hey-api/openapi-ts";

export default defineConfig({
  // you can download this file to get the latest version of the OpenAPI document
  // @link https://api.cloud.llamaindex.ai/api/openapi.json
  input: "./openapi.json",
  client: "@hey-api/client-fetch",
  output: {
    path: "./src/client",
    format: "prettier",
    lint: "eslint",
  },
  types: {
    enums: "javascript",
  },
});