You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem is in the SupportedLinesOfService property:
10 validation errors for DataStorageLoSCapabilities_v1_2_2_DataStorageLoSCapabilities
SupportedLinesOfService.0.`@odata.type`
Extra inputs are not permitted [type=extra_forbidden, input_value='#DataSecurityLineOfServi...taSecurityLineOfService', input_type=str]
For further information visit https://errors.pydantic.dev/2.5/v/extra_forbidden
SupportedLinesOfService.0.Id
Extra inputs are not permitted [type=extra_forbidden, input_value='SecureData', input_type=str]
For further information visit https://errors.pydantic.dev/2.5/v/extra_forbidden
…
which is defined as
SupportedLinesOfService:
description: Collection of known and supported DataStorageLinesOfService.items:
$ref: http://redfish.dmtf.org/schemas/v1/odata-v4.yaml#/components/schemas/odata-v4_idRefreadOnly: falsetype: arrayx-autoExpand: truex-longDescription: The collection shall contain known and supported DataStorageLinesOfService.
this is most likely due to missing auto-expansion when generating the OpenAPI description documents (c.f. DMTF/Redfish-Service-Validator#588).
Changing the type to the "expanded" in the description documents works for me.
The text was updated successfully, but these errors were encountered:
Hi,
using v1.2.6 the mockup http://service-based-mockups.swordfishmockups.com fails validation using the provided openapi description documents.
The PathItems
fail validation.
The problem is in the SupportedLinesOfService property:
which is defined as
but served as:
this is most likely due to missing auto-expansion when generating the OpenAPI description documents (c.f. DMTF/Redfish-Service-Validator#588).
Changing the type to the "expanded" in the description documents works for me.
The text was updated successfully, but these errors were encountered: