openapi-typescript
openapi-typescript copied to clipboard
Generate TypeScript types from OpenAPI 3 specs
**Description** It seems that the library generated error types and returns only the first error code instead of the union for the other types. When we have declared other error...
**Description** Currently, `openapi-fetch` uses the method as the function name (ex: `client.GET()`) and there is no way to use the method as an argument. When building around `openapi-fetch` it requires...
There should be a mechanism to gain access to the query keys the lib generates.
@drwpow @kerwanp Do you guys think that it's possible to add support for `useQueries()`? I'll work on that but need some directions and opinions.
This issue lists Renovate updates and detected dependencies. Read the [Dependency Dashboard](https://docs.renovatebot.com/key-concepts/dashboard/) docs to learn more.[View this repository on the Mend.io Web Portal](https://developer.mend.io/github/openapi-ts/openapi-typescript). ## Rate-Limited These updates are currently rate-limited....
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [pnpm](https://pnpm.io) ([source](https://redirect.github.com/pnpm/pnpm/tree/HEAD/pnpm)) | [`9.15.2` -> `9.15.9`](https://renovatebot.com/diffs/npm/pnpm/9.15.2/9.15.9) | [](https://docs.renovatebot.com/merge-confidence/) |...
## Changes close #2136 Added a new Type Parameter, ``FetcherError``, to ``createQueryHook``, ``createImmutableHook``, and ``createInfiniteHook``. It allows you to include ``FetcherError`` to the type of the error in the return...
## Changes Fixes: https://github.com/openapi-ts/openapi-typescript/issues/2101, when the --make-paths-enum was reintroduced back it was reintroduced with previously fixed bug: https://github.com/openapi-ts/openapi-typescript/issues/950 ## How to Review It's straight-forward change :) ## Checklist - [x]...
This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically....
### openapi-fetch version 0.13.0 ### Description HEAD method request returns 200 status code but triggers React Query's onError handler with the following error: > onError called SyntaxError: Failed to execute...