microsoft / microsoft/OpenAPI.NET
OpenApiComparer is not implemented
還沒有人認領這個 Issue。
- 主要語言
- C#
- 星號
- 1.6k
- 分支
- 286
- 平均合併
- 6 小時 38 分鐘
- 30 天內合併 PR
- 35
描述
Hello,
My team is using this repository to generate our OpenAPI document, and we started using the OpenApiComparer recently in our project. This method returns a value so we believed it was working until recently when after making a change this still returned an empty list.
After looking at the implementation it's quite clear that this method does nothing but it is documented as being a method that "Compares two OpenApiDocuments and returns a list of differences.".
I believe this method should be removed or should throw instead.
After looking a bit more, there seems to be a valid implementation of this in the vnext branch that was never merged into master.
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
先閱讀 src/Microsoft.OpenApi/Services/OpenApiComparer.cs,並檢查 vnext 分支中的有效實作。判斷預期的解決方案是移除該方法、讓它擲出例外,或帶入 vnext 的實作;當 OpenApiComparer 不再針對比較靜默傳回空結果時,即表示完成。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- csharp, openapi
- 領域
- api
- Issue 類型
- 缺陷
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100