openapi-typescript
openapi-typescript copied to clipboard
Generate TypeScript types from OpenAPI 3 specs
*Mind: This is a bug in openapi-react-query. There is no template for opening Bugs for the openapi-react-query package yet.* **Description** The `select` transformer in the `queryOptions` of the useQuery method...
The generated --enum-values schema.ts file creates a 2-D Type and 1-D values. **Spec:** ``` someList: type: array items: type: string enum: - One - Two - Three ``` **Schema File:**...
**Description** `SuccessResponseJSON` returns `{value:number}` instead of `{value:number}[]` when upgrading from `[email protected]` to `[email protected]`. | Name | Version | | :------------------- | :--------------------------- | | `openapi-typescript-helpers` | `0.0.12` | | Node.js...
`openapi-fetch` as it’s grown in features has grown in size! It was originally `2 kb` when it started out, but with middleware support and other features is now closer to...
**Description** I think `SuccessResponseJSON` and `ErrorResponseJSON` weren't updated along with their non-`JSON` counterparts in v7 and they should've been something like this: ```diff - export type JSONLike = FilterKeys; +...
Thanks everyone for the new updates of `openapi-typescript`! I have found an issue which I believe might be related to the new major version (7). **Description** In version `7.3.0` and...
**Description** I get the following error occasionally in a api client with a simple auth middleware: `onRequest: must return new Request() when modifying the request` The error seems to be...
**Description** After updating the package from [6.7.6](url) to [7.3.0](https://github.com/openapi-ts/openapi-typescript/releases/tag/openapi-typescript%407.3.0) I see the below error log when fetching data from certain URLs that I need to build my app with, Basically...
**Description** When working with APIs that accept array query parameters, sometimes data structures that differ from arrays are used to keep track of these parameters before requests. For example, when...
## Changes Added filtering after forming query parameters in querySerialize. ## How to Review Currently, if there is any key in queryParams with an empty object, the result of the...