microsoft / scitt-ccf-ledger

Supply Chain Integrity Transparency and Trust ledger application using Confidential Consortium Framework (CCF)
MIT License
35 stars 16 forks source link

Inconsistent use of JSON keys snake_case and camelCase in responses #187

Open ivarprudnikov opened 5 months ago

ivarprudnikov commented 5 months ago

Inconsistent use of JSON keys: snake_case vs camelCase

Configuration object is using snake_case and is exposed to the user. The /entries/txIds endpoint returns a list that has nextLink, see renaming logic in JSON https://github.com/microsoft/scitt-ccf-ledger/blob/5cea879c7256a1ce174e3c21d9a25f580ec543aa/app/src/call_types.h#L75-L78

Expected behavior All JSON keys should use camelCase naming convention.