AccountService: Use @Redfish.AllowableValues annotation
Correct AllowableValues annotation for HTTPBasicAuth property.
Tested: redfish-service-validator pass
Change-Id: I1faf683799622a3c4ba8f84c44715c43bd28451b
Signed-off-by: John Chung <john.chung@arm.com>
diff --git a/redfish-core/lib/account_service.hpp b/redfish-core/lib/account_service.hpp
index 41b7a97..56152c9 100644
--- a/redfish-core/lib/account_service.hpp
+++ b/redfish-core/lib/account_service.hpp
@@ -1388,7 +1388,7 @@
nlohmann::json::array_t allowed;
allowed.emplace_back(account_service::BasicAuthState::Enabled);
allowed.emplace_back(account_service::BasicAuthState::Disabled);
- json["HTTPBasicAuth@AllowableValues"] = std::move(allowed);
+ json["HTTPBasicAuth@Redfish.AllowableValues"] = std::move(allowed);
nlohmann::json::object_t clientCertificate;
clientCertificate["Enabled"] = authMethodsConfig.tls;