-
-
Notifications
You must be signed in to change notification settings - Fork 35
Open
Description
Describe the bug
A clear and concise description of what the bug is.
yarn codegen
yarn run v1.22.19
$ openapi-rq -i http://127.0.0.1:8008/openapi.json
file:///...node_modules/@7nohe/openapi-react-query-codegen/dist/cli.mjs:22
.choices(["@hey-api/client-fetch", "@hey-api/client-axios"])
^
TypeError: (intermediate value).choices is not a function
at setupProgram (file:...node_modules/@7nohe/openapi-react-query-codegen/dist/cli.mjs:22:10)
To Reproduce
yarn codegen
Expected behavior
yarn codegen
yarn run v1.22.19
$ openapi-rq -i http://127.0.0.1:8008/openapi.json
✨ Creating Fetch client
✨ Done! Your client is located in: E:\code\shedule_front_mantine\openapi\requests
OS:
Windows 11 x86_x64
Additional context
v2.0.0-beta.1 has no problems.
thx for you app btw 👍
Metadata
Metadata
Assignees
Labels
No labels