Open ClaytonSmith opened 1 week ago
Start a new pull request in StackBlitz Codeflow.
Hey @ClaytonSmith, did you see the migration notes? https://heyapi.vercel.app/openapi-ts/migrating.html#renamed-legacy-clients
I'm using the command line and fixed the issue by changing the client as mentioned in the documentation. https://heyapi.vercel.app/openapi-ts/clients/axios.html
openapi-ts -i ./openapi.json -o ./src/client --client '@hey-api/client-axios'
It changed the generated API because the default was fetch
and I'm now using Axios...
@jpenna it sounds like your issue is resolved, is there anything you still need help with?
Description
npx @hey-api/openapi-ts --input http://<URL>/openapi.json --output ./src/app/generated --client axios
0.53.0 Introduced an breaking change where the
core/request.ts
file is empty and none of the generated services are able to be imported due to missing dependencies.OpenAPI specification (optional)
npx @hey-api/openapi-ts --input http://<URL>/openapi.json --output ./src/app/generated --client axios
core/request.ts
fileservices.gen.ts
System information (optional)
No response