octokit / octokit/plugin-enterprise-cloud.js

[BUG]: missing route /orgs/:org/repos

Open
#595 3 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.