msgraph-beta-sdk-python icon indicating copy to clipboard operation
msgraph-beta-sdk-python copied to clipboard

Wrong/confusing generation of properties (e.g IPv4 => i_pv4,)

Open haavardw opened this issue 2 years ago • 0 comments
trafficstars

There's some rather confusing and annoying property names being generated. Even my github copilot gets this wrong.

Example: msgraph.generated.models.ti_indicator.TiIndicator has translated the field "networkIPv4" to the class property network_i_pv4. There's plenty of similar cases just in this class.

A better (IMO) translation would be network_ip_v4 or network_ipv4.

haavardw avatar Aug 22 '23 07:08 haavardw