Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

[Schema Inaccuracy] `/repos/{owner}/{repo}/pulls/comments/{comment_id}` actually has nullable `user`

オープン
#5,739 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
55/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
停滞
技術スタック
openapi
領域
api

調査の方向性

/repos/{owner}/{repo}/pulls/comments/{comment_id} の OpenAPI スキーマエントリを見つけ、user フィールドが必須としてどのようにマークされているかを確認します。user が必須ではなく nullable になるようにスキーマを更新し、その後 description を検証して、user が null の example response が正しく表現されていることを確認します。

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

説明

documentation

Schema Inaccuracy

Pull Requests comments claim to have a non-nullable user (the field is marked as "required") yet this field is actually nullable.

Expected

The field user should not be marked as required.

Reproduction Steps

/repos/ocaml/ocaml/pulls/comments/1758736814 which has:

...
  "user": null,
...
主要言語
言語のデータがありません
スター
1.6k
フォーク
342
平均マージ
2時間 23分
マージ済み PR(30日)
57

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

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

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

github/rest-api-description のほかの issue

github/rest-api-description の issue をすべて見る

似ている issue

Backend & API Design の issue をもっと見る

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

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