This commit is contained in:
2025-10-18 01:46:46 +03:00
commit 9baa68258e
74 changed files with 29125 additions and 0 deletions

31
openapi-ts.config.ts Normal file
View File

@ -0,0 +1,31 @@
import { defineConfig } from "@hey-api/openapi-ts";
export default defineConfig({
input: "http://localhost:8000/openapi.json",
output: "./lib/client",
plugins: [
"@hey-api/client-axios",
"@tanstack/react-query",
"@hey-api/typescript",
{
name: "zod",
requests: true,
definitions: true,
metadata: true,
dates: {
offset: true,
},
},
{
name: "@hey-api/sdk",
asClass: false,
validator: "zod",
},
{
name: "@hey-api/client-next",
runtimeConfigPath: "@/ hey-api-config",
},
],
});