Skip to content

Commit b1364b0

Browse files
Updating OpenAPI descriptions (#17294)
* Updating OpenAPI descriptions * Add decorated OpenAPI schema files
1 parent b1a2184 commit b1364b0

16 files changed

Lines changed: 353 additions & 430 deletions

lib/rest/static/decorated/api.github.com.json

Lines changed: 21 additions & 21 deletions
Large diffs are not rendered by default.

lib/rest/static/decorated/ghes-2.18.json

Lines changed: 8 additions & 8 deletions
Large diffs are not rendered by default.

lib/rest/static/decorated/ghes-2.19.json

Lines changed: 8 additions & 8 deletions
Large diffs are not rendered by default.

lib/rest/static/decorated/ghes-2.20.json

Lines changed: 8 additions & 8 deletions
Large diffs are not rendered by default.

lib/rest/static/decorated/ghes-2.21.json

Lines changed: 8 additions & 8 deletions
Large diffs are not rendered by default.

lib/rest/static/decorated/ghes-2.22.json

Lines changed: 17 additions & 17 deletions
Large diffs are not rendered by default.

lib/rest/static/decorated/ghes-3.0.json

Lines changed: 17 additions & 17 deletions
Large diffs are not rendered by default.

lib/rest/static/decorated/github.ae.json

Lines changed: 9 additions & 9 deletions
Large diffs are not rendered by default.

lib/rest/static/dereferenced/api.github.com.deref.json

Lines changed: 73 additions & 29 deletions
Large diffs are not rendered by default.

lib/rest/static/dereferenced/ghes-2.18.deref.json

Lines changed: 19 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -32995,7 +32995,7 @@
3299532995
"/meta": {
3299632996
"get": {
3299732997
"summary": "Get GitHub Enterprise Server meta information",
32998-
"description": "This endpoint provides a list of GitHub's IP addresses. For more information, see \"[About GitHub's IP addresses](https://help.github.com/articles/about-github-s-ip-addresses/).\"",
32998+
"description": "",
3299932999
"tags": [
3300033000
"meta"
3300133001
],
@@ -33021,12 +33021,13 @@
3302133021
"type": "boolean",
3302233022
"example": true
3302333023
},
33024+
"installed_version": {
33025+
"type": "string",
33026+
"example": "2.18.0"
33027+
},
3302433028
"github_services_sha": {
3302533029
"type": "string",
3302633030
"example": "3a0f86fb8db8eea7ccbb9a95f325ddbedfb25e15"
33027-
},
33028-
"installed_version": {
33029-
"type": "string"
3303033031
}
3303133032
},
3303233033
"required": [
@@ -37482,7 +37483,8 @@
3748237483
"unread": true,
3748337484
"updated_at": "2014-11-07T22:01:45Z",
3748437485
"last_read_at": "2014-11-07T22:01:45Z",
37485-
"url": "https://api.github.com/notifications/threads/1"
37486+
"url": "https://api.github.com/notifications/threads/1",
37487+
"subscription_url": "https://api.github.com/notifications/threads/1/subscription"
3748637488
}
3748737489
]
3748837490
}
@@ -39368,7 +39370,8 @@
3936839370
"unread": true,
3936939371
"updated_at": "2014-11-07T22:01:45Z",
3937039372
"last_read_at": "2014-11-07T22:01:45Z",
39371-
"url": "https://api.github.com/notifications/threads/1"
39373+
"url": "https://api.github.com/notifications/threads/1",
39374+
"subscription_url": "https://api.github.com/notifications/threads/1/subscription"
3937239375
}
3937339376
}
3937439377
}
@@ -120286,15 +120289,17 @@
120286120289
"parents": [
120287120290
{
120288120291
"url": "https://api.github.com/repos/octocat/Hello-World/git/commits/7d1b31e74ee336d15cbd21741bc88a537ed063a0",
120289-
"sha": "7d1b31e74ee336d15cbd21741bc88a537ed063a0"
120292+
"sha": "7d1b31e74ee336d15cbd21741bc88a537ed063a0",
120293+
"html_url": "https://github.com/octocat/Hello-World/commit/7d1b31e74ee336d15cbd21741bc88a537ed063a0"
120290120294
}
120291120295
],
120292120296
"verification": {
120293120297
"verified": false,
120294120298
"reason": "unsigned",
120295120299
"signature": null,
120296120300
"payload": null
120297-
}
120301+
},
120302+
"html_url": "https://github.com/octocat/Hello-World/commit/7638417db6d59f3c431d3e1f261cc637155684cd"
120298120303
}
120299120304
}
120300120305
}
@@ -120623,6 +120628,7 @@
120623120628
"sha": "7638417db6d59f3c431d3e1f261cc637155684cd",
120624120629
"node_id": "MDY6Q29tbWl0NmRjYjA5YjViNTc4NzVmMzM0ZjYxYWViZWQ2OTVlMmU0MTkzZGI1ZQ==",
120625120630
"url": "https://api.github.com/repos/octocat/Hello-World/git/commits/7638417db6d59f3c431d3e1f261cc637155684cd",
120631+
"html_url": "https://github.com/octocat/Hello-World/commit/7638417db6d59f3c431d3e1f261cc637155684cd",
120626120632
"author": {
120627120633
"date": "2014-11-07T22:01:45Z",
120628120634
"name": "Monalisa Octocat",
@@ -120641,7 +120647,8 @@
120641120647
"parents": [
120642120648
{
120643120649
"url": "https://api.github.com/repos/octocat/Hello-World/git/commits/1acc419d4d6a9ce985db7be48c6349a0475975b5",
120644-
"sha": "1acc419d4d6a9ce985db7be48c6349a0475975b5"
120650+
"sha": "1acc419d4d6a9ce985db7be48c6349a0475975b5",
120651+
"html_url": "https://github.com/octocat/Hello-World/commit/7638417db6d59f3c431d3e1f261cc637155684cd"
120645120652
}
120646120653
],
120647120654
"verification": {
@@ -162169,7 +162176,8 @@
162169162176
"unread": true,
162170162177
"updated_at": "2014-11-07T22:01:45Z",
162171162178
"last_read_at": "2014-11-07T22:01:45Z",
162172-
"url": "https://api.github.com/notifications/threads/1"
162179+
"url": "https://api.github.com/notifications/threads/1",
162180+
"subscription_url": "https://api.github.com/notifications/threads/1/subscription"
162173162181
}
162174162182
]
162175162183
}
@@ -183946,8 +183954,7 @@
183946183954
"privacy": "closed",
183947183955
"permission": "admin",
183948183956
"members_url": "https://api.github.com/teams/1/members{/member}",
183949-
"repositories_url": "https://api.github.com/teams/1/repos",
183950-
"parent": null
183957+
"repositories_url": "https://api.github.com/teams/1/repos"
183951183958
}
183952183959
]
183953183960
}

0 commit comments

Comments
 (0)