microsoft / microsoft/OpenAPI.NET
OpenApiComparer is not implemented
Chưa có ai nhận issue này.
- Ngôn ngữ chính
- C#
- Star
- 1.6k
- Fork
- 286
- Merge trung bình
- 6 giờ 38 phút
- Pull request đã merge (30 ngày)
- 35
Mô tả
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.
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Hướng nghiên cứu
Bắt đầu bằng cách đọc src/Microsoft.OpenApi/Services/OpenApiComparer.cs và kiểm tra phần triển khai hợp lệ trong branch vnext. Xác định xem hướng giải quyết dự kiến là xóa method, khiến method ném exception, hay đưa phần triển khai của vnext sang; hoàn tất khi OpenApiComparer không còn âm thầm trả về kết quả rỗng cho một phép so sánh.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- csharp, openapi
- Lĩnh vực
- api
- Loại issue
- Lỗi
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 35/100