No difference reported for required property changed to optional
オープン
bug
- 主要言語
- C#
- スター
- 290
- フォーク
- 50
- 平均マージ
- 5日 13時間
- マージ済み PR(30日)
- 5
説明
Openapi-diff does not report a required property that was changed to optional -- removed from the schema "required" array. Changing a required property to optional in an output schema could cause breaking changes if a client relies on a property always being present in a response (because it was marked "required") and the property is then omitted from some responses in the new version.
コントリビューションガイド
調査の方向性
コマンドラインツールの OpenAPI スキーマ比較から始め、スキーマの "required" 配列がどのように扱われるかを追跡します。2 つの仕様で報告された required から optional への遷移を再現し、その後、ツールがその変更を breaking として報告することを確認します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- csharp
- 領域
- api, cli
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 42/100