openapi-ts icon indicating copy to clipboard operation
openapi-ts copied to clipboard

✨ Turn your OpenAPI specification into a beautiful TypeScript client

Results 243 openapi-ts issues
Sort by recently updated
recently updated
newest added

Hello. We have a nextjs project with api-platform as backend and was trying out the generated client from openapi v3.1. I have noticed that content type is not parsed from...

bug 🔥
client

### Describe the problem useDateType marks the models as Date objects. The service does not convert the date strings to date objects. This is causing the model generated as (Date)...

feature 🚀

This is to make the generated code work with TS's new `isolatedDeclarations` config. https://devblogs.microsoft.com/typescript/announcing-typescript-5-5-beta/#isolated-declarations ``` src/api/requests/core/OpenAPI.ts:14:3 - error TS9008: Method must have an explicit return type annotation with --isolatedDeclarations. 14...

### Description When We Generate Client For Our OpenAPI.json, It Can Also Create an Standalone Package with Script Like this `openapi --input http://127.0.0.1:8000/openapi.json --output ./src/client2 --client fetch --name Backend --useOptions`....

feature 🚀
question

### Description The impetus for this request is to see if something similar to the `--remove-operation-id-prefix` option of [openapi-generator](https://github.com/OpenAPITools/openapi-generator) could be done. Since the operationId needs to be unique, I...

feature 🚀

### Description Hey, first of all thanks for the great library. I am so happy to finally drop openapi-generator :) I have the use-case that I am developing an SDK/client...

feature 🚀

### Description Given the following tsconfig.json configuration, typescript warns about an unused @ts-expect-error comment in core/request.ts at line 28 (i assume this file is input agnostic to that point but...

bug 🔥
client

### Description Currently, when "exactOptionalPropertyTypes" is enabled in tsconfig.json, the generated files cause TS errors, because formData for example, is provided even though its type is possibly undefined. A workaround...

feature 🚀
client

### Description I have a .NETCore webserver hosting/serving a swagger file that is running on localhost over https with a self signed SSL certificate. But trying to do so I...

bug 🔥

### Description ``` "@hey-api/openapi-ts": "^0.45.1" node v22.0.0 ``` After running openapi-ts in my nodejs project i get message in console: `DeprecationWarning: fs.Stats constructor is deprecated` ### OpenAPI specification (optional) _No...

feature 🚀