Skip to content

[Schema Inaccuracy] Request field new_owner of repository transfer endpoint not marked as required #155

Open
@pluehne

Description

@pluehne

Schema Inaccuracy

The repos/transfer operation for transferring repositories has a new_owner property in its request body to designate the new owner of the repository:

new_owner:
  type: string
  description: "**Required:** The username or organization name the
    repository will be transferred to."

As the documentation states, this field is required (which makes sense). However, this is not reflected by the specification, as the request body object doesn’t declare any fields to be required.

Expected

I’d expect the requestBody schema to include

required:
- new_owner

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions