Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

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

Open
#5,739 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
55/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Stale
Tech stack
openapi
Domain
api

Research direction

Locate the OpenAPI schema entry for /repos/{owner}/{repo}/pulls/comments/{comment_id} and inspect how the user field is marked as required. Update the schema so user is nullable rather than required, then validate the description and confirm the example response with a null user is represented correctly.

Written by the indexing model from the issue text.

Description

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,
...
Dominant language
No language data
Stars
1.6k
Forks
342
Avg merge
2h 23m
Merged PRs (30d)
57

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from github/rest-api-description

All issues in github/rest-api-description

Similar issues

More Backend & API Design issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.