[Lint] report warning if resource type key is not read-only in ResourceCreateOrReplace template #2352
Labels
feature
New feature or request
lib:azure-resource-manager
Issues for @azure-tools/typespec-azure-core library
Milestone
As we offlined discussed this is a real case in contentsafety , for Azure template
ResourceCreateOrReplace
it would lift the key properties to method level as path parameters, so there would exist duplications between path paramter and request body property and it's better to add a linter to limit the key property as read-only so that we could guide spec author without duplications.The text was updated successfully, but these errors were encountered: