Open
Description
happens with fresh install (0.77.0)
command to run
bun openapi-ts
openapi.ts
import { createClient } from "@hey-api/openapi-ts";
createClient({
input: "https://get.heyapi.dev/hey-api/backend",
output: "src/client",
});
Error: missing input - which OpenAPI specification should we use to generate your output?
Stack Trace:
Error: missing input - which OpenAPI specification should we use to generate your output?
at /Users/yotam/dev/swagz/node_modules/@hey-api/openapi-ts/dist/index.cjs:42:73949
at Array.map (<anonymous>)
at xm (/Users/yotam/dev/swagz/node_modules/@hey-api/openapi-ts/dist/index.cjs:42:73723)
at async Sq (/Users/yotam/dev/swagz/node_modules/@hey-api/openapi-ts/dist/index.cjs:1338:4474)
at async start (/Users/yotam/dev/swagz/node_modules/@hey-api/openapi-ts/bin/index.cjs:131:21)