You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The List Public Repositories endpoint is supposed to return an array of minimal repository objects.
One of the values in such a response at a certain offset was null instead of a minimal repository object.
Expected
Schema should specify that array may contain null values and minimal repository objects, rather than only saying that it contains minimal repository objects.
Also note I have included the value of X-GitHub-Request-Id in the above response data for any GitHubbers looking into this.
D170:2F4C71:38ABFF0:3A8CE3C:67AD8F86
ctsrc
changed the title
[Schema Inaccuracy] Schema says array of objects, but response had a null value
[Schema Inaccuracy] Schema says array of objects, but response had a null value in the array alongside the objects
Feb 13, 2025
Schema Inaccuracy
https://docs.github.com/en/rest/repos/repos?apiVersion=2022-11-28#list-public-repositories
The List Public Repositories endpoint is supposed to return an array of minimal repository objects.
One of the values in such a response at a certain offset was null instead of a minimal repository object.
Expected
Schema should specify that array may contain null values and minimal repository objects, rather than only saying that it contains minimal repository objects.
Reproduction Steps
curl -i "https://api.github.com/repositories?since=263175046"
There between object with id 263175062 and object with id 263175064 is a null instead of a minimal repository object.
The text was updated successfully, but these errors were encountered: