Redfish-Service-Validator icon indicating copy to clipboard operation
Redfish-Service-Validator copied to clipboard

Fails to detect schema reference errors in Oem Actions

Open jbobzin-insyde opened this issue 6 years ago • 0 comments

Oem Action sample in spec { "Actions": { "Oem": { "#Contoso.Ping": { "target":"/redfish/v1/Systems/1/Actions/Oem/Contoso.Ping"}}}, }

In this example Contoso must be a Schema namespace (defined in a file loaded by $metadata) and Ping must be an Action name in that namespace. Missspelling of the namespace leading to no namespace match is not flagged as an error currently. The Action name is also not matched to the schema. In my tests oemcheck was true.

Once complication - the xml file defining Contoso is loaded from local schema store and not from dmtf over web.

jbobzin-insyde avatar Jun 20 '19 21:06 jbobzin-insyde