|
Post by smcginnis on Apr 23, 2024 20:18:21 GMT
Hey folks, I noticed an inconsistency in the schema for AggregationSource v1.4.0 in the 2023.3 bundle. In the schema, the description states: "This property shall contain an array of links to resources of type ConnectionMethod that are used to connect to the aggregation source." This description is basically the same as the ResourcesAccessed linked property, but unlike that one, it does not specify "type": "array" in the schema. It appears the missing "type:array" is correct and the description is incorrect based on the example response included in the "Redfish Resource and Schema Guide": ``` { "@odata.type": "#AggregationSource.v1_4_0.AggregationSource", "Id": "AggregationSource1", "Name": "AggregationSource One", "HostName": "https://Someserver.Contoso.com/redfish/v1", "UserName": "root", "Password": null, "Links": { "ConnectionMethod": { "@odata.id": "/redfish/v1/AggregationService/ConnectionMethods/ConnectionMethod1" }, "ResourcesAccessed": [ { "@odata.id": "/redfish/v1/Managers/1" } ] }, "@odata.id": "/redfish/v1/AggregationService/AggregationSources/AggregationSource1" } ``` The example shows it as a single link rather than an array like the description states.
|
|
|
Post by mraineri on Apr 24, 2024 0:14:23 GMT
Thanks for catching that; it looks like it's just a description issue to me rather than an issue in the schema type definition. I'll raise this for others to review to see if they agree.
|
|
|
Post by jautor on Apr 24, 2024 19:33:31 GMT
Yeah, I agree that appears to be a description issue. It wouldn't make sense to have more than one ConnectionMethod per aggregation source...
|
|