Azure / Azure/openapi-diff

[Rule] Allowed values for an enum have changed

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

説明

Enum “foo” had allowed values as “val1” and “val2” in v1 of API. If now, the values allowed/accepted by the service are “val1”, “val2” and “val3”, client will fail to de-serialize if “val3” comes back in the response.

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

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

調査の方向性

Start by reproducing the issue with two OpenAPI specifications where enum “foo” gains “val3”, then trace the command-line tool’s rule comparison for allowed enum values. Done means the change is reported when a newer specification accepts a value that the earlier one did not, covering the described deserialization risk.

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

評価

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

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

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