[Schema Inaccuracy] Missing field in schema for User: suspended_at
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from github/rest-api-description
-
feature
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
github/rest-api-description#7220 ·
-
feature
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
github/rest-api-description#7201 ·
-
feature
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
github/rest-api-description#7163 ·
-
feature
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
github/rest-api-description#7162 ·
-
feature
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
github/rest-api-description#7135 ·
All issues in github/rest-api-description
Similar issues
-
Area: Excel support
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
orbeon/orbeon-forms#7893 ·
-
essnmx good first issue
Difficulty 1/5 Under an hour Newbie friendliness 95/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
yeti-platform/yeti#1380 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
modelcontextprotocol/python-sdk#3566 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
griptape-ai/griptape#2353 ·