octokit.net icon indicating copy to clipboard operation
octokit.net copied to clipboard

[BUG]: Package Model is missing repository property

Open leorg99 opened this issue 7 months ago • 0 comments

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

  • [X] I agree to follow this project's Code of Conduct

leorg99 avatar Jul 26 '24 16:07 leorg99