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

[Schema Inaccuracy] Missing field in schema for User: suspended_at

Open
#5,667 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
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
github, openapi
Domain
api

Research direction

Start with the OpenAPI paths for /user/{account_id}, its 200 response, and the private-user and public-user schemas. Reproduce the discrepancy with gh api /user/14513 against GHES 3.17, then verify that both applicable schemas represent the returned suspended_at field.

Written by the indexing model from the issue text.

Description

Schema Inaccuracy

This is the API

#/paths/~1user~1{account_id}/get

These are the two possible types for the response

#/paths/~1user~1{account_id}/get/responses/200/content/application~1json/schema/oneOf/0

referencing

#/components/schemas/private-user

or

#/paths/~1user~1{account_id}/get/responses/200/content/application~1json/schema/oneOf/1

referencing

#/components/schemas/public-user

On GHES 3.17, the API call returns a field suspended_at that's not in the schema.

Expected

The schema contains that field.

Reproduction Steps

With GH CLI, run something like this against GHES

gh api /user/14513
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.