Open
Description
Schema Inaccuracy
List organization repositories
get "/organizations/:organization_id/repos"
Expected
There are two issues with this description...
description: The property to sort the results by.
in: query
required: false
schema:
type: string
enum:
- created
- updated
- pushed
- full_name
default: created
We also support sorting by name
. [code]
- name: direction
description: 'The order to sort by. Default: `asc` when using `full_name`,
otherwise `desc`.'
in: query
required: false
schema:
type: string
enum:
- asc
- desc
The fields that sort in ASC order are full_name
, id
, and name
. [code]
Reproduction Steps
GH_DEBUG=1 gh api -X GET --jq ".[].name" "https://api.github.com/orgs/github/repos?sort=name&per_page=100"