Azure / Azure/openapi-diff

oad runtime exception caused by retry-after header with integer value

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

説明

The [Breaking Change (Cross-Version) check in PR 21841](https://github.com/Azure/azure-rest-api-specs/pull/21841/checks?check_run_id=11184536197) fails with an oad runtime exception:

![image](https://user-images.githubusercontent.com/85643503/217629767-0b5df2b2-c8f7-4a5e-b244-0d184ffed2a8.png)

Through local experimentation I found that the runtime exception is caused by examples that contain a `retry-after` header in the response with an integer value.

The `retry-after` header is defined in the REST API as `type: integer, format: int32` so it makes sense to specify it in the example as an integer value.

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

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

調査の方向性

Start by reproducing the Breaking Change (Cross-Version) check from PR 21841 with an example response containing an integer retry-after header. Trace the runtime exception in the openapi-diff tool and verify that the check completes successfully while preserving the integer header value.

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

評価

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

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

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