-
-
Notifications
You must be signed in to change notification settings - Fork 318
Closed
Labels
bug 🔥Broken or incorrect behavior.Broken or incorrect behavior.needs info ⏳More information needed.More information needed.
Description
Error: Request failed with status 200:
Stack Trace:
Error: Request failed with status 200:
at To (/Users/**/frontend/node_modules/@hey-api/openapi-ts/dist/index.cjs:38:124484)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Promise.all (index 0)
at async z$ (/Users/**/frontend/node_modules/@hey-api/openapi-ts/dist/index.cjs:1338:4634)
at async start (/Users/**/frontend/node_modules/@hey-api/openapi-ts/bin/index.cjs:131:21)
I'm getting this issue when trying to generate a fetch client as follows
export default defineConfig({
input: "http://localhost:8000/openapi.json",
output: {
path: "hey-api",
client: "fetch",
},
services: { asClass: true },
types: { enums: "typescript" },
});and this command
npm run openapi-ts
Not sure what the issue is. This is being built off a FastAPI spec, which does have some naming issues and is somewhat incomplete at this point as we are still in process of migrating.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bug 🔥Broken or incorrect behavior.Broken or incorrect behavior.needs info ⏳More information needed.More information needed.