Migrate to latest openapi-ts (#1430)

This commit is contained in:
Patrick Arminio
2024-11-27 12:06:59 +01:00
committed by GitHub
parent e34527325b
commit a21c57ab2b
12 changed files with 1707 additions and 578 deletions

View File

@@ -0,0 +1,15 @@
import { defineConfig } from "@hey-api/openapi-ts"
export default defineConfig({
client: "legacy/axios",
input: "./openapi.json",
output: "./src/client",
// exportSchemas: true,
plugins: [
{
name: "@hey-api/sdk",
// NOTE: this doesn't allow tree-shaking
asClass: true,
},
],
})