a simple node js script to generate react-hooks for api requests which uses react-query write your schema in a file of your choice and generate the code using the script below
node index.js --schema [/path/to/schema/file] --out [/path/to/output/file]
Check out the full playlist on youtube on how this was made.