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

Thank you for the great project @drwpow ! I am trying to migrate to the v7, I only noticed an issue with **nullable enums**. When I run `npx -y openapi-typescript@next...

bug
help wanted
good first issue
openapi-ts

### 🗣️ Description I want automatic deserialization + serialization of custom formats; particularly, `Date` values. Currently, I get nice type signatures for requests, and for response bodies; however those types...

enhancement
PRs welcome
openapi-fetch

**Description** Given the following example API routes: - GET `/objects/${object_id}` - GET `/objects/${object_id}/some-route` Running `openapi-typescript` with `--path-params-as-types` enabled will result in a TypeScript definition that throws the following error: ```...

bug
openapi-ts

**Description** **Proposal** I suggest adding an option that would determine whether non-required object properties get turned into: ```ts someProperty?: string; ``` or ```ts someProperty: string | undefined; ``` The latter...

enhancement
PRs welcome
openapi-ts

**Description** I'd like to be able to omit schema objects from generated types. Use case: My project has a plugin type system that results in additional schema objects being added...

enhancement
PRs welcome
openapi-ts

**Description** Having a self referential type like... ```json "Json": { "anyOf": [ { "type": "string" }, { "type": "number", "format": "double" }, { "type": "boolean" }, { "properties": {}, "additionalProperties":...

bug
PRs welcome
openapi-ts
tricky

**Description** Firstly, big thanks for creating this project @drwpow! Solved lot of my pain points. `--path-params-as-types` doesn't work because `pathItemObject` in `transformPathsObject` is an object made up of HTTP methods...

openapi-ts

## Changes This is a follow up of the workaround merged in this PR https://github.com/drwpow/openapi-typescript/pull/1597 Here the point is to infer the content type from the `Accept` header on each...

openapi-fetch

**Description** First of all, I want to thank you for this great lib! :) To make it even better, I suggest exporting component types and paths like open-api-generator does. **Proposal**...

enhancement
help wanted
openapi-ts

**Preamble** Thank you for your work on this project, keep up the good work! **Description** A wrong type is generated when using a `$ref` from `schemas` that contains a `discriminator`...

bug
openapi-ts