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** This was working before ver 7 and it creates working code for my usecase. This is what creates problem for me: This is request body that can accept one...

bug
openapi-ts

**Description** There's no apparent way to validate that the existing generated types in the target file match the current schema. This is useful in a CI pipeline. **Proposal** A validation...

bug
enhancement
openapi-ts

**Description** A dictionary of string -> string defined in the openapi.json spec, generates a string -> string | undefined dictionary in Typescript. This worked as expected with 6.7.7. ``` src/routes/profile-page.vue:84:51...

bug
openapi-ts

**Description** When there are multiple keys that cannot be represented as properties, the generated enum converts them all to `_`, which makes it impossible to use those values in the...

bug
PRs welcome
good first issue
openapi-ts

**Description** Calling the client with `body: null` or `body: ''` will result in no body sent to the server (same behavior as with `undefined`). I believe that they should be...

bug
PRs welcome
good first issue
openapi-fetch

**Description** Any HTTP method is free to choose whether it sends a payload or not (GET might be debatable, but that's not important). When it sends one, it should declare...

bug
PRs welcome
good first issue
openapi-fetch

Hi, I am trying to figure why we are getting the following error after updating `openapi-fetch` from *0.8.x* to *0.9.x*: ``` ⨯ TypeError: Only absolute URLs are supported at new...

bug
planned
openapi-fetch

**Description** I tried using the Redocly `filter-in` decorator and it was not applied by `openapi-typescript`. ``` There was no error ``` | Name | Version | | :------------------- | :---------------------------...

enhancement
PRs welcome
openapi-ts

**Description** I've OpenAPI schema with multiple the security schemes. Some paths are public and some are internal. How to get types for public paths (methods) only? **Proposal** May be we...

enhancement
PRs welcome
openapi-ts

**Description** When using the openapi-fetch client in Next.js 14.2.4's `middleware.ts` file, it causes the app to error **Client Error** ![image](https://github.com/openapi-ts/openapi-typescript/assets/13159212/c76538e0-2f0c-4642-af6e-d7803c2abdd2) **Server Error** ![image](https://github.com/openapi-ts/openapi-typescript/assets/13159212/76eea27e-652b-4dcf-9c52-4ed55219e5d5) **Reproduction** This can be reproduced by using...

bug
openapi-fetch