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

NodeJS library that generates Typescript or Javascript clients based on the OpenAPI specification

Results 228 openapi-typescript-codegen issues
Sort by recently updated
recently updated
newest added

Needed something similar to #1268 and decided to create a PR that provides for custom templates for the three main code bits I think anyone would want to replace. Adds:...

### Issue This pull request aims to address an issue that arises when an endpoint returns a `204 No Content` status. Currently, the TanStack query generates an error stating that...

If a default value of 0 is specified then it is not generated. I traced it to this line but I do not yet know .hbs if someone wants to...

I have an OpenAPI specification with a contentType of `application/x-www-form-urlencoded`: ```json "/foo": { "post": { "requestBody": { "content": { "application/x-www-form-urlencoded": { "schema": { "$ref": "#/someSchema" } } } } }...

I am encountering an issue when using the openapi-typescript-codegen library to invoke a REST web service written in .NET Core. The service works perfectly with PHP and other .NET clients,...

I need to add a condition. Let me explain first ```ts export const getResponseBody = async (response: Response): Promise => { if (response.status !== 204) { try { const contentType...

I use multiple opeapi schemes from different urls To avoid duplicate `./src/api-generated/${scheme}/core` directory for each api provider, I generate core separately ``` 1. --output ./src/api-generated/core --exportServices false --exportModels false 2....

Bumps [@rollup/plugin-commonjs](https://github.com/rollup/plugins/tree/HEAD/packages/commonjs) from 25.0.8 to 26.0.1. Changelog Sourced from @​rollup/plugin-commonjs's changelog. v26.0.1 2024-06-05 Bugfixes fix: correct import of glob (04a15b5) v26.0.0 2024-06-05 Breaking Changes chore!: bump glob's version (#1695) Commits...

dependencies

**Describe the solution you'd like** A clear and concise description of what you want to happen. Ideally with a small example of the proposed changes. ```ts // In the generated...