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

[BUG]: Package Model is missing repository property #2957

Open
1 task done
leorg99 opened this issue Jul 26, 2024 · 0 comments
Open
1 task done

[BUG]: Package Model is missing repository property #2957

leorg99 opened this issue Jul 26, 2024 · 0 comments
Labels
Status: Up for grabs Issues that are ready to be worked on by anyone Type: Bug Something isn't working as documented

Comments

@leorg99
Copy link

leorg99 commented Jul 26, 2024

What happened?

The GitHub Rest API defines the package response having a repository property:

jq -r '.components.schemas.package | .properties |=({repository})'

Output:

{
  "title": "Package",
  "description": "A software package",
  "type": "object",
  "properties": {
    "repository": {
      "$ref": "#/components/schemas/nullable-minimal-repository"
    }
  }
}

This is missing from the Package model.

Having this allows associating packages to a repository.

Versions

Octokit.net v13.0.1

Relevant log output

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@leorg99 leorg99 added Status: Triage This is being looked at and prioritized Type: Bug Something isn't working as documented labels Jul 26, 2024
@kfcampbell kfcampbell moved this from 🆕 Triage to 🔥 Backlog in 🧰 Octokit Active Jul 29, 2024
@kfcampbell kfcampbell added Status: Up for grabs Issues that are ready to be worked on by anyone and removed Status: Triage This is being looked at and prioritized labels Jul 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Up for grabs Issues that are ready to be worked on by anyone Type: Bug Something isn't working as documented
Projects
Status: 🔥 Backlog
Development

No branches or pull requests

2 participants