Skip to content

Commit baae884

Browse files
authored
Merge pull request #1538 from github/openapi-update-a8e064789f49cb0732da45a840bd1234ee91154634ce8ad8a1ac36fe3a39a82c
Update OpenAPI 3.0 Descriptions
2 parents 2b0ba12 + 30242ec commit baae884

28 files changed

+406
-0
lines changed

descriptions/api.github.com/api.github.com.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29038,6 +29038,22 @@
2903829038
"default": "all"
2903929039
}
2904029040
},
29041+
{
29042+
"name": "permission",
29043+
"description": "Filter collaborators by the permissions they have on the repository. If not specified, all collaborators will be returned.",
29044+
"in": "query",
29045+
"required": false,
29046+
"schema": {
29047+
"type": "string",
29048+
"enum": [
29049+
"pull",
29050+
"triage",
29051+
"push",
29052+
"maintain",
29053+
"admin"
29054+
]
29055+
}
29056+
},
2904129057
{
2904229058
"$ref": "#/components/parameters/per-page"
2904329059
},

descriptions/api.github.com/api.github.com.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20989,6 +20989,19 @@ paths:
2098920989
- direct
2099020990
- all
2099120991
default: all
20992+
- name: permission
20993+
description: Filter collaborators by the permissions they have on the repository.
20994+
If not specified, all collaborators will be returned.
20995+
in: query
20996+
required: false
20997+
schema:
20998+
type: string
20999+
enum:
21000+
- pull
21001+
- triage
21002+
- push
21003+
- maintain
21004+
- admin
2099221005
- "$ref": "#/components/parameters/per-page"
2099321006
- "$ref": "#/components/parameters/page"
2099421007
responses:

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

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218454,6 +218454,22 @@
218454218454
"default": "all"
218455218455
}
218456218456
},
218457+
{
218458+
"name": "permission",
218459+
"description": "Filter collaborators by the permissions they have on the repository. If not specified, all collaborators will be returned.",
218460+
"in": "query",
218461+
"required": false,
218462+
"schema": {
218463+
"type": "string",
218464+
"enum": [
218465+
"pull",
218466+
"triage",
218467+
"push",
218468+
"maintain",
218469+
"admin"
218470+
]
218471+
}
218472+
},
218457218473
{
218458218474
"name": "per_page",
218459218475
"description": "The number of results per page (max 100).",

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

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43526,6 +43526,19 @@ paths:
4352643526
- direct
4352743527
- all
4352843528
default: all
43529+
- name: permission
43530+
description: Filter collaborators by the permissions they have on the repository.
43531+
If not specified, all collaborators will be returned.
43532+
in: query
43533+
required: false
43534+
schema:
43535+
type: string
43536+
enum:
43537+
- pull
43538+
- triage
43539+
- push
43540+
- maintain
43541+
- admin
4352943542
- *12
4353043543
- *32
4353143544
responses:

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

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170285,6 +170285,22 @@
170285170285
"default": "all"
170286170286
}
170287170287
},
170288+
{
170289+
"name": "permission",
170290+
"description": "Filter collaborators by the permissions they have on the repository. If not specified, all collaborators will be returned.",
170291+
"in": "query",
170292+
"required": false,
170293+
"schema": {
170294+
"type": "string",
170295+
"enum": [
170296+
"pull",
170297+
"triage",
170298+
"push",
170299+
"maintain",
170300+
"admin"
170301+
]
170302+
}
170303+
},
170288170304
{
170289170305
"name": "per_page",
170290170306
"description": "The number of results per page (max 100).",

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

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36358,6 +36358,19 @@ paths:
3635836358
- direct
3635936359
- all
3636036360
default: all
36361+
- name: permission
36362+
description: Filter collaborators by the permissions they have on the repository.
36363+
If not specified, all collaborators will be returned.
36364+
in: query
36365+
required: false
36366+
schema:
36367+
type: string
36368+
enum:
36369+
- pull
36370+
- triage
36371+
- push
36372+
- maintain
36373+
- admin
3636136374
- *5
3636236375
- *6
3636336376
responses:

descriptions/ghes-3.2/ghes-3.2.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25003,6 +25003,22 @@
2500325003
"default": "all"
2500425004
}
2500525005
},
25006+
{
25007+
"name": "permission",
25008+
"description": "Filter collaborators by the permissions they have on the repository. If not specified, all collaborators will be returned.",
25009+
"in": "query",
25010+
"required": false,
25011+
"schema": {
25012+
"type": "string",
25013+
"enum": [
25014+
"pull",
25015+
"triage",
25016+
"push",
25017+
"maintain",
25018+
"admin"
25019+
]
25020+
}
25021+
},
2500625022
{
2500725023
"$ref": "#/components/parameters/per-page"
2500825024
},

descriptions/ghes-3.2/ghes-3.2.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18238,6 +18238,19 @@ paths:
1823818238
- direct
1823918239
- all
1824018240
default: all
18241+
- name: permission
18242+
description: Filter collaborators by the permissions they have on the repository.
18243+
If not specified, all collaborators will be returned.
18244+
in: query
18245+
required: false
18246+
schema:
18247+
type: string
18248+
enum:
18249+
- pull
18250+
- triage
18251+
- push
18252+
- maintain
18253+
- admin
1824118254
- "$ref": "#/components/parameters/per-page"
1824218255
- "$ref": "#/components/parameters/page"
1824318256
responses:

0 commit comments

Comments
 (0)