[Schema Inaccuracy] webhook-code-scanning-alert-reopened sets alert field as nullable
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 55/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 停滞
- 技術スタック
- openapi, typescript
- 領域
- api
調査の方向性
まず、参照されている ghec.json の説明内で webhook-code-scanning-alert-reopened スキーマを見つけ、その alert フィールドを他の webhook-code-scanning-alert-* スキーマと比較します。alert が nullable ではなくなり、結果のスキーマが期待される @octokit/openapi-webhooks-types-ghec TypeScript 型をサポートすれば、変更は完了です。
索引モデルが issue の本文から書いたものです。
説明
Schema Inaccuracy
The webhook-code-scanning-alert-reopened schema component sets its alert field as "nullable": true. This is likely a schema inaccuracy for the following reasons:
- The
alertis the subject of the webhook - something that doesn't exist cannot be 'reopened'. - All other
webhook-code-scanning-alert-*webhook event payloads setalertas not-nullable.
Expected
The alert field of the webhook-code-scanning-alert-reopened schema should not be set as "nullable": true
Reproduction Steps
None - observed by reviewing https://raw.githubusercontent.com/github/rest-api-description/refs/heads/main/descriptions/ghec/ghec.json and trying to use @octokit/openapi-webhooks-types-ghec (which depends on the schema data) in TypeScript.
- 主要言語
- 言語のデータがありません
- スター
- 1.6k
- フォーク
- 342
- 平均マージ
- 2時間 23分
- マージ済み PR(30日)
- 57
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
github/rest-api-description のほかの issue
-
feature
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
github/rest-api-description#7220 ·
-
feature
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
github/rest-api-description#7201 ·
-
feature
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
github/rest-api-description#7163 ·
-
feature
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
github/rest-api-description#7162 ·
-
feature
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
github/rest-api-description#7135 ·
github/rest-api-description の issue をすべて見る
似ている issue
-
schema_dict_to_pydantic_model TypeError on JSON Schema type arrays → extract falls back to free-text オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
browser-use/browser-use#5904 ·
-
type: enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
ynput/ayon-python-api#363 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
bug severity:low
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100