Would like to see if others agree with this, but this came up when someone was attempting to show an action is deprecated in an OEM resource. For example, the desire was to have an actions property like this:
{
"Actions": {
"#ContosoManager.SuperCoolAction": {
"target": "/redfish/v1/Oem/Contoso/Manager/Actions/ContosoManager.SuperCoolAction"
},
"#ContosoManager.SuperCoolAction@Redfish.Deprecated": "This action has been deprecated for newer actions"
}
}
Using @Redfish.Deprecated inside of the Actions object wasn't being handled, as it was expecting everything to be an object.
Would like to see if others agree with this, but this came up when someone was attempting to show an action is deprecated in an OEM resource. For example, the desire was to have an actions property like this:
Using
@Redfish.Deprecated
inside of the Actions object wasn't being handled, as it was expecting everything to be an object.