Skip to content
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

[Schema Inaccuracy] /repos/{template_owner}/{template_repo}/generate wrong enabledForGitHubApps #3723

Open
georgesfarah opened this issue Jul 5, 2024 · 1 comment

Comments

@georgesfarah
Copy link

georgesfarah commented Jul 5, 2024

Schema Inaccuracy

In https://raw.githubusercontent.com/github/rest-api-description/main/descriptions/api.github.com/api.github.com.json:

the endpoint: /repos/{template_owner}/{template_repo}/generate should have enabledForGitHubApps set to true.

It's written here it's enabled for GitHub Apps:
https://docs.github.com/en/rest/authentication/endpoints-available-for-github-app-installation-access-tokens?apiVersion=2022-11-28

Expected

the endpoint: /repos/{template_owner}/{template_repo}/generate should have enabledForGitHubApps set to true.

Reproduction Steps

Go to https://raw.githubusercontent.com/github/rest-api-description/main/descriptions/api.github.com/api.github.com.json, search for the endpoint /repos/{template_owner}/{template_repo}/generate, check the enabledForGitHubApps attribute.

@shiftkey
Copy link
Member

shiftkey commented Jul 5, 2024

Thanks for the report @georgesfarah! I've reached out to the team who looks after that API to confirm this config should be set to true.

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

No branches or pull requests

2 participants