openapi-typescript-codegen
openapi-typescript-codegen copied to clipboard
NodeJS library that generates Typescript or Javascript clients based on the OpenAPI specification
Hi! Thanks for the generator 🙌 Compared to openapi-generator typescript-fetch, it has clean and understandable output 👏 Any thoughts on supporting multiple request bodies? I'm trying to generate a client...
It would be great if the `axios` and `xhr` handlers supported per-request upload/download progress handlers. This is supported in the official openapi-generator package via client-specifc options that can be passed...
**Describe the solution you'd like** As of today, the package only generate types for `schemas` but they are missing some other types: - [x] schemas - [ ] responses -...
**Describe the bug** Hi all, not sure if this is expected (I've seen it was discussed in some other issues like https://github.com/ferdikoomen/openapi-typescript-codegen/pull/727) but here is my issue: I've a model...
Is there a working way on how to timeout requests with generated APIs using node-fetch? There is an example here https://github.com/ferdikoomen/openapi-typescript-codegen/blob/56c62af2d6901a128e403331324649bbf4d67cff/docs/canceling-requests.md that uses _CancelablePromise_, but both functions **isRejected** and **isResolved**...
I'd like to be able to ignore certain or all headers from being integrated into the generated code. I handle these headers in Angular via interceptors so having them in...
I have a openapi.json that contains types with upper case properties. I would like to be able to define to make those camelCase. I saw other generators (they dont work...
How would I allow my generated Axios HTTP request library to be signed with an AWSv4 signature? I was generally using this with axios request but finding it difficult to...
closes #432 #### Pretext: Say there are 2 properties to a model `id` and `name`. Creating a model instance (POST) requires only `name` to be posted and `id` would be...
Closes #983 I implemented the option to add a suffix to the generated model names. To stay aligned with the already exisiting parameter --postifx, I named it --postfixModels and renamed...