Closed riethm closed 4 months ago
The spec isn't super clear on that. I don't have systems to test right now, but if you wanted to put up a PR that changes it to pass an empty body, maybe we can find someone that would be able to test that change against other vendors and verify for us if it's acceptable or not.
Closed by #268
Lenovo seems to not permit a null payload to the Bios.ResetBios endpoint:
Gofish passes a null payload, with no way to override it https://github.com/stmcginnis/gofish/blob/6e8a2909577b8424e751890a5c432352f227097b/redfish/bios.go#L180-L182
resetBiosTarget
is not directly exposed either, so the only option seems to be to do anEntity.Post
with hardcoded uri and custom empty payload, which seems less than ideal.Should the payload be changed to an empty map by default? I'm not clear if the schema for Bios.BiosReset expressly permits or prohibits a null payload.