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

Validator report errors on CapabilitiesObject resource

Open JojoWu19 opened this issue 3 years ago • 2 comments

Since the CapabilitiesObject resource follows the same schema for the resource that the resource collection contains, there are some mandatory properties not in it. For example, the properties SubscriptionType andContext of EventDestination but Validator report these are errors:

/redfish/v1/EventService/Subscriptions/Capabilities
ERROR - SubscriptionType: Mandatory prop does not exist
ERROR - Context: Mandatory prop does not exist

JojoWu19 avatar Nov 08 '21 11:11 JojoWu19

I may need to discuss this further with others. At least with some of the usage that we've seen so far, we expected required properties to be in the capabilities resource. However, I can certainly see why having things like "Context" in there for this don't make much sense.

I suspect we will likely need to make an exception to skip this check on these resources.

mraineri avatar Nov 12 '21 14:11 mraineri

Get it, thank you.

JojoWu19 avatar Nov 15 '21 02:11 JojoWu19