missing-x-ms-identifiers
@azure-tools/typespec-azure-resource-manager/missing-x-ms-identifiersArray properties should describe their identifying properties with x-ms-identifiers. Decorate the property with @OpenAPI.extension(“x-ms-identifiers”, #[id-prop]) where “id-prop” is a list of the names of identifying properties in the item type.
@azure-tools/typespec-azure-resource-manager/missing-x-ms-identifiersArray of models must explicity define which keys are used as identifiers using the @identifiers decorator.
❌ Incorrect
Section titled “❌ Incorrect”model Address { city: string; street: string;}
model ResourceProperties { array: Address[];}✅ Correct
Section titled “✅ Correct”model ResourceProperties { @identifiers(#["city", "street"]) array: Address[];}