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

**Description** The change in #1335 that makes the `parameters` property optional if all parameters are optional (thanks!) seems to not work with reusable header definitions in the `components` section. Trying...

bug
openapi-fetch

**Description** If a payload has a required object field whose `additionalProperties` specifies a schema for the values, the generated type shouldn't allow `undefined` values. **OpenAPI** The real schema where I'm...

enhancement
openapi-ts

**Description** Error when generating schema from multiple `.yaml` files from another directory in the parent folder (see directory structure below). Thus, the yaml file is not in the same folder...

bug
openapi-ts

**Description** I'm seeing an issue where generated typescript types result in some impossible types: ``` Type error: Argument of type '{ params: { path: { id: string; }; }; }'...

bug
openapi-fetch

**Description** Generated schema types with references to other types present an awkward IDE experience. ```typescript // generated "child type /** * BoardDTO * @description Deserialized board record with cover image...

enhancement
PRs welcome
openapi-ts

**Description** Currently in order to handle errors the code usually looks something like this: ```typescript const { data, error } = get('url/which/fails/to/fetch') .catch(error => ({error, response: new Response()})) console.log(error) //=>...

openapi-fetch
docs

**Description** I'm seeing in our existing code we have a type object where we've defined additional properties as an array. When we run `openapi-typescript` the TypeScript produced doesn't compile. Should...

bug
openapi-ts

**Description** When making a query, everything's typed and working properly, but when I examine the `data` and `error` props, I get `undefined` even though the `200` value is clearly defined...

enhancement
openapi-fetch

**Description** The `transform` hook introduced in 6.0 is really neat, but I feel like it would be even better if `ReferenceObject`s could be transformed as well. If this were the...

enhancement
help wanted
openapi-ts

**Description** API entry points are associated to operationId in OpenAPI schema. Path Enum was a solution in `openapi-typescript@

enhancement
help wanted
openapi-ts