Azure / Azure/openapi-diff

[RULE 1041] AddedPropertyInResponse shoul suggest adding "readonly true"

未关闭
#99 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
Enhancement planned
主要语言
C#
星标
290
派生
50
平均合并
5 天 13 小时
30 天内合并 PR
5

描述

"Adding optional property in response" will cause SDK breaking changes only in case of GET-PUT. It's possible to avoid such scenario if the property is marked as "read only = true". The error/warning message should suggest adding it.

贡献指南

打开贡献指南

调研方向

Start with the implementation of RULE 1041, AddedPropertyInResponse, and locate where its error or warning message is assembled. Update the diagnostic so it suggests marking the added response property as read-only, then verify the message using the repository's existing rule or command-line checks.

由索引模型根据 Issue 内容生成。

评估

技术栈
csharp
领域
cli
Issue 类型
功能
难度
2/5
预计耗时
1-3 小时
活跃度
停滞
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。