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

Generate TypeScript types from OpenAPI 3 specs

Results 247 openapi-typescript issues
Sort by recently updated
recently updated
newest added

## Changes Consolidates 4 About pages into one, creates a new “Maintainers” section, and consolidates Contributors into one big grid ![CleanShot 2025-01-25 at 16 23 13@2x](https://github.com/user-attachments/assets/b6aaa85a-d00d-40c8-9270-8d19869f3306) ![CleanShot 2025-01-25 at 16...

### openapi-typescript version 7.6.1 ### Node.js version 22.12.0 ### OS + version macOs 15.3 ### Description If the schema declares a `oneOf` property with discriminator the generated Types will have...

bug
openapi-ts

## Changes Openapi-typescript creates an faulty file when using --path-params-as-types to generate types when nested path parameters exists. This is particularly annoying when used with a Restful CRUD like :...

openapi-ts

## Changes Fixes #2069 This PR updates the `defaultBodySerializer` to correctly serialize the body if `Content-Type` header is set to `x-www-form-urlencoded`. This is useful for OAuth2 token requests. ## How...

openapi-fetch

## Changes This PR includes a couple of different changes for `openapi-fetch`: - A refactor (Breaking change?) to ensure the behaviour of `data` and `error` are the same to reduce...

openapi-fetch

Hi! 👋 Firstly, thanks for your work on this project! 🙂 Today I used [patch-package](https://github.com/ds300/patch-package) to patch `[email protected]` for the project I'm working on. The problem is that if any...

### openapi-typescript version 7.6.1 ### Node.js version 22.12.0 ### OS + version macOS 15.2 ### Description # Reproduce Bug ## Given ```yaml CreateRepositoryRequest: description: Lorem ipsum dolor sit amet. type:...

bug
openapi-ts

### openapi-typescript version 7.4.4 ### Node.js version 22.6.0 ### OS + version macOS 15.1.1 ### Description It seems like openapi-typescript converts an OpenAPI Schema where the required is part of...

bug
openapi-ts

### Description Currently, `createQueryHook` only exposes errors defined in the OpenAPI schema. This means that if the API returns an error defined in the schema (e.g., `{ message: "Invalid status"...

enhancement
swr-openapi

## Changes proposal fix for https://github.com/openapi-ts/openapi-typescript/issues/2142 _What does this PR change? Link to any related issue(s)._ ## How to Review _How can a reviewer review your changes? What should be...