openbmc / bmcweb

A do everything Redfish, KVM, GUI, and DBus webserver for OpenBMC
Apache License 2.0
168 stars 136 forks source link

OemAccountService instantiates a class that is abstract in CSDL #183

Closed edtanous closed 2 months ago

edtanous commented 3 years ago

https://github.com/openbmc/bmcweb/blob/65f7365901fad2437456f4edcdac41e03f0ca259/static/redfish/v1/schema/OemAccountService_v1.xml#L65

CSDL abstract classes work like Java abstract classes, they can't be created directly, only inherited from. We should have an inherited class that we version properly, identical to how Redfish does it.

While this would technically be a breaking change to the API surface, clearly nobody has noticed, as you couldn't have generated a "real" client API off the CSDL anyway.

edtanous commented 2 months ago

Fixed in fc1cdd1482eba26a8336f08f4d8af67e47c2adc4