The REST API for getting a repository does not return the visibility

Hi,

The documentation for /repos/{org}/{name} at https://docs.github.com/en/enterprise-server@2.22/rest/reference/repos#get-a-repository mentions that the visibility of the repository should be returned.

However, when testing, the visibility field is not present in the JSON response. This has been tested with both public, internal & private repositories.

Is there something which I miss?

Thanks,
Damien