octokit / octokit/plugin-enterprise-cloud.js
[BUG]: missing route /orgs/:org/repos
Open
Nobody has claimed this yet.
Status: Triage
Type: Bug
- Dominant language
- TypeScript
- Stars
- 8
- Forks
- 10
- PR merge metrics
- No merged PRs in 30d
Description
What happened?
The /orgs/{org}/repos route accepts an additional internal repository visibility on top of public and internal. The generated typescript type is currently public | private | undefined and doesn't allow internal.
Versions
@octokit/plugin-enterprise-cloud: 13.0.0
Node: v20.11.0
Relevant log output
Code of Conduct
- I agree to follow this project's Code of Conduct
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.
Research direction
Start by locating the generated TypeScript definition for the /orgs/{org}/repos route and inspect its repository-visibility type. Update the accepted values so internal is represented, then verify that the generated type permits the route's documented visibility options.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- api
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 55/100