diff options
author | Ed Tanous <edtanous@google.com> | 2021-09-22 04:01:43 +0300 |
---|---|---|
committer | Ed Tanous <ed@tanous.net> | 2021-10-20 04:50:31 +0300 |
commit | d8e3c29a3b8626ed8072be4547a2bbcf7321c757 (patch) | |
tree | 2785c362d8be26514b5f4797b98ba81113495837 /redfish-core/lib/account_service.hpp | |
parent | 3fafa370cca70187fbfc897267919209766a170b (diff) | |
download | bmcweb-d8e3c29a3b8626ed8072be4547a2bbcf7321c757.tar.xz |
Fix service validator on OEM account service
Whomever wrote the AccountService oem properties seems to have forgotten
that all resources need an odata.id.
Tested:
Ran Redfish service validator. No longer fails with:
ERROR - OpenBMC: EntityType resource does not contain required @odata.id
property, attempting default /OpenBMC
Signed-off-by: Ed Tanous <edtanous@google.com>
Change-Id: I291705d9e17f50f53395a1013a982d38e3a9e1f5
Diffstat (limited to 'redfish-core/lib/account_service.hpp')
-rw-r--r-- | redfish-core/lib/account_service.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/redfish-core/lib/account_service.hpp b/redfish-core/lib/account_service.hpp index cfd47a85c5..8e27930304 100644 --- a/redfish-core/lib/account_service.hpp +++ b/redfish-core/lib/account_service.hpp @@ -1287,6 +1287,7 @@ inline void requestAccountServiceRoutes(App& app) {"Oem", {{"OpenBMC", {{"@odata.type", "#OemAccountService.v1_0_0.AccountService"}, + {"@odata.id", "/redfish/v1/AccountService#/Oem/OpenBMC"}, {"AuthMethods", { {"BasicAuth", authMethodsConfig.basic}, |