13 lines
292 B
TypeScript
13 lines
292 B
TypeScript
import { defaultPlugins, defineConfig } from "@hey-api/openapi-ts";
|
|
|
|
export default defineConfig({
|
|
client: "@hey-api/client-fetch",
|
|
input: {
|
|
path: "http://localhost:8000/openapi.json"
|
|
},
|
|
output: "src/client",
|
|
plugins: [
|
|
...defaultPlugins,
|
|
"@tanstack/solid-query"
|
|
]
|
|
})
|