Open thomas11 opened 1 month ago
https://github.com/Azure/azure-rest-api-specs/blob/main/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/preview/2024-04-01-preview/cognitiveservices.json
2024-04-01-preview
The property is defined as such:
"contentFilters": { "type": "array", "items": { "$ref": "#/definitions/RaiPolicyContentFilter" }, "x-ms-identifiers": [ "name" ], "description": "The list of Content Filters." }
That should mean that name is unique and sufficient to uniquely identify a filter. But Azure's own example shows that it's not unique. The combination of name and source probably is?
name
source
x-ms-identifiers contains a combination of properties that uniquely identify content filters.
x-ms-identifiers
x-ms-identifiers contains a property whose values are shared between content filters.
visible in the spec
No response
@tianxin-ms Please help have a look, thank you.
API Spec link
https://github.com/Azure/azure-rest-api-specs/blob/main/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/preview/2024-04-01-preview/cognitiveservices.json
API Spec version
2024-04-01-preview
Describe the bug
The property is defined as such:
That should mean that
name
is unique and sufficient to uniquely identify a filter. But Azure's own example shows that it's not unique. The combination ofname
andsource
probably is?Expected behavior
x-ms-identifiers
contains a combination of properties that uniquely identify content filters.Actual behavior
x-ms-identifiers
contains a property whose values are shared between content filters.Reproduction Steps
visible in the spec
Environment
No response