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

Lines changed: 406 additions & 0 deletions

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).",

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

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44742,6 +44742,19 @@ paths:
4474244742
- direct
4474344743
- all
4474444744
default: all
44745+
- name: permission
44746+
description: Filter collaborators by the permissions they have on the repository.
44747+
If not specified, all collaborators will be returned.
44748+
in: query
44749+
required: false
44750+
schema:
44751+
type: string
44752+
enum:
44753+
- pull
44754+
- triage
44755+
- push
44756+
- maintain
44757+
- admin
4474544758
- *12
4474644759
- *30
4474744760
responses:

descriptions-next/ghes-3.2/dereferenced/ghes-3.2.deref.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200240,6 +200240,22 @@
200240200240
"default": "all"
200241200241
}
200242200242
},
200243+
{
200244+
"name": "permission",
200245+
"description": "Filter collaborators by the permissions they have on the repository. If not specified, all collaborators will be returned.",
200246+
"in": "query",
200247+
"required": false,
200248+
"schema": {
200249+
"type": "string",
200250+
"enum": [
200251+
"pull",
200252+
"triage",
200253+
"push",
200254+
"maintain",
200255+
"admin"
200256+
]
200257+
}
200258+
},
200243200259
{
200244200260
"name": "per_page",
200245200261
"description": "The number of results per page (max 100).",

descriptions-next/ghes-3.2/dereferenced/ghes-3.2.deref.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37383,6 +37383,19 @@ paths:
3738337383
- direct
3738437384
- all
3738537385
default: all
37386+
- name: permission
37387+
description: Filter collaborators by the permissions they have on the repository.
37388+
If not specified, all collaborators will be returned.
37389+
in: query
37390+
required: false
37391+
schema:
37392+
type: string
37393+
enum:
37394+
- pull
37395+
- triage
37396+
- push
37397+
- maintain
37398+
- admin
3738637399
- *5
3738737400
- *6
3738837401
responses:

descriptions-next/ghes-3.2/ghes-3.2.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25136,6 +25136,22 @@
2513625136
"default": "all"
2513725137
}
2513825138
},
25139+
{
25140+
"name": "permission",
25141+
"description": "Filter collaborators by the permissions they have on the repository. If not specified, all collaborators will be returned.",
25142+
"in": "query",
25143+
"required": false,
25144+
"schema": {
25145+
"type": "string",
25146+
"enum": [
25147+
"pull",
25148+
"triage",
25149+
"push",
25150+
"maintain",
25151+
"admin"
25152+
]
25153+
}
25154+
},
2513925155
{
2514025156
"$ref": "#/components/parameters/per-page"
2514125157
},

descriptions-next/ghes-3.2/ghes-3.2.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18300,6 +18300,19 @@ paths:
1830018300
- direct
1830118301
- all
1830218302
default: all
18303+
- name: permission
18304+
description: Filter collaborators by the permissions they have on the repository.
18305+
If not specified, all collaborators will be returned.
18306+
in: query
18307+
required: false
18308+
schema:
18309+
type: string
18310+
enum:
18311+
- pull
18312+
- triage
18313+
- push
18314+
- maintain
18315+
- admin
1830318316
- "$ref": "#/components/parameters/per-page"
1830418317
- "$ref": "#/components/parameters/page"
1830518318
responses:

0 commit comments

Comments
 (0)