openapi-ts icon indicating copy to clipboard operation
openapi-ts copied to clipboard

✨ Turn your OpenAPI specification into a beautiful TypeScript client

Results 243 openapi-ts issues
Sort by recently updated
recently updated
newest added

### Description Everything was working OK for me in 0.64.15, but since 0.65.0 (currently 0.66.3), I'm getting a typescript error, and it seems to be in the library's typings file...

bug πŸ”₯
help wanted πŸ™‹

This adds an option asInstance that makes the sdk class instantiable. Specifically: 1. Methods are instance methods instead of static 2. The sdk takes a client as a parameter in...

### Description When using the `@tanstack/svelte-query` plugin within fastify, the `svelte-query.gen.ts` file generates just fine. However, I get the following error in all of my requestResourceOptions(): ```bash The inferred type...

bug πŸ”₯

### Description I have configured openap-ts to transform date fields and transformers are genereated and even supplied to SDK clients, however I am unable to observe the transformers being called....

bug πŸ”₯

### Description I am using the Zod and Date transformer but I noticed the Zod creates dates as z.string().date() instead of z.date() which messes with the Date transformer. Is there...

bug πŸ”₯
feature πŸš€

The workflow has changed over the course of the versions, now there seems to be no way to stop the tooling for setting the baseUrl in the client.gen.ts. I set...

feature πŸš€

Related https://github.com/hey-api/openapi-ts/issues/1213#issuecomment-2765206344

docs πŸ“ƒ
internal βš™οΈ

### Context: I’m using @hey-api/openapi-ts to generate TypeScript types/schemas from a FastAPI backend’s OpenAPI spec. My frontend (React) uses Temporal.Instant (via @js-temporal/polyfill) for datetime handling, but the generated types default...

feature πŸš€

### Description From [OpenAPI docs](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#dataTypeFormat): > As defined by the [JSON Schema Validation vocabulary](https://tools.ietf.org/html/draft-bhutton-json-schema-validation-00#section-7.3), data types can have an optional modifier property: format. OAS defines additional formats to provide fine...

feature πŸš€