sdk: update generated client code and dependencies

This commit is contained in:
Dax Raad 2025-08-24 14:10:17 -04:00
parent 691305b825
commit 762f338857
17 changed files with 493 additions and 173 deletions

View file

@ -10,11 +10,13 @@ import { createClient } from "@hey-api/openapi-ts"
await $`bun dev generate > ${dir}/openapi.json`.cwd(path.resolve(dir, "../../opencode"))
await $`rm -rf src/gen`
await createClient({
input: "./openapi.json",
output: {
path: "./src/gen",
tsConfigPath: path.join(dir, 'tsconfig.json')
tsConfigPath: path.join(dir, "tsconfig.json"),
},
plugins: [
{