Closed jakubdrozdek closed 4 days ago
Sorry, I just noticed it's resolved in one of the latest versions. I recently migrated from openapi-typescript-codegen
and forgot to remove old generated files.
Works fine in the latest version (0.48.0):
@jakubdrozdek No worries. The higher you keep climbing in the version number, hopefully the better it gets overall 🚀
Description
My OpenAPI schema uses
data
for many POST/PUT request body parameter names. This leads to naming conflicts with the service operation's parameter namedata
(when usinguseOptions: true
).It would be awesome to either hard-code this parameter to a different value, like
__data
, to ensure no naming clashes with potential OpenAPI schemas, or let developers customize the default parameter's name.