Closed mrlubos closed 3 months ago
We do not camelcase each key in requestBody, but we camelcase parent keys (e.g. path parameters). This is inconsistent and creates unnecessary complexity. In the end, we cannot avoid working with snake case values.
requestBody
Instead of what we have today
MyService.operationFoo({ requestBody: { foo_bar: '' }, bazQux: '' })
this should become
MyService.operationFoo({ requestBody: { foo_bar: '' }, baz_qux: '' })
We will need a codemod to migrate existing clients
No response
cannot use project without
Add as a feature, but add flag supporting current behaviour so people aren't forced to upgrade immediately
Describe the problem
We do not camelcase each key in
requestBody
, but we camelcase parent keys (e.g. path parameters). This is inconsistent and creates unnecessary complexity. In the end, we cannot avoid working with snake case values.Describe the proposed solution
Instead of what we have today
this should become
We will need a codemod to migrate existing clients
Alternatives considered
No response
Importance
cannot use project without
Additional information
No response