openapi-react-query-codegen icon indicating copy to clipboard operation
openapi-react-query-codegen copied to clipboard

OpenAPI React Query Codegen is a code generator for creating React Query (also known as TanStack Query) hooks based on your OpenAPI schema.

Results 57 openapi-react-query-codegen issues
Sort by recently updated
recently updated
newest added

**Describe the bug** An OpenAPI Query Parameter with the name `_` (or any `_` within the parameter name) fails to generate the corresponding property name under `services.gen.ts` (`Fetch` client). Any...

bug

**Is your feature request related to a problem? Please describe.** I'm always frustrated when i'm using a debounced input value and the old pending request result overrides the latest value...

enhancement

Hey, I really needed a solidjs openapi codgen that works with tenstack solid-query. I figured that your codebase was a good base for the solidjs version and i made a...

**Is your feature request related to a problem? Please describe.** I cannot use a hook outside a component. This is not ideal when I use react router loaders. **Describe the...

enhancement

Thanks for the great lib, I've been looking for something to replace https://github.com/ferdikoomen/openapi-typescript-codegen as its no longer mantained. There is quite a big issue on that old project too which...

**Is your feature request related to a problem? Please describe.** Currently, this library does not support generating custom hooks for useInfiniteQuery. This limitation makes it difficult to handle APIs that...

enhancement

**Describe the bug** When I run TSC after running codegen on a simple open api spec, I get error TS2742. It seems that this lib is missing some typings in...

**Is your feature request related to a problem? Please describe.** I want to set `staleTime` on prefetches. **Describe the solution you'd like** Similar to `useQuery`, `prefetch` should be able to...

**Describe the bug** Hello, When we use the `TError` type from codegen, the type is always `unknown`. How to have the payload or message of all the 400s and 500s...