Skip to content

Commit 79d3afd

Browse files
committed
✨ Migrate to latest openapi-ts
1 parent e345273 commit 79d3afd

12 files changed

+1703
-574
lines changed

frontend/openapi-ts.config.ts

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
import { defineConfig } from "@hey-api/openapi-ts"
2+
3+
export default defineConfig({
4+
client: "legacy/axios",
5+
input: "./openapi.json",
6+
output: "./src/client",
7+
// exportSchemas: true,
8+
plugins: [
9+
{
10+
name: "@hey-api/sdk",
11+
// NOTE: this doesn't allow tree-shaking
12+
asClass: true,
13+
},
14+
],
15+
})

0 commit comments

Comments
 (0)