Azure/azure-rest-api-specs

[BUG] [sentinel@2022-10-01-preview] the `FusionAlertRuleTemplateProperties.Description` `.lastModifiedUtc` , `severity` and `.DisplayName` are read-only but not specified

Opened this issue · 1 comments

API Spec link

API Spec version

2022-10-01-preview

Describe the bug

The property is read-only on the service side, try to contains it in payload will result in

unexpected status 400 (400 Bad Request) with error: BadRequest: Read-only property 'description' cannot be assigned. Path 'properties.description'

However it was not specified in Swagger.

Expected behavior

It should have a "readonly:true" specified

Actual behavior

but it does not

Reproduction Steps

call the API with "description" specified.

Environment

No response

@anat-gilenson Please help take a look, thanks.