openapi-typescript-codegen
openapi-typescript-codegen copied to clipboard
NodeJS library that generates Typescript or Javascript clients based on the OpenAPI specification
**Describe the solution you'd like** Either it isn't supported to pass through [any of these options](https://github.com/OpenAPITools/openapi-generator/blob/master/docs/generators/typescript.md) or it isn't supported (or I can't find it) - if its available, could...
I have several projects that return a `application/problem+json` content type. As seen in [this RFC](https://datatracker.ietf.org/doc/html/rfc7807), it should always be possible to parse it with `response.json()`. The [symfony](https://symfony.com/) framework uses this...
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 15.5.0 to 16.1.1. Release notes Sourced from puppeteer's releases. v16.1.1 16.1.1 (2022-08-16) Bug Fixes custom sessions should not emit targetcreated events (#8788) (3fad05d), closes #8787 deprecate ExecutionContext...
Here is an example of the error message from the generated `request.ts` core file. ``` TS2322: Type 'AxiosResponse' is not assignable to type 'AxiosResponse'. Type 'unknown' is not assignable to...
Hey, I want to use components that are defined in different file, but it's impossible to share let's say enum (or any other component). This makes `$ref: files` unusable (except...
Hi, Using your tool as such `openapi --input http://localhost:8888/openapi.json --output ./src/generated --client axios --useOptions --exportSchemas true` But its creating a "string" model for some reason:  Deleting this model from...
When using the `httpClient: 'axios'` option, I would like to be able to also use a custom axios instance for making the requests. The reason for that is that I...
This is more of a question then a feature request (at least at this point), but am I reading the generated code correctly as not actually validating that the response...
Add a type guards i.e. dynamic validation of the JSON returned from the server. This makes the generated code type safe (before it could be missing fields, despite what the...
closes #1186