openapi-typescript
openapi-typescript copied to clipboard
Generate TypeScript types from OpenAPI 3 specs
**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...
**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...
**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...
**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...
**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...
**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...
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...
**Description** I tried using the Redocly `filter-in` decorator and it was not applied by `openapi-typescript`. ``` There was no error ``` | Name | Version | | :------------------- | :---------------------------...
**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...
**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**  **Server Error**  **Reproduction** This can be reproduced by using...