Skip to content

[Schema Inaccuracy/Question] Can owner be null in repo-search-result-item component #549

Open
@gr2m

Description

@gr2m

Schema Inaccuracy

    repo-search-result-item:
      title: Repo Search Result Item
      description: Repo Search Result Item
      type: object
      properties:
        id:
          type: integer
        node_id:
          type: string
        # ...
        owner:
          "$ref": "#/components/schemas/nullable-simple-user"

Expected

See octokit/types.ts#338 (comment). We'd expect that owner cannot be set to null. And if it can, could you describe the use case in the property description?

Reproduction Steps

n/a

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions