Azure / Azure/openapi-diff

Error contains no link to Problem line in Swagger

オープン
#238 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
C#
スター
290
フォーク
50
平均マージ
5日 13時間
マージ済み PR(30日)
5

説明

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.'
}

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

まず、issue にある Swagger/OpenAPI の例を使って検証の失敗を再現し、生成されたリンクがどのように構築されるかを追跡します。完了条件は、リンクがファイルの先頭ではなく問題を含むソース行を開くことです。特定のファイルやテストは指定されていないため、まず検証とエラー報告のエントリーポイントを調べてください。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
csharp
領域
cli
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。