Azure / Azure/openapi-diff

missing docs for rule 1047 XmsEnumChanged

未關閉
#282 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
C#
星號
290
分支
50
平均合併
5 天 13 小時
30 天內合併 PR
5

描述

`docUrl` of https://github.com/Azure/openapi-diff/tree/master/docs/rules/1047.md ends up as 404 File not found.

``` json
{
"id": "1047",
"code": "XmsEnumChanged",
"message": "The new version has a different x-ms-enum 'name' than the previous one.",
"old": {
"ref": "file:///C:/Users/cataggar/ms/azure-rest-api-specs-pr/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-03-01/vmware.json#/definitions/VirtualMachineRestrictMovement/properties/restrictMovement",
"path": "definitions.VirtualMachineRestrictMovement.properties.restrictMovement",
"location": "file:///C:/Users/cataggar/ms/azure-rest-api-specs-pr/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-03-01/vmware.json:7571:9"
},
"new": {
"ref": "file:///C:/Users/cataggar/ms/azure-rest-api-specs-pr/specification/vmware/resource-manager/Microsoft.AVS/preview/2023-09-01-preview/vmware.json#/definitions/VirtualMachineRestrictMovement/properties/restrictMovement",
"path": "definitions.VirtualMachineRestrictMovement.properties.restrictMovement",
"location": "file:///C:/Users/cataggar/ms/azure-rest-api-specs-pr/specification/vmware/resource-manager/Microsoft.AVS/preview/2023-09-01-preview/vmware.json:9503:9"
},
"type": "Error",
"docUrl": "https://github.com/Azure/openapi-diff/tree/master/docs/rules/1047.md",
"mode": "Update"
},
```

貢獻指南

開啟貢獻指南

研究方向

從缺少的 docs/rules/1047.md 頁面和 issue 中的規則輸出開始,特別注意程式碼 XmsEnumChanged 及其訊息。完成的標準是該路徑下存在規則文件,且回報的 docUrl 不再回傳 404。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
csharp
領域
documentation
Issue 類型
文件
難度
2/5
預估耗時
1-3 小時
活躍度
停滯
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。