Error contains no link to Problem line in Swagger
- Ngôn ngữ chính
- C#
- Star
- 290
- Fork
- 50
- Merge trung bình
- 5 ngày 13 giờ
- Pull request đã merge (30 ngày)
- 5
Mô tả
Validation failure does not contain the problem line of code in the link. It opens the top of the file instead.
title: 'No potential breaking changes',
summary: 'Compared to the target branch (**main**), this pull request introduces:\n' +
'\n' +
' :white_check_mark: **0** new errors\n' +
'\n' +
' :white_check_mark: **0** new warnings\n' +
'\n',
text: '### The following files look to be newly added in this PR:\n' +
'* [specification/deviceprovisioningservices/resource-manager/Microsoft.Devices/preview/2022-08-07/iotdps.json]([https://github.com/Azure/azure-rest-api-specs/blob/e57017bcbb5450d587bbbb316ea30ad71af706af/specification/deviceprovisioningservices/resource-manager/Microsoft.Devices/preview/2022-08-07/iotdps.json)\n'](https://github.com/Azure/azure-rest-api-specs/blob/e57017bcbb5450d587bbbb316ea30ad71af706af/specification/deviceprovisioningservices/resource-manager/Microsoft.Devices/preview/2022-08-07/iotdps.json)/n') +
'
\n' +
'**There were no files containing new errors or warnings.**\n' +
'\n' +
'
\n' +
'Thanks for using breaking change tool to review.\n' +
'If you encounter any issue(s), please open issue(s) at https://github.com/Azure/openapi-diff/issues.'
}
Hướng dẫn đóng góp
Hướng nghiên cứu
Bắt đầu bằng cách tái hiện lỗi xác thực bằng ví dụ Swagger/OpenAPI trong issue và theo dõi cách liên kết được tạo ra được xây dựng. Công việc được xem là hoàn tất khi liên kết mở dòng mã nguồn chứa vấn đề thay vì phần đầu của tệp; không có tệp hoặc bài kiểm thử cụ thể nào được nêu, vì vậy trước tiên hãy kiểm tra các điểm vào của quá trình xác thực và báo cáo lỗi.
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
- Lĩnh vực
- cli
- 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