hey-api / openapi-ts

🚀 The OpenAPI to TypeScript codegen. Generate clients, SDKs, validators, and more. Support: @mrlubos
https://heyapi.dev
Other
1.39k stars 107 forks source link

Use `void` instead of `undefined` for 204 response #1245

Closed mrlubos closed 2 weeks ago

mrlubos commented 2 weeks ago

This is technically not correct since void does not represent undefined, but without it, integrations such as TanStack Query will complain (it is possible I am not using the correct utility too)