Skip to content

[Schema Inaccuracy] Get repository content path should not be required #4754

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
szesch opened this issue Apr 16, 2025 · 0 comments
Open

[Schema Inaccuracy] Get repository content path should not be required #4754

szesch opened this issue Apr 16, 2025 · 0 comments

Comments

@szesch
Copy link

szesch commented Apr 16, 2025

Schema Inaccuracy

The get repository content API has path marked as Required but the docs state If you omit the path parameter, you will receive the contents of the repository's root directory. which would indicate path is not Required.

https://docs.github.com/en/rest/repos/contents?apiVersion=2022-11-28#get-repository-content

Expected

path should not be marked as Required

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@szesch and others