20 lines
407 B
TypeScript
20 lines
407 B
TypeScript
import { defineConfig } from "@hey-api/openapi-ts"
|
|
|
|
export default defineConfig({
|
|
input: "./openapi.json",
|
|
output: "./src/client",
|
|
// exportSchemas: true,
|
|
plugins: [
|
|
{
|
|
name: "@hey-api/sdk",
|
|
// NOTE: this doesn't allow tree-shaking
|
|
asClass: true,
|
|
operationId: true,
|
|
classNameBuilder: 'SshecretAdmin',
|
|
},
|
|
{
|
|
name: '@hey-api/client-axios',
|
|
},
|
|
],
|
|
})
|