Skip to content

Commit 2b0ba12

Browse files
authored
Merge pull request #1539 from github/openapi-update-c1ca994ec0fdcb4ff9853c6b8b1a2959e0918a0e4c59d869aa154294501aacc1
Update OpenAPI 3.1 Descriptions
2 parents 27e66a8 + 8af66e7 commit 2b0ba12

28 files changed

+406
-0
lines changed

descriptions-next/api.github.com/api.github.com.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29188,6 +29188,22 @@
2918829188
"default": "all"
2918929189
}
2919029190
},
29191+
{
29192+
"name": "permission",
29193+
"description": "Filter collaborators by the permissions they have on the repository. If not specified, all collaborators will be returned.",
29194+
"in": "query",
29195+
"required": false,
29196+
"schema": {
29197+
"type": "string",
29198+
"enum": [
29199+
"pull",
29200+
"triage",
29201+
"push",
29202+
"maintain",
29203+
"admin"
29204+
]
29205+
}
29206+
},
2919129207
{
2919229208
"$ref": "#/components/parameters/per-page"
2919329209
},

descriptions-next/api.github.com/api.github.com.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21061,6 +21061,19 @@ paths:
2106121061
- direct
2106221062
- all
2106321063
default: all
21064+
- name: permission
21065+
description: Filter collaborators by the permissions they have on the repository.
21066+
If not specified, all collaborators will be returned.
21067+
in: query
21068+
required: false
21069+
schema:
21070+
type: string
21071+
enum:
21072+
- pull
21073+
- triage
21074+
- push
21075+
- maintain
21076+
- admin
2106421077
- "$ref": "#/components/parameters/per-page"
2106521078
- "$ref": "#/components/parameters/page"
2106621079
responses:

descriptions-next/api.github.com/dereferenced/api.github.com.deref.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257394,6 +257394,22 @@
257394257394
"default": "all"
257395257395
}
257396257396
},
257397+
{
257398+
"name": "permission",
257399+
"description": "Filter collaborators by the permissions they have on the repository. If not specified, all collaborators will be returned.",
257400+
"in": "query",
257401+
"required": false,
257402+
"schema": {
257403+
"type": "string",
257404+
"enum": [
257405+
"pull",
257406+
"triage",
257407+
"push",
257408+
"maintain",
257409+
"admin"
257410+
]
257411+
}
257412+
},
257397257413
{
257398257414
"name": "per_page",
257399257415
"description": "The number of results per page (max 100).",

0 commit comments

Comments
 (0)