Skip to content

Commit

Permalink
✨ Migrate to latest openapi-ts (#1430)
Browse files Browse the repository at this point in the history
  • Loading branch information
patrick91 authored Nov 27, 2024
1 parent e345273 commit a21c57a
Show file tree
Hide file tree
Showing 12 changed files with 1,703 additions and 574 deletions.
15 changes: 15 additions & 0 deletions frontend/openapi-ts.config.ts
Original file line number Diff line number Diff line change
@@ -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,
},
],
})
Loading

0 comments on commit a21c57a

Please sign in to comment.