oazapfts
oazapfts copied to clipboard
Ques: Is there a reason to force the operationId to camelcase
Question
Is there a reason to force the operationID to camelcase?
Current Behavior
e.g. A operation ID like EvaluateUserIAM
will get generated as evaluateUserIam
Expected behavior Based on the spec guide (reffered below) I guess if an operation ID is found on the schema it should not be mutated.
The openID spec mentions that the operation ID is case sensitive, however since the generator is mutating the operation name to be camelcase it causes confusion for consuming clients.
Source Reference https://github.com/oazapfts/oazapfts/blob/702c4008d53280f46f9827df2f04eef1ce3690c7/packages/codegen/src/generate.ts#L120-L125