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
iotcentral package-2022-10-31-preview has duplicate "x-ms-discriminator-value": "command" inheriting from TileConfiguration. Based on the naming conventions, I think you may want to make the second "x-ms-discriminator-value": "commandTile".
"CommandConfiguration": {
"description": "Configuration specifying options for a command tile.",
"x-ms-discriminator-value": "command",
"allOf": [
{
"$ref": "#/definitions/TileConfiguration"
}
],
"type": "object",
"properties": {
"device": {
"type": "string",
"description": "The device id that the command is associated with"
},
"command": {
"type": "string",
"description": "The command id to associate the tile to"
}
},
"CommandTileConfiguration": {
"description": "Configuration specifying options for a command tile",
"x-ms-discriminator-value": "command",
"allOf": [
{
"$ref": "#/definitions/TileConfiguration"
}
],
"type": "object",
"properties": {
"group": {
"description": "The ID of the device group to display",
"type": "string"
},
"command": {
"description": "The command to reference in the tile",
"type": "string"
},
"device": {
"description": "The device to reference in the tile"
}
},
"required": [
"group",
"command",
"device"
]
},
iotcentral package-2022-10-31-preview has duplicate
"x-ms-discriminator-value": "command"
inheriting fromTileConfiguration
. Based on the naming conventions, I think you may want to make the second"x-ms-discriminator-value": "commandTile"
.I discovered this while working on Azure/azure-sdk-for-rust#1414.
The text was updated successfully, but these errors were encountered: